On Tue, Nov 9, 2010 at 11:25 AM, BMcBride <[email protected]> wrote:
>
>
> Ian Turton wrote:
>>
>> Not sure what is wrong but I don't think it is that as GeoServer will
>> happily reproject to 900913 from 4326 when asked to.
>>
>
> Correct, GeoServer will happily reproject, but the spatial reference must be
> defined correctly if you want things to line up.  Look at the URL parameters
> in the layer preview:
> http://67.207.137.135:8080/geoserver/wms?service=WMS&version=1.1.0&request=GetMap&layers=Landsnatch:andupolygons2&styles=&bbox=8206983.5,2469329.75,8209923.0,2471867.0&width=512&height=441&srs=EPSG:4326&format=application/openlayers
> http://67.207.137.135:8080/geoserver/wms?service=WMS&version=1.1.0&request=GetMap&layers=Landsnatch:andupolygons2&styles=&bbox=8206983.5,2469329.75,8209923.0,2471867.0&width=512&height=441&srs=EPSG:4326&format=application/openlayers
> .
>
> The bbox units are definitely not degrees, but the srs is set to EPSG:4326.
> There is no way GeoServer can properly reproject this until the correct
> native SRS is set in the layer configuration.

You are quite right - I'm on a slow link here so I didn't actually go
to the server to look. I just assumed that no one would lie to their
server as to the projection their data was in and then ask on the OL
list as to why it didn't display.

Ian
-- 
Ian Turton
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to