Hi,
I have two questions regarding the map matching functionality:
- While testing the map-matching functionality over the web interface, I tried to change the profile mode from car to bike. I submitted the following cURL request (changed ‘car’ to ‘bike’:
curl -XPOST -H “Content-Type: application/gpx+xml” -d @web/src/test/resources/bike_leg_4.gpx “localhost:8989/match?profile=bike&type=json”
but received the following IllegalArgumentException:
{“message”:“Could not find profile ‘bike’, choose one of: [car]”,“hints”:[{“message”:“Could not find profile ‘bike’, choose one of: [car]”,“details”:“java.lang.IllegalArgumentException”}]}
What exactly does the parameter ‘profile’ mean? And how do I change it to another vehicle?
- I am hoping to use the map matching functionality locally but I’m confused as to how to get this going: amongst the given Java files there does not seem to be any main file that I can run… can you give me a tip on this?