PostGIS  2.1.10dev-r@@SVN_REVISION@@
static int lwcollection_check_geodetic ( const LWCOLLECTION col)
static

Definition at line 2702 of file lwgeodetic.c.

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

Referenced by lwgeom_check_geodetic().

2703 {
2704  int i = 0;
2705  assert(col);
2706 
2707  for ( i = 0; i < col->ngeoms; i++ )
2708  {
2709  if ( lwgeom_check_geodetic(col->geoms[i]) == LW_FALSE )
2710  return LW_FALSE;
2711  }
2712  return LW_TRUE;
2713 }
#define LW_FALSE
Definition: liblwgeom.h:52
#define LW_TRUE
Return types for functions with status returns.
Definition: liblwgeom.h:51
LWGEOM ** geoms
Definition: liblwgeom.h:465
int lwgeom_check_geodetic(const LWGEOM *geom)
Check that coordinates of LWGEOM are all within the geodetic range (-180, -90, 180, 90)
Definition: lwgeodetic.c:2715

Here is the call graph for this function:

Here is the caller graph for this function: