Package org.locationtech.jts.linearref
Contains classes and interfaces implementing linear referencing on linear geometries
Linear Referencing
Linear Referencing is a way of defining positions along linear geometries (LineStrings and MultiLineStrings).
It is used extensively in linear network systems.
There are numerous possible Linear Referencing Methods which
can be used to define positions along linear geometry.
This package supports two:
- Linear Location - a linear location is a triple
(component index, segment index, segment fraction)which precisely specifies a point on a linear geometry. It allows for efficient mapping of the index value to actual coordinate values. - Length - the natural concept of using the length along the geometry to specify a position.
Package Specification
- Java Topology Suite Technical Specifications
- OpenGIS Simple Features Specification for SQL
-
Class Summary Class Description LengthIndexedLine Supports linear referencing along a linearGeometryusing the length along the line as the index.LengthLocationMap Computes theLinearLocationfor a given length along a linearGeometry.LinearGeometryBuilder Builds a linear geometry (LineStringorMultiLineString) incrementally (point-by-point).LinearIterator An iterator over the components and coordinates of a linear geometry (LineStrings andMultiLineStrings.LinearLocation Represents a location along aLineStringorMultiLineString.LocationIndexedLine Supports linear referencing along a linearGeometryusingLinearLocations as the index.