opentripplanner / OpenTripPlanner

An open source multi-modal trip planner
http://www.opentripplanner.org
Other
2.18k stars 1.02k forks source link

Routes are not updated #1941

Closed rajkumarmishra closed 3 years ago

rajkumarmishra commented 9 years ago

I downloaded the OSM data for small area and edited by adding few missing road links(subsequently assigned my own osm_id, full_id and), later i stored the OSM file locally and generated the graph.obj file. Now the problem i am facing is that routing is not happening through the roads i have added, however in some cases i am able to see the results where it is following through the updated links. here in the attachment you can see that for start and end point there are missing links in OTP map viewer because i have made changes in osm file and running it locally, but for few cases it fails and only follow the routes which is there in OSM. PS: I am using QGIS for editing .osm files by converting it into .shp and then convert it back to .osm to build graph.obj

I want to replicate this process for full city transport. suggest me a way out.

otp

buma commented 9 years ago

It is best if you use OSM editors without converting data. Like iD, Potlach, JOSM, Merkaartor. JOSM and Merkaator can also work on local files. So you can open OSM dumps make changes. Run OTP on those OSM files. And upload changes to OSM. Without conversion.

But like Andrew said it takes some time to see changes on map. Default map is MapQuest which seems to be updated every 15 minutes. If you want to see changes on a map faster you can use TileMill but here you also need to load OSM to database. There is also MapBox Studio which since it uses vector tiles probably uses newest data from OSM. More simple are Kosmos and its successor Maperitive those I think render map from OSM files directly

abyrd commented 3 years ago

This is about generating map tile images, which are outside the scope of OTP. Closing.