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 linearGeometry
using the length along the line as the index.LengthLocationMap Computes theLinearLocation
for a given length along a linearGeometry
.LinearGeometryBuilder Builds a linear geometry (LineString
orMultiLineString
) incrementally (point-by-point).LinearIterator An iterator over the components and coordinates of a linear geometry (LineString
s andMultiLineString
s.LinearLocation Represents a location along aLineString
orMultiLineString
.LocationIndexedLine Supports linear referencing along a linearGeometry
usingLinearLocation
s as the index.