Closed emiltin closed 12 years ago
speedprofile is the default from the repo:
[car] motorway = 110 motorway_link = 90 trunk = 90 trunk_link = 70 primary = 70 primary_link = 60 secondary = 60 secondary_link = 50 tertiary = 55 unclassified = 25 residential = 40 living_street = 10 service = 30 ferry = 5 pier = 5 obeyPollards = 1 useRestrictions = 1
[bike] trunk = 16 trunk_link = 16 primary = 16 primary_link = 16 secondary = 16 secondary_link = 16 tertiary = 16 unclassified = 16 residential = 16 living_street = 16 service = 16 track = 16 cycleway = 16 path = 16 ferry = 5 pier = 5 obeyPollards = 0 useRestrictions = 0
guess i don't specify bicycle anywhere in the request - what profile is used then?
The first profile in the ini file is used. KML is broken in so many ways and it's going to be removed soon. I am closing this issue therefore.
can i choose the profile when i request a route?
No, you have to specify beforehand or hack the server to hold routing data for several profiles simultaneously.
~$ curl "http://localhost:5000/route&55.69412&12.55245&55.68923&12.55311"
<?xml version="1.0" encoding="UTF-8"?>