Hi there,
suppose I have an external file with this format
OSM_NODE_ID1 OSM_NODE_ID2 w1
where OSM_NODE_ID1 and OSM_NODE_ID2 are two OSM node ids and w1 is a
double that represents a custom weight. What I'd like to do is:
1) Find the edge gh_edge_id in the GraphHopper internal data structure
that corresponds to the the edge OSM_NODE_ID1->OSM_NODE_ID2
2) Create a data structure that maps the relation
gh_edge_id w1
in a way that at runtime in a custom Weighting class I can retrieve the
value w1 when the corresponding edge is visited.
Which is the best approach to tackle this problem?
Thanks a lot for your support.
Rossano
_______________________________________________
GraphHopper mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/graphhopper