-
Notifications
You must be signed in to change notification settings - Fork 16
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
New conformance for maps with scales, legend and compass #97
Comments
It seems that people talk about "the 5 elements of a map": https://reference.yourdictionary.com/resources/5-basic-parts-of-any-map.html. In my case, I came up with a title, a legend, a scale bar, a compass, a situation map, an attribution text or logo, a lat/long graticule, and a CRS grid to the map. All has been proposed in a req. class called "decorations": |
@joanma747 I imagine the graticule(s) / CRS grid could sometimes be in different coordinate system? (and sometimes multiple grids are shown, possibly also a different thickness/color for different resolution of the same grid) Extending the idea of the situation map are insets that present a zoomed in version of a small area, but still relatively small compared to the big map (that's also mentioned next to "locator map" on that yourdictionary.com page). If we consider the full map layout (especially the "title", which is rarely if ever shown on the map itself), we probably also need to consider margins and rulers showing units (as opposed to the graticule overlaid on top of the map). Those notches in the margin may have a higher resolution than the lines overlaid on top of the map for the graticule / CRS grid. yourdictionary.com also mentions the border / neatline which makes sense together with that margin. As a name for all this, I would suggest something like Cartographic Layout rather than Decorations. |
Thanks for the suggestions. I do not want to go to far with this. I'll see what I can do with all this. I'm not in favor of having a miriad of conformance classes that will make what a client could expect from a server completely unpredictable. Since the final form of this cartographic elements are at the discretion of the server, one possible accepted behavior for a server that is not able to provide the functionality is doing almost nothing or nothing at all. I'll clarify this in the requirements. |
We knowledge the complexities of this: Example: https://openlayers.org/en/latest/apidoc/module-ol_layer_Graticule-Graticule.html |
Other useful prior art link from OpenLayers: https://mapserver.org/pl/mapfile/grid.html |
Replace map-legend by legend-position and the same for the others. |
At the 125th Members Meeting OGC API - Maps SWG session in Frascati, there was a general agreement that it would make sense to defer this to an extension to take the time to gather requirements and make sure to properly cover the use cases. |
This a new req class for core
New scale parameter with values
\collections\buildings\style\night\map?legend=true|topLeft....
\collections\buildings\style\night\map?scale=true|topLeft....
\collections\buildings\style\night\map?compass=true|topLeft....
\collections\buildings\map?legend=true|topLeft....
\collections\buildings\map?scale=true|topLeft....
\collections\buildings\map?compass=true|topLeft....
This a new req class for an extension of the maps core.
\collections\buildings\style\night\legend (the legend as a renderization or a list of symbols and descriptions)
\collections\buildings\legend (the default style legend as a renderization or a list of symbols and descriptions)
This last possibility reflect the need to synchronize the styles API and the maps API.
The text was updated successfully, but these errors were encountered: