On Thu, 2 Jul 2015, Wiktor Niesiobedzki wrote:
Currently I'm working on WMTS support. As some of you may know (and
those who do not, I refer to
http://www.opengeospatial.org/standards/wmts) uses notion of
scaleDenominator that's crucial to tile positioning. More less -
scaleDenominator tell how many meters are on the tile per pixel.
I tried several of algorithms to get the number of meters along
meridian for current JOSM projection, the best I could find is:
On equator or on current display? NavigatableComponent (or MapView or
...) has a function to get this value for you (current display). This is
e.g. used for the zoom display in left upper corner of map.
Ciao
--
http://www.dstoecker.eu/ (PGP key available)
_______________________________________________
josm-dev mailing list
josm-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/josm-dev