1

I am trying to add a web service (ArcGIS MapServer) in QGIS 3.10 here is the url:

https://pkk5.rosreestr.ru/arcgis/rest/services/Cadastre/BordersGKN/MapServer/

I see a list of layers, but QGIS gives the following error:

Network error: Error transferring

https://pkk5.rosreestr.ru/arcgis/rest/services/Cadastre/BordersGKN/MapServer/export?bbox=8097219.581788,8629436.355556,8242578.042442,8741170.443531&size=977,751&format=PNG32&layers=show:33&transparent=true&f=image - server replied: Bad Request

Through the browser, I examined the requests that are sent when viewing the original site. I noticed that QGIS requests are different from requests received through the browser.

Requests sent through the browser (successful):

https://pkk5.rosreestr.ru/arcgis/rest/services/Cadastre/BordersGKN/MapServer/export?layers=show%3A&dpi=96&format=PNG32&bbox=8061966.247258484%2C8688138.383019326%2C8140237.764222398%2C8766409.899983242&bboxSR=102100&imageSR=102100&size=1024%2C1024&transparent=true&f=image

1. Is it true that QGIS 3.10 does not work correctly with ArcGIS web services (MapServer)?

2. How to fix this behavior?

  • Is pkk5.rosreestr.ru the actual address of an ArcGIS Map Server? error comes from a Varnish cache server – nmtoken Jan 21 at 11:44
  • @nmtoken I'm not sure, but when I send a request in response, I get an image: pkk5.rosreestr.ru/arcgis/rest/services/Cadastre/BordersGKN/… – Comrade Che Jan 21 at 12:02
  • In your example working URL you have bboxSR=102100&imageSR=102100& which don't appear in the non-working URL. If QGIS thinks these are defaulted, but your server requires them, that might be a problem – nmtoken Jan 21 at 12:14
  • @nmtoken There is a way to manually edit QGIS layer to add this part of request? – Comrade Che Jan 21 at 12:19
  • Not that I can see, you can't append them to the service URL (as might with a WMS or WFS) because https://pkk5.rosreestr.ru/arcgis/rest/services/Cadastre/BordersGKN/MapServer is not the full stem of the request. – nmtoken Jan 21 at 12:24
2

So after comments are in...

Is it true that QGIS 3.10 does not work correctly with ArcGIS web services (MapServer)?

No, it's not true.

Your example service is expecting the bboxSR and imageSR parameters, but they are not required.

How to fix this behavior?

The service (not QGIS) has to be modified to change it's expectation for non-required parameters.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.