[GraphHopper] Heights in Graphhopper

Robert Schmid robert.schmid at fh-kempten.de
Mon Jun 10 10:14:08 UTC 2013


Hey Peter,

right now i am trying to get the height attributes to work.
What I've done so far:
- I've added a height member to the Node class
- I've added a height_diff member to the Edge class

So here is my first question:
nodeOsmIdToIndexMap.put(node.id(), pillarId + 3);
Why is it pillarId + 3?

And another question:
What's the SEGMENT_SIZE for? Why is it 1<<20?

It should work with my changes, but the flushing step takes a very long 
time when creating the graph.
I think it has something to do with the segmentsize.


Thanks for your help,

Robert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20130610/9e67c662/attachment-0001.html>


More information about the GraphHopper mailing list