36#ifndef __POSTGIS_FUNCS_H__
37#define __POSTGIS_FUNCS_H__
81 int32_t srid,
char repeat);
External API of the Mobility Engine Open Source (MEOS) library.
spatialRel
API of the Mobility Engine Open Source (MEOS) library.
Definition: meos_geo.h:55
GSERIALIZED * GEOS2POSTGIS(GEOSGeom geom, char want3d)
Tranform a GEOS geometry to a PostGIS one.
Definition: postgis_funcs.c:1078
char * geo_as_wkt(const GSERIALIZED *gs, int precision, bool extended)
Return the (Extended) Well-Known Text (EWKT or WKT) representation of a geometry/geography.
Definition: postgis_funcs.c:2991
GSERIALIZED * geom_serialize(LWGEOM *lwgeom)
Utility method to call the serialization and then set the PgSQL varsize header appropriately with the...
Definition: postgis_funcs.c:1946
LWGEOM * box3d_to_lwgeom(BOX3D *box)
Create a geometry from a BOX3D.
Definition: postgis_funcs.c:282
bool geom_spatialrel(const GSERIALIZED *gs1, const GSERIALIZED *gs2, spatialRel rel)
Return true if two geometries satisfy a given spatial relationship, where the function called depend ...
Definition: postgis_funcs.c:1142
GEOSGeometry * POSTGIS2GEOS(const GSERIALIZED *pglwgeom)
Tranform a PostGIS geometry to a GEOS one.
Definition: postgis_funcs.c:1059
GSERIALIZED * geog_serialize(LWGEOM *lwgeom)
Utility method to call the serialization and then set the PgSQL varsize header appropriately with the...
Definition: postgis_funcs.c:1959
LWGEOM * lwgeom_line_interpolate_point(LWGEOM *geom, double fraction, int32_t srid, char repeat)
Interpolate a point from a line.
Definition: postgis_funcs.c:3509
GSERIALIZED * postgis_valid_typmod(GSERIALIZED *gs, int32_t typmod)
Check the consistency of the metadata to enforce in the typmod: SRID, type, and dimensionality.
Definition: postgis_funcs.c:2694
LWGEOM * box2d_to_lwgeom(GBOX *box, int32_t srid)
Create a geometry from a BOX2D.
Definition: postgis_funcs.c:206
Definition: postgis_ext_defs.in.h:65
Definition: postgis_ext_defs.in.h:79
Definition: postgis_ext_defs.in.h:170
Definition: postgis_ext_defs.in.h:184
int const GSERIALIZED * gs
Definition: trgeo_spatialrels.h:52