![]() |
MobilityDB 1.3
|
Functions for geometry types corresponding to external PostGIS functions in order to bypass the function manager fmgr.c
.
More...
#include <geos_c.h>
#include <postgres.h>
#include <liblwgeom.h>
#include <meos.h>
#include <meos_geo.h>
Go to the source code of this file.
Functions | |
LWGEOM * | box2d_to_lwgeom (GBOX *box, int32_t srid) |
Create a geometry from a BOX2D. More... | |
LWGEOM * | box3d_to_lwgeom (BOX3D *box) |
Create a geometry from a BOX3D . More... | |
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. More... | |
GSERIALIZED * | geog_serialize (LWGEOM *lwgeom) |
Utility method to call the serialization and then set the PgSQL varsize header appropriately with the serialized size. More... | |
GSERIALIZED * | geom_serialize (LWGEOM *lwgeom) |
Utility method to call the serialization and then set the PgSQL varsize header appropriately with the serialized size. More... | |
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 on the third argument. More... | |
GSERIALIZED * | GEOS2POSTGIS (GEOSGeom geom, char want3d) |
Tranform a GEOS geometry to a PostGIS one. More... | |
LWGEOM * | lwgeom_line_interpolate_point (LWGEOM *geom, double fraction, int32_t srid, char repeat) |
Interpolate a point from a line. More... | |
GEOSGeometry * | POSTGIS2GEOS (const GSERIALIZED *pglwgeom) |
Tranform a PostGIS geometry to a GEOS one. More... | |
GSERIALIZED * | postgis_valid_typmod (GSERIALIZED *gs, int32_t typmod) |
Check the consistency of the metadata to enforce in the typmod: SRID, type, and dimensionality. More... | |
Functions for geometry types corresponding to external PostGIS functions in order to bypass the function manager fmgr.c
.