protected class OpenStreetMapModule.Handler extends Object
Constructor and Description |
---|
Handler(Graph graph,
OSMDatabase osmdb) |
Modifier and Type | Method and Description |
---|---|
protected void |
applyWayProperties(StreetEdge street,
StreetEdge backStreet,
WayProperties wayData,
OSMWithTags way) |
void |
buildGraph(HashMap<Class<?>,Object> extra) |
protected I18NString |
getNameForWay(OSMWithTags way,
String id) |
protected OsmVertex |
getVertexForOsmNode(OSMNode node,
OSMWithTags way)
Make or get a shared vertex for flat intersections, or one vertex per level for multilevel nodes like elevators.
|
public Handler(Graph graph, OSMDatabase osmdb)
protected void applyWayProperties(StreetEdge street, StreetEdge backStreet, WayProperties wayData, OSMWithTags way)
protected I18NString getNameForWay(OSMWithTags way, String id)
protected OsmVertex getVertexForOsmNode(OSMNode node, OSMWithTags way)
node
- The node to fetch a label for.way
- The way it is connected to (for fetching level information).Copyright © 2018. All rights reserved.