mirror of
https://git.osgeo.org/gitea/postgis/postgis
synced 2024-10-24 17:12:35 +00:00
6a56e2a82e
git-svn-id: http://svn.osgeo.org/postgis/trunk@7719 b70326c6-7e19-0410-871a-916f4a2858ee
37 lines
1 KiB
C
37 lines
1 KiB
C
/**********************************************************************
|
|
*
|
|
* PostGIS - Spatial Types for PostgreSQL
|
|
* http://postgis.refractions.net
|
|
*
|
|
* Copyright 2011 Sandro Santilli <strk@keybit.net>
|
|
*
|
|
* This is free software; you can redistribute and/or modify it under
|
|
* the terms of the GNU General Public Licence. See the COPYING file.
|
|
*
|
|
**********************************************************************/
|
|
|
|
/* Workaround for GEOS 2.2 compatibility: old geos_c.h does not contain
|
|
header guards to protect from multiple inclusion */
|
|
#ifndef GEOS_C_INCLUDED
|
|
#define GEOS_C_INCLUDED
|
|
#include "geos_c.h"
|
|
#endif
|
|
|
|
#include "liblwgeom.h"
|
|
|
|
|
|
/*
|
|
** Public prototypes for GEOS utility functions.
|
|
*/
|
|
LWGEOM *GEOS2LWGEOM(const GEOSGeometry *geom, char want3d);
|
|
GEOSGeometry * LWGEOM2GEOS(const LWGEOM *g);
|
|
GEOSGeometry * LWGEOM_GEOS_buildArea(const GEOSGeometry* geom_in);
|
|
|
|
|
|
POINTARRAY *ptarray_from_GEOSCoordSeq(const GEOSCoordSequence *cs, char want3d);
|
|
|
|
|
|
extern char lwgeom_geos_errmsg[];
|
|
extern void lwgeom_geos_error(const char *fmt, ...);
|
|
|