[GraphHopper] Adding custom weight to edge

Markus s0870203 at mail.zih.tu-dresden.de
Thu Mar 12 11:18:36 UTC 2015


 
> > But that means I need to handle the start/end edge separately?
> 
> yes, or you waive the GPS exact routing and just route from junction to
> junction (with its own drawbacks)
How would I do that?
Should I replace the EdgeIteratorState in calcWeight ?

What would be the drawbacks, I guess the polyline would be different, anything else? 

Regards Markus
> 
> > Right now I still matching on the phone. But for a bigger amount of GPS points it would make sense to do that on the server.
> > If I do the matching on the server and as long as I don't reimport from a different osm file the graph should work?
> 
> yes, you can reimport the same OSM file, for the same GH version and
> configuration then the edge and node IDs should and will be the same.
> 
> Peter
> 
> _______________________________________________
> GraphHopper mailing list
> GraphHopper at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/graphhopper
> 




More information about the GraphHopper mailing list