PostGIS  2.2.7dev-r@@SVN_REVISION@@
void error_if_srid_mismatch ( int  srid1,
int  srid2 
)

Definition at line 341 of file lwutil.c.

References lwerror().

Referenced by ARRAY2GEOS(), ARRAY2LWGEOM(), BOX2D_construct(), BOX3D_construct(), contains(), containsproperly(), coveredby(), covers(), crosses(), disjoint(), geography_covers(), geography_distance(), geography_distance_knn(), geography_distance_tree(), geography_distance_uncached(), geography_dwithin(), geography_dwithin_uncached(), geometry_distance_spheroid(), geos_intersects(), intersects3d_dwithin(), LWGEOM_closestpoint(), LWGEOM_closestpoint3d(), lwgeom_cmp(), LWGEOM_collect(), LWGEOM_collect_garray(), LWGEOM_dfullywithin(), LWGEOM_dfullywithin3d(), lwgeom_difference(), LWGEOM_dwithin(), LWGEOM_dwithin3d(), lwgeom_eq(), lwgeom_ge(), lwgeom_gt(), lwgeom_intersection(), lwgeom_le(), LWGEOM_line_locate_point(), LWGEOM_longestline2d(), LWGEOM_longestline3d(), lwgeom_lt(), LWGEOM_makeline(), LWGEOM_makeline_garray(), LWGEOM_maxdistance2d_linestring(), LWGEOM_maxdistance3d(), LWGEOM_mindistance2d(), LWGEOM_mindistance3d(), lwgeom_sharedpaths(), LWGEOM_shortestline2d(), LWGEOM_shortestline3d(), lwgeom_snap(), lwgeom_symdifference(), lwgeom_union(), optimistic_overlap(), overlaps(), pgis_union_geometry_array(), relate_full(), relate_pattern(), ST_Equals(), ST_InterpolatePoint(), ST_LineCrossingDirection(), ST_Split(), and touches().

342 {
343  if ( srid1 != srid2 )
344  {
345  lwerror("Operation on mixed SRID geometries");
346  }
347 }
void lwerror(const char *fmt,...)
Write a notice out to the error handler.
Definition: lwutil.c:74

Here is the call graph for this function: