Hello Luca,

Thank you for your suggestion, but it does not seem to work. I tried in in different ways: editing the prj file of the shapefile and specifying an alternative prj file with the a_srs option. I also tried both ESRI WKT and OGC WKT. And I also tried 'DATUM["D_Netherlands_Bessel"' in the ESRI WKT case, because it was 'DATUM["D_Amersfoort"' originally. In all cases, the SRS in the output is still NonEarth.

Regards,
Frans


On 2012-05-24 19:19, Luca Sigfrido Percich wrote:
Hi Frans,

Il giorno gio, 24/05/2012 alle 14.42 +0200, Frans Knibbe | Geodan ha
scritto:

The SRS that I am using is a projection (EPSG:28992, to be precise),
so I think geographic (unprojected) mode is not applicable. I will try
to update ticket 481.
I checked in my c:\program files\Mapinfo\Professional\mapinfow.prj, and
this CRS is listed as follows:

"--- Netherlands Coordinate Systems ---"
"Netherlands National System\p28992", 20, 109, 7, 5.387638889,
52.156160556, 0.9999079, 155000, 463000

so MapInfo knows that the EPSG code 28992 is associated with it, and
this should be matched in mitab_spatialref.cpp as

Projection Type = 20 (SRS_PT_STEREOGRAPHIC)
Datum = 109 (Netherlands_Bessel)
Units = 7 (SRS_UL_METER)

SRS_PP_CENTRAL_MERIDIAN = 5.387638889
SRS_PP_LATITUDE_OF_ORIGIN = 52.156160556
SRS_PP_SCALE_FACTOR = 0.9999079
SRS_PP_FALSE_EASTING = 155000
SRS_PP_FALSE_NORTHING = 463000

Can you try to replace
DATUM["Amersfoort",
with
DATUM["Netherlands_Bessel"
in the prj file and see if it works?

Sig


_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to