Package | Description |
---|---|
com.graphhopper.reader.osm | |
com.graphhopper.routing.util | |
com.graphhopper.routing.util.parsers |
Modifier and Type | Method and Description |
---|---|
static ReaderRelation |
OSMXMLHelper.createRelation(long id,
XMLStreamReader parser) |
Modifier and Type | Method and Description |
---|---|
static Triple<ReaderRelation,GraphRestriction,RestrictionMembers> |
RestrictionConverter.convert(ReaderRelation relation,
BaseGraph baseGraph,
LongFunction<Iterator<com.carrotsearch.hppc.cursors.IntCursor>> edgesByWay)
OSM restriction relations specify turn restrictions between OSM ways (of course).
|
Modifier and Type | Method and Description |
---|---|
static Triple<ReaderRelation,GraphRestriction,RestrictionMembers> |
RestrictionConverter.convert(ReaderRelation relation,
BaseGraph baseGraph,
LongFunction<Iterator<com.carrotsearch.hppc.cursors.IntCursor>> edgesByWay)
OSM restriction relations specify turn restrictions between OSM ways (of course).
|
static RestrictionMembers |
RestrictionConverter.extractMembers(ReaderRelation relation) |
static long[] |
RestrictionConverter.getRestrictedWayIds(ReaderRelation relation) |
static long |
RestrictionConverter.getViaNodeIfViaNodeRestriction(ReaderRelation relation) |
static boolean |
RestrictionConverter.isTurnRestriction(ReaderRelation relation) |
protected void |
OSMReader.preprocessRelations(ReaderRelation relation)
This method is called for each relation during the first pass of
WaySegmentParser |
void |
WaySegmentParser.RelationProcessor.processRelation(ReaderRelation relation,
LongToIntFunction getNodeIdForOSMNodeId) |
protected void |
OSMReader.processRelation(ReaderRelation relation,
LongToIntFunction getIdForOSMNodeId)
This method is called for each relation during the second pass of
WaySegmentParser
We use it to save the relations and process them afterwards. |
Modifier and Type | Method and Description |
---|---|
WaySegmentParser.Builder |
WaySegmentParser.Builder.setRelationPreprocessor(Consumer<ReaderRelation> relationPreprocessor) |
Modifier and Type | Method and Description |
---|---|
IntsRef |
OSMParsers.handleRelationTags(ReaderRelation relation,
IntsRef relFlags) |
Modifier and Type | Method and Description |
---|---|
IntsRef |
OSMBikeNetworkTagParser.handleRelationTags(IntsRef relFlags,
ReaderRelation relation) |
IntsRef |
RelationTagParser.handleRelationTags(IntsRef relFlags,
ReaderRelation relation)
Analyze the tags of a relation and create the routing flags for the second read step.
|
IntsRef |
OSMFootNetworkTagParser.handleRelationTags(IntsRef relFlags,
ReaderRelation relation) |
Copyright © 2012–2022. All rights reserved.