[GraphHopper] Allow CAR on pedestrian streets
Peter
graphhopper at gmx.de
Tue Dec 9 15:06:59 UTC 2014
Hi Mikael,
you'll have to create your own CarFlagEncoder (or extend it) which then
accepts those pedestrian streets and then do:
new EncodingManager(new MyCarFlagEncoder())
Make sure you check the surface etc to still exclude impossible streets
like hiking trails (too avoid blowing up the road network density)
Peter
On 09.12.2014 13:57, Mikael Jensen wrote:
>
> Hi
>
>
>
> I’m trying to create a distance matrix for a CAR (or some motor
> vehicle) between addresses on pedestrian streets. Is there an option
> in graphhopper for allowing vehicle a delivery vehicle to drive on the
> pedestrian streets? I’m working in the Java code and wonder if some
> argument like arg.put(“osmreader.acceptway”, “CAR”) or
> graphopper.setEncodingManager(new EncodingManager(“CAR”)) can be
> changed to allow a motor vehicle to drive on the pedestrian streets?
>
>
>
>
>
> Regards
>
> Mikael
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20141209/27561b25/attachment.html>
More information about the GraphHopper
mailing list