PostGIS
2.5.7dev-r@@SVN_REVISION@@
|
int lwgeom_has_srid | ( | const LWGEOM * | geom | ) |
Return true or false depending on whether a geometry has a valid SRID set.
Definition at line 1436 of file lwgeom.c.
References LW_FALSE, LW_TRUE, LWGEOM::srid, and SRID_UNKNOWN.
Referenced by lwgeom_to_wkt(), and lwgeom_wkb_needs_srid().