[OpenLayers-Users] Problems with ScaleLine Control

Gorka López Rivacoba gorka.lopez.rivacoba at gmail.com
Tue Apr 21 02:27:15 EDT 2009


Firstly I thought that, but it clearly appears in EPSG:4326, 0,001m and
0,01ft in the scale bar

2009/4/20 Ian Turton <ijturton at gmail.com>

> On Mon, Apr 20, 2009 at 3:35 AM, Gorka López Rivacoba
> <gorka.lopez.rivacoba at gmail.com> wrote:
> > Hello,
> >
> > I have two similar applications, one in EPSG:23030 (ED50 / UTM zone 30N)
> and
> > the other in EPSG:4326 (WGS 84)
> >
> > But when I put a ScaleLine control the displayed information of this
> control
> > in EPSG:4326 is not ok (the scale is very small). For example:
> >
> > EPSG:23030
> >
> > Reolution: 0,7
> > Scale: 2,2cm = 50 meters
> >
> > EPSG:4326
> >
> > Resolution: 0.00000536441802978515
> > Scale: 18cm = 0,001 meter
>
> I think this is because 4326 is in degrees not meters - so the scale
> line is showing 0.001 degrees (not meters).
>
> Ian
> --
>
> Ian Turton
> http://www.geotools.org
> http://pennspace.blogspot.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20090421/0cd42049/attachment.html


More information about the Users mailing list