[Gdal-dev] Problems with ogr2ogr?
Moskovitz, Bob
Bob.Moskovitz at conservation.ca.gov
Mon Jun 26 16:32:53 EDT 2006
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:
ogrinfo -al -so LAND_AP_7.tab
Had to open data source read-only.
INFO: Open of `LAND_AP_7.tab'
using driver `MapInfo File' successful.
Layer name: LAND_AP_7
Geometry: Polygon
Feature Count: 6
Extent: (2452634.218712, 276580.102129) - (2486216.118198, 322063.122454)
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["Lambert_Conformal_Conic_2SP"],
PARAMETER["standard_parallel_1",34.0333333333],
PARAMETER["standard_parallel_2",35.4666666667],
PARAMETER["latitude_of_origin",33.5],
PARAMETER["central_meridian",-118],
PARAMETER["false_easting",609601.2],
PARAMETER["false_northing",0],
UNIT["U.S. Foot",0.3048006]]
AREA: Real (0.0)
PERIMETER: Real (0.0)
LAND_AP_7_: Integer (0.0)
LAND_AP_7_ID: Integer (0.0)
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]]
AREA: Real (0.0)
PERIMETER: Real (0.0)
LAND_AP_7_: Integer (0.0)
LAND_AP_7_ID: Integer (0.0)
Thanks in advance!
Bob
Bob Moskovitz
Seismic Hazards Zonation Program
California Geological Survey
http://gmw.consrv.ca.gov/shmp
CONFIDENTIALITY NOTICE: This communication is intended only for the use of the individual or entity to which it is addressed. This message contains information from the State of California, California Geological Survey, which may be privileged, confidential and exempt from disclosure under applicable law, including the Electronic Communications Privacy Act. If the reader of this communication is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20060626/0bf652d7/attachment.html
More information about the Gdal-dev
mailing list