PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ lwproj_from_string()

projPJ lwproj_from_string ( const char *  txt)

Get a projection from a string representation.

Eg: "+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs"

Definition at line 168 of file liblwgeom/lwgeom_transform.c.

169 {
170  if (!str1 || str1[0] == '\0')
171  {
172  return NULL;
173  }
174  return pj_init_plus(str1);
175 }

Referenced by gml_reproject_pa(), and transform_geom().

Here is the caller graph for this function: