[OpenLayers-Users] Projections

David Rush david at rushtone.com
Mon May 11 18:10:27 EDT 2009


Hi.  I'm new to OpenLayers, but have some experience with WMS and GIS in general.

I've got a few layers set up in Geoserver, all using the same custom projection (an Albers projection with params chosen to suit our area).

When I view them with the OpenLayers-fueled "Map Preview" in GeoServer they look "right" - lines of latitude are curved and the shape is good, as I'm used to with our projection.

However, when I create a very simple .html page using OpenLayers, my layers are stretched horizontally with flat lines of latitude - I presume they're being rendered in EPSG:4326 (geographic).

How can I get OpenLayers to use the native projection that my data's in?

David



More information about the Users mailing list