Hello,

I've been trying out GeoServer 2.1 and have run into what looks like a 
coordinate system mix up.  According to the OpenGIS WMS specification for 
1.3.0, the BBOX for EPSG:4326 should be lat then lon, but it seems Geoserver is 
doing it backwards.   Here is an excerpt:

EXAMPLE 1 A <BoundingBox> metadata element for a Layer representing the entire 
Earth in the CRS:84 Layer CRS
would be written as
<BoundingBox CRS="CRS:84" minx="-180" miny="-90" maxx="180" maxy="90">.
A BBOX parameter requesting a map of the entire Earth would be written in this 
CRS as
BBOX=-180,-90,180,90.
EXAMPLE 2 A <BoundingBox> representing the entire Earth in the EPSG:4326 Layer 
CRS would be written as
<BoundingBox CRS="EPSG:4326" minx="-90" miny="-180" maxx="90" maxy="180">.
A BBOX parameter requesting a map of the entire Earth would be written in this 
CRS as
BBOX=-90,-180,90,180.

Here is an example request that I'm doing,

http://localhost:8080/geoserver/ows?SERVICE=WMS&?VERSION=1.3.0&service=WMS&REQUEST=GetMap&CRS=EPSG:4326&LAYERS=cite:pyramid2&WIDTH=714&HEIGHT=714&FORMAT=image/png&STYLES=&TRANSPARENT=TRUE&BBOX=-90,-180,90,180

The image here shows up sideways.  It works when I do this request below, 
however.

http://localhost:8080/geoserver/ows?SERVICE=WMS&?VERSION=1.3.0&REQUEST=GetMap&CRS=EPSG:4326&LAYERS=cite:pyramid2&WIDTH=714&HEIGHT=714&FORMAT=image/png&STYLES=&TRANSPARENT=TRUE&BBOX=-180,-90,180,90

Am I doing something wrong, is this a bug, or intended behavior?

Thanks,

Eric Kangas

------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today.
http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to