[Geoserver-devel] FW: BBOX help

Hi,

I’m having some SRS / BBOX issues with geoserver 1.5 rc2. I just migrated from v1.3 to the new version and none of my old requests / google earth integration seems to work. When I go into the demo map and look at the bbox that is generated, I seem to be getting odd coordinates:

/geoserver/wms?VERSION=1.1.1&REQUEST=GetMap&SERVICE=WMS&LAYERS=topp:sonoma_varieties&SRS=EPSG:2871&BBOX=6201061.923069478,1787490.4524590212,6541810.692464067,2126704.3522807085&WIDTH=500&HEIGHT=498&FORMAT=image/png&STYLES=&TRANSPARENT=TRUE&UNIQUEID=

These bboxes seem to work and return an image, however, when I use google earth, it generates the following bbox coordinates:

/geoserver/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:2871&WIDTH=512&HEIGHT=512&LAYERS=topp:sonoma_varieties&STYLES=varieties_style&TRANSPARENT=TRUE&FORMAT=image/png&BBOX=-122.9642789338162,38.63861910800457,-122.8660928981343,38.70567612835641

This appears to be out of bounds and fails to return an image.

Any idea as to what’s going on?

Thanks,
Dan

On the second one I believe you should be using EPSG:4326, not 2871, for the SRS. Are you using the KML reflector? Or are you using Google Earth's WMS capabilities?

Chris

Sadowski, Daniel wrote:

Hi,
I'm having some SRS / BBOX issues with geoserver 1.5 rc2. I just migrated from v1.3 to the new version and none of my old requests / google earth integration seems to work. When I go into the demo map and look at the bbox that is generated, I seem to be getting odd coordinates:
/geoserver/wms?VERSION=1.1.1&REQUEST=GetMap&SERVICE=WMS&LAYERS=topp:sonoma_varieties&SRS=EPSG:2871&BBOX=6201061.923069478,1787490.4524590212,6541810.692464067,2126704.3522807085&WIDTH=500&HEIGHT=498&FORMAT=image/png&STYLES=&TRANSPARENT=TRUE&UNIQUEID=

These bboxes seem to work and return an image, however, when I use google earth, it generates the following bbox coordinates:
/geoserver/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:2871&WIDTH=512&HEIGHT=512&LAYERS=topp:sonoma_varieties&STYLES=varieties_style&TRANSPARENT=TRUE&FORMAT=image/png&BBOX=-122.9642789338162,38.63861910800457,-122.8660928981343,38.70567612835641
This appears to be out of bounds and fails to return an image.
Any idea as to what's going on?
Thanks,
Dan

------------------------------------------------------------------------

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

------------------------------------------------------------------------

_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

--
Chris Holmes
The Open Planning Project
http://topp.openplans.org