[Gdal-dev] Problems with ogr2ogr?

Frank Warmerdam warmerdam at pobox.com
Tue Jun 27 12:30:57 EDT 2006


Moskovitz, Bob wrote:
> Hello List,
>  
> I am a new user of GDAL./OGR and I have a problem converting (what is 
> supposed to be) a NAD27 California State Plane Zone 5 Mapinfo file to a 
> NAD27 UTM Zone 11.  For some reason ogr2ogr created a file that 
> uses WGS84. The source file was created with MapInfo 6. This is what I did:
...
> *ogr2ogr -f "MapInfo File" -s_srs EPSG:26745 -t_srs EPSG:26711 test.tab 
> LAND_AP_7.tab*
> *ogrinfo -al -so test.tab*
> Had to open data source read-only.
> INFO: Open of `test.tab'
> using driver `MapInfo File' successful.
>  
> Layer name: test
> Geometry: Polygon
> Feature Count: 5
> Extent: (545973.840000, 3789822.180000) - (556088.130000, 3803682.585000)
> Layer SRS WKT:
> PROJCS["unnamed",
>     GEOGCS["unnamed",
>         DATUM["North_American_Datum_1927",
>             SPHEROID["Clarke 1866",6378206.4,294.9786982],
>             TOWGS84[-8,160,176,0,0,0,0]],
>         PRIMEM["Greenwich",0],
>         UNIT["degree",0.0174532925199433]],
>     PROJECTION["Transverse_Mercator"],
>     PARAMETER["latitude_of_origin",0],
>     PARAMETER["central_meridian",-117],
>     PARAMETER["scale_factor",0.9996],
>     PARAMETER["false_easting",500000],
>     PARAMETER["false_northing",0],
>     UNIT["Meter",1.0]]

Bob,

I'm not clear on why you think the output file is in WGS84.  The
above report from ogrinfo is UTM 11 NAD27.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGF, http://osgeo.org




More information about the Gdal-dev mailing list