[josm-dev] pixel per degree

Dirk Stöcker openstreetmap at dstoecker.de
Mon Sep 19 16:33:28 BST 2011


On Mon, 19 Sep 2011, Paul Hartmann wrote:

> Why is it called "pixelPerDegree" in ImageryInfo? Apparently, the value
> is in pixels per unit in projected space ("pixelPerEastNorth").

Which is nonsense as well. It should not be relative to projected 
coordinates. I think the sole idea behind this is the bookmark feature and 
this should not depend on projection.

This is very old code (before we had proper projection support) and 
probably neeeds to be reworked. The idea of bookmarks is to have a 
cross-session caching possibility.

Ciao
-- 
http://www.dstoecker.eu/ (PGP key available)




More information about the josm-dev mailing list