Created
April 18, 2012 12:08
-
-
Save bengolder/2413148 to your computer and use it in GitHub Desktop.
EPSG to OGC WKT in Grasshopper
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import urllib2 | |
if EPSG: | |
url = 'http://spatialreference.org/ref/epsg/%s/ogcwkt/' % EPSG | |
f = urllib2.urlopen(url) | |
OGC_WKT = f.read() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment