26 #ifndef __TERRALIB_POSTGIS_INTERNAL_EWKBREADER_H
27 #define __TERRALIB_POSTGIS_INTERNAL_EWKBREADER_H
30 #include "../common/Static.h"
31 #include "../geometry/Enums.h"
35 #include "../geometry_fw.h"
A base type for static classes.
It is a collection of other geometric objects.
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
LineString is a curve with linear interpolation between points.
A LinearRing is a LineString that is both closed and simple.
A point with x and y coordinate values.
Polygon is a subclass of CurvePolygon whose rings are defined by linear rings.
An utility class for reading a PostGIS EWKB.
static te::gm::Polygon * getPolygon(const char *ewkb, const char **endptr)
static te::gm::LineString * getLineString(const char *ewkb, const char **endptr)
static te::gm::Geometry * read(const char *ewkb)
It returns a valid geometry from a given EWKB.
static te::gm::Geometry * getGeometry(const char *ewkb, const char **endptr)
static te::gm::Geometry * readHex(const char *hewkb)
It returns a valid geometry from a given hex-encoded EWKB.
static te::gm::LinearRing * getLinearRing(const char *ewkb, te::gm::GeomType t, int srid, char wkbByteOrder, const char **endptr)
static te::gm::GeometryCollection * getGeometryCollection(const char *ewkb, const char **endptr)
static te::gm::Point * getPoint(const char *ewkb, const char **endptr)
GeomType
Each enumerated type is compatible with a Well-known Binary (WKB) type code.
#define TEPGISEXPORT
You can use this macro in order to export/import classes and functions from this module.
Proxy configuration file for TerraView (see terraview_config.h).