kartaview / openstreetcam.org

The openstreetcam.org web site
MIT License
75 stars 10 forks source link

Allow snapping to ways other than roads #38

Open ToeBee opened 8 years ago

ToeBee commented 8 years ago

I have just uploaded some pictures taken on a bicycle trail in Kansas City. Your snap-to-road algorithm made a right mess of it. Here is a view of the area: http://openstreetview.com/map/@38.94669344880181,-94.57956075668335,15z

As you can see, it now shows coverage on random disconnected roads. I was actually riding along this trail: http://www.openstreetmap.org/way/330673768

So a couple of things: 1) Maybe don't force every picture to snap to a road. If it is more than a few 10s of meters away from an OSM way, the way is either missing in OSM or the pictures were not taken along a road so forcing it to snap to a road is not going to end well. Even the worst GPS receivers aren't THAT bad. 2) Based on average speed of the sequence you could selectively snap to higher/lower classes of roads/paths.

martijnv-telenav commented 8 years ago

Another way to potentially deal with this -- allow user to toggle map matching for a trip

james2432 commented 8 years ago

Example: http://openstreetview.com/details/9577/251 is a bike path and is a segment in OSM, but the openstreetview site it will only stop at the roadway: http://openstreetview.com/map/@45.489084177296014,-75.51935166120528,18z

RafalR commented 8 years ago

Binding photos to roads many times is incorrect and I think this is desing error. For example in this way nothing was recorded.

james2432 commented 8 years ago

Here's another track this issue messed up: http://openstreetview.com/details/17229/28 image

ihbutler commented 6 years ago

New contributor here. I'm having the same issue: https://openstreetcam.org/details/1125653/0 The track follows my route faithfully in the OSC details locator map, but not on the main map. I'd like to continue mapping with OSC, but being able to correctly map pedestrian and bike paths is essential for me.

alexandrui-telenav commented 6 years ago

Hi @ihbutler, unfortunately no further action was taken for this matter so far. We're aware of it and know it's highly important for many of our users, but it's one of those things.. To be clear, although the main map of OSC displays the track segments quite badly in some cases like pedestrian trails and a few others, it's more of a matter of visualisation than data collecting & storing problem. The actual GPS points are saved correctly ( as you can see in the track details ) and the OSM plugins show the tracks correctly. The problem comes from matching the tracks to the roads with the purpose of aggregating them, which produces.. that. There's a solution in sight with pedestrian roads support and fresh OSM base map, but to be frank I can't promise a timeline for that. When it'll happen, however, all existing data will be rematched and corrected so nothing previously uploaded is lost.

dreirund commented 2 years ago

I today also made some contributions to KartaView.

I travelled on the tram and took pictures from the tram's rear window, then I was walking a footpath.

The matching was completely wrong. I was walking at the tram stop in one direction, the stop is in between two roads. The fotos were matched sometimes to the one, sometimes to the other road. But not to the tram stop's platform (which is mapped!). Then I was on the tram. Partly, the tramway goes distinct from the road. It was matched to nearby roads. At the end, I was walking a footway. The matching for some time stayed at the road, only when the distance to the road got too big it "jumped" to my footpath.

Please allow for advanced matching settings in the app (e.g. to specify on which map features I am walking/ riding/ ... to match against those, which also can be rail lines or waterways, or if I am in an unmapped area), or turn off map-based matching completely and calculate matching by extracting image features (like panorama stitching tools do).

Regards!