Package | Description |
---|---|
de.topobyte.osm4j.geometry.relation |
Modifier and Type | Method and Description |
---|---|
static List<ChainOfWays> |
RelationUtil.buildRings(MultiSet<OsmWay> ways,
CountingMultiValMap<Long,OsmWay> wayTailMap)
Given a set of ways and their head's and tail's in the wayTailMap,
construct valid rings by combining ways with same tail-ids.
|
Modifier and Type | Method and Description |
---|---|
static void |
RelationUtil.checkRings(Collection<ChainOfWays> rings,
OsmEntityProvider resolver,
MissingEntitiesStrategy missingEntitiesStrategy)
For each ring in this collection of rings, check whether it is closed.
|
static void |
RelationUtil.closeUnclosedRingWithStraightLine(Collection<ChainOfWays> rings) |
static void |
RelationUtil.convertToSegmentChainsAndResolveNodeIntersections(List<ChainOfWays> chains,
List<ChainOfNodes> outRings,
List<ChainOfNodes> outNonRings) |
static List<ChainOfNodes> |
RelationUtil.convertToSegmentRings(List<ChainOfWays> rings) |