[gdal-dev] Getting SRID from ESRI shapefile
Alessandro Candini
candini at meeo.it
Mon Feb 6 08:11:17 EST 2012
Is it possible to get a SRID code from an ESRI shapefile?
For example, I've got the following:
~ $ ogrinfo -al LC_FIN_smooth.shp | head -n 30
INFO: Open of `LC_FIN_smooth.shp'
using driver `ESRI Shapefile' successful.
Layer name: LC_FIN_smooth
Geometry: Polygon
Feature Count: 33308
Extent: (-598426.000000, -1172874.000000) - (-583748.000000,
-1158198.000000)
Layer SRS WKT:
PROJCS["S-JTSK_Krovak_East_North",
GEOGCS["GCS_S_JTSK",
DATUM["Jednotne_Trigonometricke_Site_Katastralni",
SPHEROID["Bessel_1841",6377397.155,299.1528128]],
PRIMEM["Greenwich",0.0],
UNIT["Degree",0.0174532925199433]],
PROJECTION["Krovak"],
PARAMETER["False_Easting",0.0],
PARAMETER["False_Northing",0.0],
PARAMETER["Pseudo_Standard_Parallel_1",78.5],
PARAMETER["Scale_Factor",0.9999],
PARAMETER["Azimuth",30.28813975277778],
PARAMETER["Longitude_Of_Center",24.83333333333333],
PARAMETER["Latitude_Of_Center",49.5],
PARAMETER["X_Scale",-1.0],
PARAMETER["Y_Scale",1.0],
PARAMETER["XY_Plane_Rotation",90.0],
UNIT["Meter",1.0]]
Class_name: String (254.0)
LC: Real (32.16)
OGRFeature(LC_FIN_smooth):0
Class_name (String) = out_of_AOI
At spatialreference.org I found that this correspond to SRID 102067.
But is there a way to obtain this number with gdal tools?
Thanks in advance.
More information about the gdal-dev
mailing list