Re: Работа с сервисами ArcGIS в QGIS
Добавлено: 29 янв 2015, 19:15
Сергей, вы что-то говорили про прокси, а если без него попробовать, ну или посмотреть на нем что происходит?
Геоинформационные системы (ГИС) и Дистанционное зондирование Земли
https://gis-lab.info/forum/
Код: Выделить всё
2015-01-29T19:23:24 1 warning:C:\NEXTGI~1\apps\Python27\lib\site-packages\PyQt4\uic\uiparser.py:794: PendingDeprecationWarning: This method will be removed in future versions. Use 'elem.iter()' or 'list(elem.iter())' instead.
for include in elem.getiterator("include"):
traceback: File "<string>", line 1, in <module>
File "C:/NEXTGI~1/apps/qgis/./python\qgis\utils.py", line 220, in startPlugin
plugins[packageName] = package.classFactory(iface)
File "C:\Documents and Settings\rsn\NextGIS QGIS future/python/plugins\quick_map_services\__init__.py", line 34, in classFactory
from .quick_map_services import QuickMapServices
File "C:/NEXTGI~1/apps/qgis/./python\qgis\utils.py", line 479, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "C:\Documents and Settings\rsn\NextGIS QGIS future/python/plugins\quick_map_services\quick_map_services.py", line 35, in <module>
from settings_dialog import SettingsDialog
File "C:/NEXTGI~1/apps/qgis/./python\qgis\utils.py", line 479, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "C:\Documents and Settings\rsn\NextGIS QGIS future/python/plugins\quick_map_services\settings_dialog.py", line 29, in <module>
os.path.dirname(__file__), 'settings_dialog_base.ui'))
File "C:\NEXTGI~1\apps\Python27\lib\site-packages\PyQt4\uic\__init__.py", line 200, in loadUiType
winfo = compiler.UICompiler().compileUi(uifile, code_string, from_imports)
File "C:\NEXTGI~1\apps\Python27\lib\site-packages\PyQt4\uic\Compiler\compiler.py", line 119, in compileUi
w = self.parse(input_stream)
File "C:\NEXTGI~1\apps\Python27\lib\site-packages\PyQt4\uic\uiparser.py", line 879, in parse
actor(elem)
File "C:\NEXTGI~1\apps\Python27\lib\site-packages\PyQt4\uic\uiparser.py", line 794, in readResources
for include in elem.getiterator("include"):
2015-01-29T19:28:38 1 warning:C:\NEXTGI~1\apps\Python27\lib\xml\etree\ElementTree.py:1627: DeprecationWarning: This method of XMLParser is deprecated. Define doctype() method on the TreeBuilder target.
DeprecationWarning,
traceback: File "C:/NEXTGI~1/apps/qgis/./python/plugins\identifyplus\identifyplusmodel.py", line 82, in identification
raster_objects = self._initRasterLayer(qgsMapLayer, self._qgsPoint)
File "C:/NEXTGI~1/apps/qgis/./python/plugins\identifyplus\identifyplusmodel.py", line 204, in _initRasterLayer
res = gdallocationinfoXMLOutputProcessing(data)
File "C:/NEXTGI~1/apps/qgis/./python/plugins\identifyplus\identifyplusutils.py", line 74, in gdallocationinfoXMLOutputProcessing
xmlLocationInfo = ET.fromstring(data)
File "C:\NEXTGI~1\apps\Python27\lib\xml\etree\ElementTree.py", line 1300, in XML
parser.feed(text)
File "C:\NEXTGI~1\apps\Python27\lib\xml\etree\ElementTree.py", line 1640, in feed
self._parser.Parse(data, 0)
File "..\Modules\pyexpat.c", line 839, in DefaultHandlerExpand
File "C:\NEXTGI~1\apps\Python27\lib\xml\etree\ElementTree.py", line 1611, in _default
self._XMLParser__doctype(name, pubid, system[1:-1])
Код: Выделить всё
2015-01-29T19:28:38 0 identification point 258.000000 272.000000
2015-01-29T19:28:38 0 gdallocationinfo -xml -b 1 -geoloc C:\Documents and Settings\rsn\NextGIS QGIS future/python/plugins\quick_map_services\data_sources\rosreestr_zouit\gdal_source.xml 3368175.232692 8387537.226015
2015-01-29T19:28:38 2 [b]'ascii' codec can't decode byte 0xd0 in position 295:[/b] ordinal not in range(128): Traceback (most recent call last):
File "C:/NEXTGI~1/apps/qgis/./python/plugins\identifyplus\identifyplusmodel.py", line 82, in identification
raster_objects = self._initRasterLayer(qgsMapLayer, self._qgsPoint)
File "C:/NEXTGI~1/apps/qgis/./python/plugins\identifyplus\identifyplusmodel.py", line 207, in _initRasterLayer
QgsMessageLog.logMessage(self.tr("Parsing gdallocationinfo request error<br/>") + ":\n" + res[1] + "\n" + data, u'IdentifyPlus', QgsMessageLog.CRITICAL)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 295: ordinal not in range(128)
2015-01-29T19:28:38 1 Объекты не найдены
Код: Выделить всё
gdallocationinfo -xml -b 1 -geoloc "C:\Documents and Settings\rsn\NextGIS QGIS future/python/plugins\quick_map_services\data_sources\rosreestr_zouit\gdal_source.xml" 3368175.232692 8387537.226015
Код: Выделить всё
2015-01-29T19:28:38 0 identification point 258.000000 272.000000
2015-01-29T19:28:38 0 gdallocationinfo -xml -b 1 -geoloc C:\Documents and Settings\rsn\NextGIS QGIS future/python/plugins\quick_map_services\data_sources\rosreestr_zouit\gdal_source.xml 3368175.232692 8387537.226015
2015-01-29T19:28:38 2 [b]'ascii' codec can't decode byte 0xd0 in position 295:[/b] ordinal not in range(128): Traceback (most recent call last):
Код: Выделить всё
2015-01-29T20:46:22 0 identification point 502.000000 289.000000
2015-01-29T20:46:22 0 gdallocationinfo -xml -b 1 -geoloc C:\Documents and Settings\rsn\NextGIS QGIS future/python/plugins\quick_map_services\data_sources\rosreestr_zouit\gdal_source.xml 3368380.725550 8398498.586720
2015-01-29T20:46:23 0 identification point 502.000000 289.000000
2015-01-29T20:46:23 0 gdallocationinfo -xml -b 1 -geoloc format=image/png32&crs=EPSG:3857&layers=1&layers=2&layers=3&layers=5&layers=6&layers=7&layers=9&layers=10&layers=11&layers=12&layers=13&layers=14&layers=15&layers=16&layers=18&layers=19&layers=20&layers=21&layers=22&layers=23&layers=24&styles=&styles=&styles=&styles=&styles=&styles=&styles=&styles=&styles=&styles=&styles=&styles=&styles=&styles=&styles=&styles=&styles=&styles=&styles=&styles=&styles=&url=http://maps.rosreestr.ru/arcgis/services/Cadastre/CadastreWMS/MapServer/WMSServer 3368380.725550 8398498.586720
2015-01-29T20:46:23 2 gdallocationinfo return error status<br/>:
ERROR 4: `format=image/png32&crs=EPSG:3857&layers=1&layers=2&layers=3&layers=5&layers=6&layers=7&layers=9&layers=10&layers=11&layers=12&layers=13&layers=14&layers=15&layers=16&layers=18&layers=19&layers=20&layers=21&layers=22&layers=23&layers=24&styles=&styles=&styles=&styles=&styles=&styles=&styles=&styles=&styles=&styles=&styles=&styles=&styles=&styles=&styles=&styles=&styles=&styles=&styles=&styles=&styles=&url=http://maps.rosreestr.ru/arcgis/services/Cadastre/CadastreWMS/MapServer/WMSServer' does not exist in the file system,
and is not recognised as a supported dataset name.
Код: Выделить всё
<GDAL_WMS>
<Service name="AGS">
<ServerUrl>https://pkk.rosreestr.ru/arcgis/rest/services/PKK6/ZONES/MapServer</ServerUrl>
<ImageFormat>png32</ImageFormat>
<Transparent>true</Transparent>
<ImageSR>102100</ImageSR>
<Layers>show:0</Layers>
<BBoxOrder>xyXY</BBoxOrder>
</Service>
<DataWindow>
<UpperLeftX>-20037508.34278700</UpperLeftX>
<UpperLeftY>20037508.34278700</UpperLeftY>
<LowerRightX>20037508.34278103</LowerRightX>
<LowerRightY>-20037508.34278103</LowerRightY>
<SizeX>40075016</SizeX>
<SizeY>40075016</SizeY>
</DataWindow>
<BlockSizeX>512</BlockSizeX>
<BlockSizeY>512</BlockSizeY>
<Projection>EPSG:3857</Projection>
<BandsCount>4</BandsCount>
<ClampRequests>true</ClampRequests>
<UserAgent>Mozilla/5.0</UserAgent>
<ZeroBlockHttpCodes>499,204,404</ZeroBlockHttpCodes>
<ZeroBlockOnServerException>true</ZeroBlockOnServerException>
</GDAL_WMS>