Package org.locationtech.jts.io
Contains the interfaces for converting JTS objects to and from other formats.
The Java Topology Suite (JTS) is a Java API that implements a core set of spatial data operations using an explicit precision model and robust geometric algorithms. JTS is intended to be used in the development of applications that support the validation, cleaning, integration and querying of spatial datasets.
JTS attempts to implement the OpenGIS Simple Features Specification (SFS) as accurately as possible. In some cases the SFS is unclear or omits a specification; in this case JTS attempts to choose a reasonable and consistent alternative. Differences from and elaborations of the SFS are documented in this specification.
Package Specification
- Java Topology Suite Technical Specifications
- OpenGIS Simple Features Specification for SQL
-
Interface Summary Interface Description InStream A interface for classes providing an input stream of bytes.OutStream A interface for classes providing an output stream of bytes.WKBConstants Constant values used by the WKB format -
Class Summary Class Description ByteArrayInStream Allows an array of bytes to be used as anInStream
.ByteOrderDataInStream Allows reading a stream of Java primitive datatypes from an underlyingInStream
, with the representation being in either common byte ordering.ByteOrderValues Methods to read and write primitive Java datatypes from/to byte sequences, allowing the byte order to be specifiedInputStreamInStream An adapter to allow anInputStream
to be used as anInStream
OrdinateFormat Formats numeric values for ordinates in a consistent, accurate way.OutputStreamOutStream An adapter to allow anOutputStream
to be used as anOutStream
WKBHexFileReader Reads a sequence ofGeometry
s in WKBHex format from a text file.WKBReader Reads aGeometry
from a byte stream in Well-Known Binary format.WKBWriter Writes aGeometry
into Well-Known Binary format.WKTFileReader Reads a sequence ofGeometry
s in WKT format from a text file.WKTReader Converts a geometry in Well-Known Text format to aGeometry
.WKTWriter Writes the Well-Known Text representation of aGeometry
. -
Enum Summary Enum Description Ordinate An enumeration of possible Well-Known-Text or Well-Known-Binary ordinates. -
Exception Summary Exception Description ParseException Thrown by aWKTReader
when a parsing problem occurs.