[gdal-dev] Re: EPSG value
Bill Teluk
Bill.Teluk at team.telstra.com
Wed May 4 22:00:59 EDT 2011
If I understand correctly from above, would it be correct to say that if
ogrinfo/ogr2ogr doesn't see an "EPSG" value specified in the WKT, it cannot
derive the EPSG code? eg. the ogr utilities won't translate a WKT to an EPSG
code?
I ask because I have a dataset that is in GDA94, but uses an unusual WKT for
the CRS spec (and there are no EPSG's specifed) - when we used ogr2ogr to
load it into Postgis, it created it's own SRID (900914) instead of using
4283.
Below are two GDA94 WKT's, neither of which translated to the "expected"
EPSG/SRID.
Thanks in advance!
Layer SRS WKT:
GEOGCS["Unknown",
DATUM["GDA94",
SPHEROID["GRS_80",6378137,298.257222101]],
PRIMEM["Greenwich",0],
UNIT["Degree",0.017453292519943295]]
Layer SRS WKT:
GEOGCS["GCS_GDA_1994",
DATUM["Geocentric_Datum_of_Australia_1994",
SPHEROID["GRS_1980",6378137.0,298.257222101]],
PRIMEM["Greenwich",0.0],
UNIT["Degree",0.0174532925199433]]
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/gdal-dev-EPSG-value-tp5708841p6332931.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.
More information about the gdal-dev
mailing list