Hi Andrea,
JIRA task has been filed:
http://jira.codehaus.org/browse/GEOS-1783
Best regards,
Bart
--
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl
--------- Oorspronkelijk bericht --------
Van: Andrea Aime <aaime@anonymised.com>
Naar: Bart van den Eijnden OSGIS <bartvde@anonymised.com>
Cc: Pieter Minnaar <pieter.minnaar@anonymised.com>,
geoserver-users@lists.sourceforge.net
Onderwerp: Re: [Geoserver-users] Oracle Spatial, GoogleMaps, GeoServer and
the Netherlands projection
Datum: 03/03/08 07:29
Bart van den Eijnden (OSGIS) ha scritto:
> Hi,
>
> the EPSG database misses the towgs84 parameters for the Dutch
national grid
> which are necessary for this to work properly.
>
> I've used the following definition successfully (read here how to
change
> parameters in the EPSG database
>
http://docs.codehaus.org/display/GEOSDOC/Hacking+the+EPSG+hsql+database+directly):
>
> (Btw, it's still a shame you can't overrule an existing entry of the
EPSG
> database through the property file
)
Heh, this is something that has got me twisted since it's a double edged
sword. Maybe we can solve it using a configuration element in web.xml.
Care to open a jira issue about this?> 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"]]
Well, you can always put it in the property file and call it
128992 or use any other free number... this will work as long as no
SRS savvy client tries to hit the service. If they do they'll start
wondering what the heck 128992 is. Yet, if all you're needs are covered
by OpenLayers/Google Earth types of clients, this is not an issue.Cheers
Andrea