[GraphHopper] ExtendedStorage for OSM ids
Karl Hübner
evilhack at gmx.de
Thu Mar 27 21:50:02 UTC 2014
Hey Bruno,
the extended storage is a quite new feature, so I think you have to implement it by yourself. Since osmIds are of type long but the additional fields for edges and nodes are of type int, you have to use additional storages and let the additional fields point at its entries. I think Peter can tell you where you can find helper methods in order to split a long value into two integer values. But you're right, looking at my code in TurnCostStorage should help you. Fell free to ask if you have further questions.
Best regards, Karl.
Bruno Carle <brunocarle at yahoo.com> schrieb:
>_______________________________________________
>GraphHopper mailing list
>GraphHopper at openstreetmap.org
>https://lists.openstreetmap.org/listinfo/graphhopper
-------------- n�chster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20140327/61351d62/attachment.html>
More information about the GraphHopper
mailing list