-
Notifications
You must be signed in to change notification settings - Fork 262
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow URL to be an object #2627
Comments
I'm not convinced that expending effort to make it easier to use the proprietary services of the Microsoft of geo is something we should do . At least ESRI should be funding it if they want it and that includes the necessary changes for consumers of the data too (which adding this in lieu of a simple URL would force them to add). |
I don't really see much difference between the services that publishers choose, XYZ raster tiles, OGC WMS, ESRI MapServer/FeatureServer, XYZ Mapbox Vector Tiles, Cloud Optimised Geotiff. While it's easier for us to say we only support one method, it limits the number of layers we can include for mappers to use. This ticket is about making life easier for us based on what we can control and what services and formats they are made available. We can't control what ESRI or each data publisher do, so the options are
|
See above.
|
As I realised in #2626 the ESRI service URLs can be quite complex, we should consider extending the schema so the URL can be provided as an object which would then be assembled by the build into the current output.
This makes it much easier for humans to create, review and modify the URL.
before
"url": "https://portal.spatial.nsw.gov.au/server/rest/services/StrataHub/MapServer/export?layers=show%3A0&imageSR={wkid}&bbox={bbox}&bboxSR={wkid}&format=png32&size={width},{height}&transparent=true&f=image&dynamicLayers=%5B%0D%0A%7B%0D%0A%22id%22%3A0%2C%0D%0A%22source%22%3A%7B%0D%0A%22type%22%3A%22mapLayer%22%2C%0D%0A%22mapLayerId%22%3A0%0D%0A%7D%2C%0D%0A%22drawingInfo%22%3A%7B%0D%0A%22renderer%22%3A%7B%0D%0A%22type%22%3A%22simple%22%2C%0D%0A%22symbol%22%3A%7B%0D%0A%22type%22%3A%22esriSFS%22%2C%0D%0A%22style%22%3A%22esriSFSSolid%22%2C%0D%0A%22color%22%3A%5B201%2C242%2C252%2C128%5D%2C%0D%0A%22outline%22%3A%7B%0D%0A%22type%22%3A%22esriSLS%22%2C%0D%0A%22style%22%3A%22esriSLSolid%22%2C%0D%0A%22color%22%3A%5B110%2C110%2C110%2C255%5D%2C%0D%0A%22width%22%3A1%0D%0A%7D%0D%0A%7D%0D%0A%7D%0D%0A%7D%0D%0A%7D%0D%0A%5D%0D%0A",
after
The text was updated successfully, but these errors were encountered: