Graticule layers improvements, for openlayers and printing
Description
The current implementation of the graticule layer has some limitations:
- only supports lat - lon grids
- does not support labels
- cannot be printed
We would like to:
- support metric grids, at least for mercator (EPSG:3857) and UTM projections (we won't implement full UTM grids (https://www.dmap.co.uk/utmworld.htm), for simplicity we will assume a regular grid, without the irregular zones (e.g. 31, 32, etc.)
- add optional labels for x and y lines, with configurable styling
- add printing support
The openlayers Graticule layer only supports lat - lon grids, so we will need to either:
- extend / override it with a MapStore implementation
- use another library (e.g. https://github.com/Viglino/ol-ext)
Connected to https://github.com/geosolutions-it/mapfish-print/issues/35
What kind of improvement you want to add? (check one with "x", remove the others)
- [x] Minor changes to existing features
- [ ] Code style update (formatting, local variables)
- [ ] Refactoring (no functional changes, no api changes)
- [ ] Build related changes
- [ ] CI related changes
- [ ] Other... Please describe:
Other useful information
@tdipisa this is not included by default as a panel in default print. Is a separate plug-in, available but not included in the build. Should we include? I don't know if makes sense to make the print plugin to complex for the user as it's default implementation for testing.
Let's enable it @offtherailz for testing in master and test scenario definition (fyi @ElenaGallo).
We should include it as a panel, instead of plugin, to avoid to reconfigure all the projects depending. This requires a small work on client. Same for the other task
@tdipisa I can not test the PrintGraticule plugin on MS because it is not present in the plugins.js file and the plugin is not present on the Plugin doc.
Missing documentation and tests will be done with #8596