[josm-dev] pixel per degree

2011-09-19 Thread Paul Hartmann
Hi, Why is it called pixelPerDegree in ImageryInfo? Apparently, the value is in pixels per unit in projected space (pixelPerEastNorth). There is an interesting bug in ImageryLayer.getPPD(), line 86: It returns Main.getProjection().getDefaultZoomInPPD() when mapframe is null. However the

Re: [josm-dev] pixel per degree

2011-09-19 Thread Upliner
Hi, As far as I remember I inherited this name from WMSPlugin. I was somewhat confused by this name too, but haven't bothered to rename it. Maybe we should do it at last to avoid further confusion. There is may be a bug in getPPD(), but it doesn't affect anything) There is an interesting bug

Re: [josm-dev] pixel per degree

2011-09-19 Thread Dirk Stöcker
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