mapbox / osm-navigation-map

A map to explore navigation data in OpenStreetMap
ISC License
28 stars 17 forks source link

Mapillary traces are not showing up when filtered based on days #97

Open bsrinivasa opened 8 years ago

bsrinivasa commented 8 years ago

The white traces indicating Mapillary coverage is not visible even though there is a Mapillary detection in the same locality. Once clicked on the detection, a trial indicating mapillary photos appears. This is not the case across the map but exists at few locations.

The white mapillary trace would help the team to quickly identify the regions with new mapillary trace when filtered for 'n' days. It also helps in determining the direction of travel during the mapillary drive which eases while analysing a turn restriction detection.

Few images below to depict the case.

screen shot 2016-11-22 at 11 26 49 am

screen shot 2016-11-22 at 11 27 12 am

cc: @ajithranka

ajithranka commented 8 years ago

Looks like there's a mismatch between the captured_at timestamp in the mapillary trail and the updated_at timestamp for a detected restriction. One possible reason could be that the detection algorithms are run at a latter time after a trail is first uploaded.

We should change the filtering logic to:

ajithranka commented 8 years ago

This turned out harder than I expected. Going to give an another try.