[OpenLayers-Users] Problem with polar projection on Antartica
springrider
springrider at hotmail.com
Mon May 26 13:24:34 EDT 2008
Good evening
In the framework of my project, I should be able to provide different
projections for the same layer. It concerns mainly polar projections.
I am now struggling for several hours trying to reproject a layer based on
the antartic polar sterographic projection (EPSG:3031).
Here some details on the projection :
http://nsidc.org/data/atlas/epsg_3031.html
and this is my code:
var options = {
projection: new OpenLayers.Projection("EPSG:3031"),
units: 'meters',
maxResolution: 'auto',
maxExtent: new OpenLayers.Bounds(-12400000,-12400000,12400000,12400000)
};
var map = new OpenLayers.Map('map', options);
var basemap = new OpenLayers.Layer.WMS( "test",
"http://193.43.36.238:8484/geoserver/wms?service=wms",
{layers: 'fifao:CONTINEENT_GAUL'});
map.addLayer(basemap);
map.zoomToMaxExtent();
I am using OL 2.6 but not proj4js, i don't know if it can impact.
Anyway, i don't understand why it does not work so if someone could give me
some directions or hints, i would be very grateful.
Thanks in advance
Sylvain
--
View this message in context: http://www.nabble.com/Problem-with-polar-projection-on-Antartica-tp17475860p17475860.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list