[GraphHopper] What are pillar and tower Nodes? Rename to geometry and junction nodes?

me me at pgwelch.info
Mon Dec 1 17:49:19 UTC 2014


Yes definitely! 


Sent from Samsung Mobile

-------- Original message --------
From: Peter <graphhopper at gmx.de> 
Date:  
To: graphhopper at openstreetmap.org 
Subject: [GraphHopper] What are pillar and tower Nodes? Rename to geometry
  and junction nodes? 
 
Hi all,

as the naming is from 2 years ago I think it could be time to rename
'tower' nodes into 'junction' nodes and 'pillar' nodes into 'geometry'
nodes. What do you think, would this be (more) intuitive?

Below a quick documentation which I would add otherwise to the docs.

Kind Regards,
Peter

**
From OpenStreetMap we fetch all nodes and create the routing graph but
only a minority of them are actual junctions, which are the ones we are
interested while routing. Those junction nodes I call tower nodes which
also have a graphhopper node ID associated, going from 0 to
graph.getNodes(). The helper nodes between the junctions I call 'pillar
nodes' which can be fetched via edgeIteratorState.fetchWayGeometry

_______________________________________________
GraphHopper mailing list
GraphHopper at openstreetmap.org
https://lists.openstreetmap.org/listinfo/graphhopper
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20141201/1c722b90/attachment.html>


More information about the GraphHopper mailing list