Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (14 sloc) 0.417 kB
#!/usr/bin/env python
import sys
sys.path.append(".")
import pjjs
resourcesDirectory = "catalogues"
targetDirectory = "../lib/defs"
if len(sys.argv) > 1:
resourcesDirectory = sys.argv[1]
if len(sys.argv) > 2:
targetDirectory = sys.argv[2]
print "Generating Proj4js catalogues."
pjjs.pjcat2js_clean(resourcesDirectory,targetDirectory)
pjjs.pjcat2js_run(resourcesDirectory,targetDirectory)
print "Done."
Jump to Line
Something went wrong with that request. Please try again.