QGIS ArcGIS REST/SERVICES Map Support Seems Kind of Broken

QGIS ArcGIS REST/SERVICES Map Support Seems Kind of Broken πŸ—ΊοΈ

Spent too long this evening trying to figure out how to run ArcGIS REST where queries in QGIS. It seems like despite the pretty new ArcGIS Rest dialogue in the software it’s kind of broken – the bounding box query doesn’t update when you pan the window, and there is no way as far as I can figure out to query with a where statement on attributes, such as YR_Built < 1820.

The thing about it is neither feature would be super difficult to fix. While I don’t have a lot of formal programming experience, I have written some QGIS plugins before. The ArcGIS REST protocol is just an Ordinary HTTP GET or Post request, you simply request the query something like this:

https://gis.dot.ny.gov/hostingny/rest/services/Roadways/Traffic_Monitoring/MapServer/1/query?where=’County=Albany’& f=json

Not rock science. The server does all the work. The data is just Geo JSON returned which QGIS has had support for years. The bounding box is set by bbox=42.5,-76,43,-76.5 etc. – QGIS should resend the query automatically whenever you move the window and not by default request either everything or a fixed bounding box.

Could I download the source code and patch myself? Probably. Although I’d worry about messing up or breaking something else and I bet QGIS requires a ton of header files that I lack to compile. A better solution might be to write a python plugin but I feel like for a lot of things that would be reinventing the wheel and be cumbersome.

The alternative is at least for small queries without the bounding box is to just download geojson data I need directly from the server using wget then loading the downloaded file directly into QGIS. But I still wish I could use the built in QGIS ArcGIS REST Browser.

Upcoming Holidays – February 27, 21

  • Six Saturdays until 8 PM Dusk πŸŒ† – Apr 10
  • Two months – Pink Moon πŸŒ• – Tuesday Apr 27
  • Two months – Arbor Day 🌳 – Tuesday Apr 27
  • Nine Saturdays until May πŸ•Š – May 1
  • 14 Saturdays until 8:30 PM Sunset ️⛱️ – Jun 5
  • 21 Saturdays until Strugeon Moon πŸŒ• – Jul 24
  • 25 Saturdays until World Mosquito Day 🐞 – Aug 21
  • 28 Saturdays until September 11th πŸ‡ΊπŸ‡Έ – Sep 11
  • 29 Saturdays until 7 PM Sunset πŸŒ† – Sep 18
  • Seven months – More Night then Day 🌌 – Monday Sep 27
  • 31 Saturdays until Average High is 65 πŸ‚ – Oct 2
  • 36 Saturdays until Daylight Savings Time Ends πŸ›₯️ – Nov 6
  • 37 Saturdays until Average Night Below Freezing 🌌 – Nov 13
  • 38 Saturdays until Regular Deer Season in Southern Zone 🦌 – Nov 20
  • Nine months – Small Business Saturday πŸ›οΈ – Saturday Nov 27
  • 40 Saturdays until Average High is 40 🌨 – Dec 4
  • 42 Saturdays until Bake Cookies Day πŸͺ – Dec 18
  • 43 Saturdays until Christmas πŸŽ… – Dec 25

Crack