Skip to content
Tom Kralidis edited this page May 27, 2015 · 1 revision

pj_init_plus()

projPJ pj_init_plus(const char *definition);

This function converts a string representation of a coordinate system definition into a projPJ object suitable for use with other API functions. On failure the function will return NULL and set pj_errno. The definition should be of the general form +proj=tmerc +lon_0 +datum=WGS84. Refer to PROJ.4 documentation and the GenParms notes for additional detail.

Coordinate system objects allocated with pj_init_plus() should be deallocated with pj_free().

Clone this wiki locally