[gdal-dev] ogr2ogr shapefile to mapinfo tab: no SRS.

Luca Sigfrido Percich sigfrido at tiscali.it
Thu May 24 13:19:59 EDT 2012


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


More information about the gdal-dev mailing list