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

Frans Knibbe | Geodan frans.knibbe at geodan.nl
Thu May 24 08:42:14 EDT 2012


Hi Chaitanya,

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.

Regards,
Frans

On 2012-05-24 13:31, Chaitanya kumar CH wrote:
> Frans,
>
> Add the option "-a_srs WGS84" to ogr2ogr command. It should force 
> geographic mode.
>
> If that doesn't solve your issue, please go through the discussion on 
> this topic at ticket 481.
> http://trac.osgeo.org/gdal/ticket/481
>
> On Thu, May 24, 2012 at 4:35 PM, Frans Knibbe | Geodan 
> <frans.knibbe at geodan.nl <mailto:frans.knibbe at geodan.nl>> wrote:
>
>     Hello,
>
>     I wonder if someone can help me with a nasty problem with using
>     ogr2ogr to convert shapefile to Mapinfo tab format. Whatever I
>     try, I can not get the output to have a correct definition of the
>     SRS. Ogrinfo always reports the output having a NonEarth SRS.
>
>     The input shapefile has a *.prj file. It seems to be ignored by
>     ogr2ogr. Using the -a_srs option to specify the SRS, either as an
>     EPSG code or as the name of a file containing the WKT of the
>     projection also fails.
>
>     I have tested this with several versions of ogr2ogr. I do not
>     notice any difference between versions. The latest version of
>     ogr2ogr that I could find is "GDAL 2.0dev, released 2011/12/29".
>
>     A web search on this subject leads to several similar problem
>     descriptions, but I have not been able to find a solution or even
>     a workaround.
>
>     Regards,
>     Frans
>
>     _______________________________________________
>     gdal-dev mailing list
>     gdal-dev at lists.osgeo.org <mailto:gdal-dev at lists.osgeo.org>
>     http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
>
>
>
> -- 
> Best regards,
> Chaitanya kumar CH.
>
> +91-9494447584
> 17.2416N 80.1426E

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20120524/114fe949/attachment.html


More information about the gdal-dev mailing list