[josm-dev] WMTS scales - proper definition of 1m along meridian
Dirk Stöcker
openstreetmap at dstoecker.de
Fri Jul 3 09:07:36 UTC 2015
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)
More information about the josm-dev
mailing list