Ticket #1987 (closed defect: fixed)
EPSG:28992 - Lacking datum parameters for Amersfoort
| Reported by: | johantenbreteler | Owned by: | warmerdam |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.8.0 |
| Component: | OGR_SRS | Version: | svn-trunk |
| Severity: | normal | Keywords: | datum shift |
| Cc: | mloskot, vincentschut |
Description
When I try to do a conversion from shp file to a kml format the result in google earth is not exactly the position which the converted info should be have. It seems that there a kind of offset. I try to convert from EPSG:28992 to WGS84. I found a work around for this problem , but I wondering that it works so. failing method
ogr2ogr -f KML -t_srs WGS84 -s_srs EPGS:28992 <file>.kml <file>.shp
work around
ogr2ogr -f KML -t_srs WGS84 -s_srs "+proj=sterea +lat_0=52.15616055555555 +lon_0=5.38763888888889 +k=0.999908 +x_0=155000 +y_0=463000 +ellps=bessel +towgs84=565.237,50.0087,465.658,-0.406857,0.350733,-1.87035,4.0812 +units=m +no_defs <>" <file>.kml <file>.shp
So if not using the EPGS:28992 mnemonic gives a correct translation to WGS84. I don't known what the reason is that the work around works. I try the conversion with FwTools? pack 1.4.2 .
