[OpenLayers-Users] Problem with polar projection on Antartica

Eric Lemoine eric.c2c at gmail.com
Wed May 28 16:14:30 EDT 2008


On Tue, May 27, 2008 at 11:29 AM, springrider <springrider at hotmail.com> wrote:
>
> Thanks Jon for your reply
>
> Sorry I was not really explicit about the result i had.
>
> This is the request which is sent to my Geoserver:
> GET /geoserver/wms?service=wms&LAYERS=fifao:CONTINEENT_GAUL
> &SRS=EPSG:3031&VERSION=1.1.1&REQUEST=GetMap&STYLES=
> &EXCEPTIONS=application%2Fvnd.ogc.se_inimage&FORMAT=image%2Fjpeg
> &BBOX=-12399999.999999989,8762666.666666664,8762666.66666668,29925333.333333332
> &WIDTH=256&HEIGHT=256

Do you think the rounding errors are the cause of your problem?


> So the SRS to be used is correct (3031) but what is sent for the bounding
> box seems to be wrong in respect to what i have specified...
>
> As you were suggesting in one of your previous post, could it be related to
> ZoomToMaxExtent?
>
> I tried to add the projection also for the baselayer but with no results:
>        var basemap = new OpenLayers.Layer.WMS( "test",
>                                "http://193.43.36.238:8484/geoserver/wms?version=1.1.1",
>                                {layers: 'fifao:CONTINEENT_GAUL',
>                                 srs: 'EPSG:3031'});
>        basemap.addOptions({isBaseLayer: true});

You have only one base layer so no need to set things at the layer
level, map level is fine.

--
Eric



More information about the Users mailing list