MCPcopy Create free account
hub / github.com/OSGeo/PROJ / get_epsg_code

Function get_epsg_code

scripts/build_db_create_ignf_from_xml.py:79–81  ·  view source on GitHub ↗
(txt)

Source from the content-addressed store, hash-verified

77all_sql.append("""INSERT INTO "metadata" VALUES('IGNF.DATE', '%s');""" % date)
78
79def get_epsg_code(txt):
80 assert ':EPSG:' in txt
81 return txt[txt.rfind(':')+1:]
82
83
84def ingest_ellipsoids(root, all_sql):

Callers 4

ingest_ellipsoidsFunction · 0.85
ingest_prime_meridiansFunction · 0.85
ingest_datumsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected