arc.fromP4ToWkt: Convert PROJ.4 Coordinate Reference System string to Well-known Text.
Description
The arc.fromP4ToWkt command converts a PROJ.4 coordinate
reference system (CRS) string to a well-known text (WKT) representation.
Well-known text is used by ArcGIS and other applications to robustly
describe a coordinate reference system. Converts PROJ.4 stings which
include either the '+proj' fully specified projection parameter, or the
'+init' form that takes well-known IDs (WKIDs), such as EPSG codes,
as input.
Arguments
proj4
PROJ.4 projection string
Details
The produced WKT is equivalent to the ArcPy spatial reference
exported string:
# NOT RUN {arc.fromP4ToWkt("+proj=eqc") # Equirectangulararc.fromP4ToWkt("+proj=latlong +datum=wgs84") # WGS 1984 geographicarc.fromP4ToWkt("+init=epsg:2806") # initalize based on EPSG code# }