I currently have Route data in GTFS that I converted to GeoJSON format and stored in MongoDB. However, even the GTFS provided have still some shapefiles missing therefore a lot are still hovering over blocks and not on the road.
So I figured out that I could at least automate these lines to snap on the road from the provided XML file from OpenStreetMap. Can this be done in Python or JavaScript?
Of course not every on load, it would be nice that on my first and only run on that code it would also update the linestring in the database already. Would this be possible?
*possible problem I am anticipating would be the route's direction.