Hi David,
The first thing to ensure is that GeoServer properly knows about the
projection of your dataset. Is 27700 the native projection? And have you
set that value on the feature type editor page?
An easy way to check if everything is set up properly is the use built
in open layers map preview, available in the web admin app. From there
you can view the source and see how it is set up.
The OpenLayers folks will know better but one thing you might also try
is setting the projection on your map object.
-Justin
Dave Potts wrote:
> I have several different spatial database and shape files all in
> different srs format, I want to server them using geoserver. The
> documentation says that geoserver supports wms 1.1 which allow for
> reprojection off data.
>
> I have tried the following syntax
>
> xxxx= new Openlayers("foobar",
> "http://localhost:8080/geoserver/wms",
> {
> srs: 'EPSG:27700',
> layers: 'foo',
> 'reproject':true
> }
>
> Is this the correct syntax ?, its just that nothing seemed to happen, I
> have the logging cranked up to the highest setting, no error messages
> were logged.
>
> From the generated display, there is a reprojection issue, shapes
> appear in the wrong place.
>
> Any suggestions?
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Geoserver-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel