20#ifndef GEOS_IO_WKBREADER_H
21#define GEOS_IO_WKBREADER_H
23#include <geos/export.h>
25#include <geos/geom/GeometryFactory.h>
26#include <geos/io/ByteOrderDataInStream.h>
32#define BAD_GEOM_TYPE_MSG "Bad geometry type encountered in"
36#pragma warning(disable: 4251)
79class GEOS_DLL WKBReader {
116 static std::ostream &
printHEX(std::istream &is, std::ostream &os);
123 unsigned int inputDimension;
125 ByteOrderDataInStream dis;
127 std::vector<double> ordValues;
158 void readCoordinate();
161 WKBReader(
const WKBReader& other);
162 WKBReader& operator=(
const WKBReader& rhs);
The internal representation of a list of coordinates inside a Geometry.
Definition CoordinateSequence.h:59
Coordinate is the lightweight class used to store coordinates.
Definition Coordinate.h:60
Represents a collection of heterogeneous Geometry objects.
Definition GeometryCollection.h:56
Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...
Definition GeometryFactory.h:67
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition Geometry.h:167
Definition LineString.h:70
Models an OGC SFS LinearRing.
Definition LinearRing.h:57
Models a collection of (}s.
Definition MultiLineString.h:51
Definition MultiPoint.h:56
Models a collection of Polygons.
Definition MultiPolygon.h:61
Represents a linear polygon, which may include holes.
Definition Polygon.h:67
Specifies the precision model of the Coordinate in a Geometry.
Definition PrecisionModel.h:87
geom::Geometry * read(std::istream &is)
Reads a Geometry from an istream.
static std::ostream & printHEX(std::istream &is, std::ostream &os)
Print WKB in HEX form to out stream.
WKBReader()
Inizialize parser with default GeometryFactory.
geom::Geometry * readHEX(std::istream &is)
Reads a Geometry from an istream in hex format.
Contains the Geometry interface hierarchy and supporting classes.
Definition IndexedNestedRingTester.h:26
Contains the interfaces for converting JTS objects to and from other formats.
Definition Geometry.h:56
Basic namespace for all GEOS functionalities.
Definition IndexedNestedRingTester.h:25