public interface Line extends List<SourceSegment>, SpatialFeature
Modifier and Type | Method and Description |
---|---|
Iterable<Node> |
coordinates()
Gives an ordered sequence of coordinates specifying this feature's geometry.
|
Dataset |
dataset() |
Node |
end() |
long |
id() |
HighwayRef |
ref() |
int |
size() |
Node |
start() |
AttributeProvider |
tags() |
HighwayType |
type() |
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, sort, spliterator, subList, toArray, toArray
parallelStream, removeIf, stream
Dataset dataset()
long id()
AttributeProvider tags()
HighwayType type()
HighwayRef ref()
Node start()
Node end()
int size()
size
in interface Collection<SourceSegment>
size
in interface List<SourceSegment>
Iterable<Node> coordinates()
SpatialFeature
coordinates
in interface SpatialFeature