[gdal-dev] ogr2ogr shapefile to mapinfo tab: no SRS.
Chaitanya kumar CH
chaitanya.ch at gmail.com
Thu May 24 07:31:25 EDT 2012
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> 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
> http://lists.osgeo.org/**mailman/listinfo/gdal-dev<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/158ae4f5/attachment.html
More information about the gdal-dev
mailing list