Package org.geotools.data.postgis
Class TWKBReader
Object
TWKBReader
Reads Tiny Well-known Binary (TWKB)into a JTS
geometry.
This class is designed to support reuse of a single instance to read multiple geometries. This * class is not thread-safe; each thread should create its own instance.
- Author:
- James Hughes, Andrea Aime
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionread(byte[] bytes) protected CoordinateSequencereadCoordinateSequence(int numPts, TWKBReader.TWKBMetadata metadata) protected doublereadNextDouble(double scale)
-
Field Details
-
csFactory
-
-
Constructor Details
-
TWKBReader
-
-
Method Details
-
read
- Throws:
ParseExceptionIOException
-
read
- Throws:
IOExceptionParseException
-
readCoordinateSequence
protected CoordinateSequence readCoordinateSequence(int numPts, TWKBReader.TWKBMetadata metadata) throws IOException - Throws:
IOException
-
readNextDouble
- Throws:
IOException
-