[geotk] Re: Get envelope for a scale

Theuns Heydenrych theunsheydenrych at gmail.com
Mon Sep 7 06:00:28 EDT 2009

Thanks Martin

I have set the Objective CRS now to EPSG:3395, and all the units are now in
When zoomed out to to the extend like in the attached map in the previous
mail i get the scale as 4.274483560268723E-5.
How to i translate this number to 1:xxx xxx format?
What exactly does this number mean, is it the size of a pixel representing
one meter?


On Mon, Sep 7, 2009 at 9:58 AM, Martin Desruisseaux <
martin.desruisseaux at geomatys.fr> wrote:

> Hello Theuns
> Theuns Heydenrych a écrit :
>> I am using a shape file of Africa, and when i display the whole of Africa
>> , i get a scale result of 4.758333333333334
> This is the kind of number that we get when the objective CRS is a
> GeographicCRS (latitude/longitude). Is the the case there? The code that I
> posted was assuming a ProjectedCRS.
>        Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geotoolkit/attachments/20090907/5975dcb5/attachment.html

More information about the Geotoolkit mailing list