Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-dev] uDig Scale Bar - Bug 1993

Thanks a lot Emily! I tested what you suggested in my app, as I was suffering from the same scale/utm projection bugs (I'm using Finnish TM35FIN system epsg:3067).
I confirm that it fixes the scales everywhere (map window, scalebar decoration, printed map).

-Pana


On Wed, Jul 24, 2013 at 8:27 PM, Emily Gouge <egouge@xxxxxxxxxxxxxxx> wrote:
On 24/07/2013 10:17 AM, Philip Donner wrote:
Thanks Emily for your comments. I do agree with your analysis. Also realized that correct computing depends on the coordinate
system. I'll check Lat/Lon projection to see if that could produce an accurate scalebar. Is that ETRS89 (~WGS84) ?

I believe any projection whose units are in degrees will currently work okay with the scalebar as the calculateScaleDenominator function runs a different computation in that case (so, yes to "ETRS89 (4258)").
However keep in mind that if you are zoomed out over a "large" area (100+km) the distance and scalebar computations are going to be a bit different because the distance will be different on different parts of the map.

I would highly appreciate if you can tune the formula before Sunday and our presentation. A map with a scalebar looks much more
useful than one where you have to guess the dimensions.

Wish you good luck, ph


_______________________________________________
udig-dev mailing list
udig-dev@xxxxxxxxxxxxxxxx
https://locationtech.org/mailman/listinfo/udig-dev


Back to the top