mirror of
https://github.com/wassname/PyCRS.git
synced 2026-06-27 16:10:29 +08:00
fcc463fa76
Also just need to expand to more projection name, datum name, and ellipsoid name definitions, and also additional special parameters. After that, test, and move onto from_wkt()...
11 lines
217 B
Python
11 lines
217 B
Python
import pycrs
|
|
|
|
proj4 = "+proj=robin +lon_0=0 +x_0=0 +y_0=0 +ellps=WGS84 +datum=WGS84 +units=m +no_defs"
|
|
proj4 = "+proj=longlat +ellps=WGS84 +datum=WGS84"
|
|
|
|
crs = pycrs.parser.from_proj4(proj4)
|
|
|
|
print crs.to_ogc_wkt()
|
|
|
|
|