-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* #449 SHP and KML download, still need shp on layer tool and migrate draw tool changes to opensource * #449 Export .shp and .kml layers
- Loading branch information
1 parent
6a0e3b2
commit 3fba967
Showing
18 changed files
with
683 additions
and
17,975 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import sys | ||
from osgeo import osr | ||
try: | ||
from urllib.parse import unquote | ||
except ImportError: | ||
from urllib import unquote | ||
|
||
srs_def = unquote(sys.argv[1]) | ||
|
||
proj = osr.SpatialReference() | ||
proj.ImportFromProj4(srs_def) | ||
print(proj.ExportToWkt()) |
Oops, something went wrong.