Sha256: 03b7f09fcf976d45c93750a4590de4bd58a420b5477e7c9da855c0937d17a314
Contents?: true
Size: 230 Bytes
Versions: 18
Compression:
Stored size: 230 Bytes
Contents
import sys from osgeo import gdal, osr f = sys.argv[1] g = gdal.Open(f) proj = g.GetProjection() srs = osr.SpatialReference() srs.ImportFromESRI([proj]) srs.AutoIdentifyEPSG() srid = srs.GetAuthorityCode(None) print "%s" %(srid)
Version data entries
18 entries across 18 versions & 1 rubygems