Uses of Class
com.graphhopper.reader.ReaderRelation
Packages that use ReaderRelation
Package
Description
-
Uses of ReaderRelation in com.graphhopper.reader.osm
Methods in com.graphhopper.reader.osm that return ReaderRelationModifier and TypeMethodDescriptionstatic ReaderRelation
OSMXMLHelper.createRelation
(long id, XMLStreamReader parser) Methods in com.graphhopper.reader.osm that return types with arguments of type ReaderRelationModifier and TypeMethodDescriptionRestrictionConverter.convert
(ReaderRelation relation, BaseGraph baseGraph, LongFunction<Iterator<com.carrotsearch.hppc.cursors.IntCursor>> edgesByWay) OSM restriction relations specify turn restrictions between OSM ways (of course).Methods in com.graphhopper.reader.osm with parameters of type ReaderRelationModifier and TypeMethodDescriptionRestrictionConverter.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 ofWaySegmentParser
protected void
OSMReader.processRelation
(ReaderRelation relation, LongToIntFunction getIdForOSMNodeId) This method is called for each relation during the second pass ofWaySegmentParser
We use it to save the relations and process them afterwards.void
WaySegmentParser.RelationProcessor.processRelation
(ReaderRelation relation, LongToIntFunction getNodeIdForOSMNodeId) Method parameters in com.graphhopper.reader.osm with type arguments of type ReaderRelationModifier and TypeMethodDescriptionWaySegmentParser.Builder.setRelationPreprocessor
(Consumer<ReaderRelation> relationPreprocessor) -
Uses of ReaderRelation in com.graphhopper.routing.util
Methods in com.graphhopper.routing.util with parameters of type ReaderRelationModifier and TypeMethodDescriptionOSMParsers.handleRelationTags
(ReaderRelation relation, IntsRef relFlags) -
Uses of ReaderRelation in com.graphhopper.routing.util.parsers
Methods in com.graphhopper.routing.util.parsers with parameters of type ReaderRelationModifier and TypeMethodDescriptionvoid
OSMBikeNetworkTagParser.handleRelationTags
(IntsRef relFlags, ReaderRelation relation) void
OSMFootNetworkTagParser.handleRelationTags
(IntsRef relFlags, ReaderRelation relation) void
OSMMtbNetworkTagParser.handleRelationTags
(IntsRef relFlags, ReaderRelation relation) void
RelationTagParser.handleRelationTags
(IntsRef relFlags, ReaderRelation relation) Analyze the tags of a relation and create the routing flags for the second read step.