On Wed, Mar 21, 2012 at 10:39 AM, Lucas Heezen - Covadis
<[email protected]>wrote:

>  Hello,****
>
> ** **
>
> We have a oracle connection setup in Geoserver 2.1.2. We have to
> ‘reproject native to declared’ because we use REST to get layer data in our
> application.
> We force to EPSG:28992. When we do a reproject the layerdata is shifted by
> 100m to the north (known problem with RD). Now I have created a
> epsg_overrides.properties in user_projections but the layer is still
> shifted. This is de WKT I use:****
>
> 28992=PROJCS["Amersfoort / RD New", GEOGCS["Amersfoort",
> DATUM["Amersfoort",SPHEROID["Bessel 1841", 6377397.155, 299.1528128,
> AUTHORITY["EPSG","7004"]],TOWGS84[565.237, 50.0087, 465.658, -0.406857,
> 0.350733, -1.87035, 4.0812],AUTHORITY["EPSG","6289"]], PRIMEM["Greenwich",
> 0.0,AUTHORITY["EPSG","8901"]], UNIT["degree",
> 0.017453292519943295],AXIS["Geodetic longitude", EAST], AXIS["Geodetic
> latitude", NORTH],AUTHORITY["EPSG","4289"]], PROJECTION["Oblique
> Stereographic",AUTHORITY["EPSG","9809"]], PARAMETER["central_meridian",
> 5.387638888888891],PARAMETER["latitude_of_origin",
> 52.15616055555556],PARAMETER["scale_factor", 0.9999079],
> PARAMETER["false_easting", 155000.0],PARAMETER["false_northing", 463000.0],
> UNIT["m", 1.0], AXIS["Easting",EAST], AXIS["Northing", NORTH],
> AUTHORITY["EPSG","28992"]]****
>
> Am I doing something wrong?
>
If you are trying to impose a different TOWGS84 param set you need to avoid
stating
the EPSG id of the datum, as the guide suggests:
http://docs.geoserver.org/stable/en/user/advanced/crshandling/customcrs.html#override-an-official-epsg-code

Cheers
Andrea

-- 
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313
mob:    +39 339 8844549

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-------------------------------------------------------
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to