Open benadikt opened 4 years ago
@benadikt the identifier of an accident is the three: id, provider_code and year you won't find such anomalies when using the three as identifier
Also in both involved_markers_hebrew or makers_hebrew you will find longitude and latitude and road_segment_name or road_segment_number - no need to join them
Just to clarify - not all accidents in the same segments need to have the same lon lat - but you can check me on this one and perhaps prove me wrong?
not all accidents in the same segments need to have the same lon lat
Lets put them on the map one by one and see the anomalies
Also in both involved_markers_hebrew or makers_hebrew you will find longitude and latitude and road_segment_name or road_segment_number - no need to join them
Also taken but because of platform, and the query as been perform not in real time. there are no significance to join two tables even if not necessity.
@benadikt not sure what you mean by that. If you have a specific example of an anomaly please share, if not I think we can close this issue for now.
@benadikt after a discussion wit Dror - Dror will continue exploring this issue - since it's important to validate the road segments we are counting on. @benadikt Great work! @inbalbeka @elashahar01 FYI
When running the next query:
Select markers.longitude,markers.latitude From involved_markers_hebrew,markers where markers.id = involved_markers_hebrew.accident_id and involved_markers_hebrew.road_segment_number= 80 and involved_markers_hebrew.road1=1 limit 100
all lat and long are pretty much the same except two that are off limit, Write small alg that can find and correct anomalies like that