PostGIS  2.1.10dev-r@@SVN_REVISION@@
liblwgeom/lwgeom_geos.h
Go to the documentation of this file.
1 /**********************************************************************
2  *
3  * PostGIS - Spatial Types for PostgreSQL
4  * http://postgis.net
5  *
6  * Copyright 2011 Sandro Santilli <strk@keybit.net>
7  *
8  * This is free software; you can redistribute and/or modify it under
9  * the terms of the GNU General Public Licence. See the COPYING file.
10  *
11  **********************************************************************/
12 
13 /* Workaround for GEOS 2.2 compatibility: old geos_c.h does not contain
14  header guards to protect from multiple inclusion */
15 #ifndef GEOS_C_INCLUDED
16 #define GEOS_C_INCLUDED
17 #include "geos_c.h"
18 #endif
19 
20 #include "liblwgeom.h"
21 
22 
23 /*
24 ** Public prototypes for GEOS utility functions.
25 */
26 LWGEOM *GEOS2LWGEOM(const GEOSGeometry *geom, char want3d);
27 GEOSGeometry * LWGEOM2GEOS(const LWGEOM *g);
28 GEOSGeometry * LWGEOM_GEOS_buildArea(const GEOSGeometry* geom_in);
29 
30 
31 POINTARRAY *ptarray_from_GEOSCoordSeq(const GEOSCoordSequence *cs, char want3d);
32 
33 
34 extern char lwgeom_geos_errmsg[];
35 extern void lwgeom_geos_error(const char *fmt, ...);
36 
char lwgeom_geos_errmsg[]
tuple fmt
Definition: pixval.py:92
void lwgeom_geos_error(const char *fmt,...)
const GEOSGeometry * geom
LWGEOM * GEOS2LWGEOM(const GEOSGeometry *geom, char want3d)
POINTARRAY * ptarray_from_GEOSCoordSeq(const GEOSCoordSequence *cs, char want3d)
This library is the generic geometry handling section of PostGIS.
GEOSGeometry * LWGEOM_GEOS_buildArea(const GEOSGeometry *geom_in)
GEOSGeometry * LWGEOM2GEOS(const LWGEOM *g)