These functions come from OGR C API's OSR*
namespace.
val t : t Ctypes.typ
val t_opt : t option Ctypes.typ
val make : [ `proj4 | `wkt | `name ] ‑> string ‑> t
make kind def
will create a new t from def
.
def
. `proj4
for a
PROJ.4 defintion, `wkt
for a Well Known Text definition or `name
for a
well known name definition (ex. "EPSG:4326"
or "WGS84"
).def
is not a valid definition of
type kind
.val to_wkt : ?pretty:bool ‑> ?simplify:bool ‑> t ‑> string
to_wkt ?pretty ?simplify t
returns the WKT string definition matching
t
.