[OpenLayers-Users] Problems with ScaleLine Control

Ian Turton ijturton at gmail.com
Mon Apr 20 12:50:51 EDT 2009


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/



More information about the Users mailing list