PostGIS  2.3.7dev-r@@SVN_REVISION@@
static int lwcollection_force_geodetic ( LWCOLLECTION col)
static

Definition at line 2806 of file lwgeodetic.c.

References LWCOLLECTION::geoms, LW_FALSE, LW_TRUE, lwgeom_force_geodetic(), and LWCOLLECTION::ngeoms.

Referenced by lwgeom_force_geodetic().

2807 {
2808  int i = 0;
2809  int changed = LW_FALSE;
2810  assert(col);
2811 
2812  for ( i = 0; i < col->ngeoms; i++ )
2813  {
2814  if ( lwgeom_force_geodetic(col->geoms[i]) == LW_TRUE )
2815  changed = LW_TRUE;
2816  }
2817  return changed;
2818 }
int lwgeom_force_geodetic(LWGEOM *geom)
Force coordinates of LWGEOM into geodetic range (-180, -90, 180, 90)
Definition: lwgeodetic.c:2820
#define LW_FALSE
Definition: liblwgeom.h:76
#define LW_TRUE
Return types for functions with status returns.
Definition: liblwgeom.h:75
LWGEOM ** geoms
Definition: liblwgeom.h:508

Here is the call graph for this function:

Here is the caller graph for this function: