graphhopper / map-matching

The map matching functionality is now located in the main repository https://github.com/graphhopper/graphhopper#map-matching
https://www.graphhopper.com/open-source/
Apache License 2.0
785 stars 274 forks source link

Mapping sidewalk #22

Closed karthim closed 8 years ago

karthim commented 9 years ago

I am working on a project to infer the sidewalk from the GPX traces that are collected while the person is walking. The map-matching algorithm works perfectly to map the GPS points to the road, but is there any way i can infer which side of the road the user is walking. This would enable me to tag where the sidewalk is available on the street (i.e., right/left side of the road). I would appreciate, if you can could throw some pointers on how to achieve this with the graph hopper based map-matcher.

karussell commented 9 years ago

Thanks for this request and feedback. You could calculate this via the QueryResult and the way geometry (edge.fetchGeometry). But problems will start if GPS signal has to large error tolerance and indifferent results will come.

karthim commented 9 years ago

Thanks for the response. I am able to use the fetchGeometry to infer the side of the road. Is it possible to get the OSM properties of the edgematch. For example for a edgematch I would like to know if it is on the highway or footway.

karussell commented 8 years ago

See https://discuss.graphhopper.com/t/map-matching-osm-id-output/528 if it does not help, please ask there.