mapfish / mapfish-print

A component of MapFish for printing templated cartographic maps. This module is the Java serverside module.
http://mapfish.github.io/mapfish-print-doc/
BSD 2-Clause "Simplified" License
184 stars 417 forks source link

Scalebar coordsys #210

Closed jaykayone closed 9 years ago

jaykayone commented 9 years ago

If we use a map that is in Webmercator, the scalebar will be "wrong" as the distances in webmercator differ about 50% from reality (in the luxembourg area).

This means that we cannot use the standard scalebar. We would need to specify the coordinate system to be used for the scalebar (in this case EPSG:2169) while the map is in EPSG:3857.

See http://blogs.esri.com/esri/arcgis/2010/03/05/measuring-distances-and-areas-when-your-map-uses-the-mercator-projection/ for more information on the subject.

Or also https://github.com/camptocamp/ngeo/pull/172

jaykayone commented 9 years ago

this might be related: https://github.com/Geoportail-Luxembourg/geoportailv3/issues/689

We do specify EPSG:2169 as scalebar srs, but the resulting scalebar is not correct.