a guest Jun 26th, 2019 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. from osgeo import osr
  2. sr = osr.SpatialReference()
  3. wkt = '''MY_WKT'''
  4. sr.ImportFromWkt(wkt) # returns 0, so that worked
  5. sr.AutoIdentifyEPSG() # returns 7, of which I don't know the meaning, but it does not seem to work
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand