[Gdal-dev] invalid/no projection information in output TAB formatfiles

Peter.Rushforth at statcan.ca Peter.Rushforth at statcan.ca
Mon May 29 13:44:43 EDT 2006


I'm using gdal 1.3.2 , built on solaris 8 by me, 
with an additional local tweak for gml data sources.

Peter

> -----Original Message-----
> From: Richard Matsunaga [mailto:richard.matsunaga at waypointinfo.com] 
> Sent: May 29, 2006 1:13 PM
> To: Peter.Rushforth at statcan.ca; gdal-dev at lists.maptools.org
> Subject: RE: [Gdal-dev] invalid/no projection information in 
> output TAB formatfiles
> 
> 
>  
> What version of GDAL/OGR are you using?
> 
> There was a bug with MapInfo files and projections that was 
> fixed in the latest release.
> 
> Richard
> 
> -----Original Message-----
> From: gdal-dev-bounces at lists.maptools.org
> [mailto:gdal-dev-bounces at lists.maptools.org] On Behalf Of 
> Peter.Rushforth at statcan.ca
> Sent: May 29, 2006 12:02 PM
> To: gdal-dev at lists.maptools.org
> Subject: [Gdal-dev] invalid/no projection information in 
> output TAB formatfiles
> 
> Hello list,
> 
> I am using ogr2ogr to convert gml files to mapinfo TAB 
> format, using the following command option and syntax:
> 
> ogr2ogr -a_srs WGS84 -f "MapInfo File" test.map test.gml
> 
> The test.map and associated files are created, but the 
> projection about the layer is not set correctly and Mapinfo 7 
> crashes when exiting if the file is not closed first, a concern.
> 
> When I go through MIF format, and then to TAB, the projection 
> info is correctly set in the TAB file and no problems with 
> Mapinfo are encountered:
> 
> ogr2ogr -a_srs WGS84 -f "MapInfo File" -dsco FORMAT=MIF 
> temp.mif test.gml ogr2ogr -f "MapInfo File" test.tab temp.mif
> 
> So first converting to mid/mif, then to tab is an option, but 
> is there some way to skip that step?
> 
> Thanks for any advice,
> 
> Peter
> 
> _______________________________________________
> Gdal-dev mailing list
> Gdal-dev at lists.maptools.org 
> http://lists.maptools.org/mailman/listinfo/gdal-dev
> 
> 
> 




More information about the Gdal-dev mailing list