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 >
_______________________________________________ GraphHopper mailing list [email protected] https://lists.openstreetmap.org/listinfo/graphhopper
