1

I'm just starting to read the tutorial for pgRouting and the first issue that troubles me is the origin of the "base map" to feed pgRouting with. I'm aware that there's available a tool called osm2pgrouting, which converts OpenStreetMaps data into pgRouting compatible ones. But I'm not sure if it is the correct/best source for this info, although it clearly might be a starting point and is fairly easy to get it.

What are the other possible source options for this purpose?

I work in an AVL company so, we gather second by second lots of GPS data from vehicles, which we don't actually process to "connect the dots" and turn them into streets, but I'm not sure if this actually helps or not.

Data needed for this project would be for Chile and, as starting point only for the city of Santiago.

  • 1
    what type of routing will you be doing? osm2pgrouting gets you up and running with pgRouting very quickly and accurately... – DPSSpatial Jul 5 '17 at 17:02
  • I don't know the exact algorithm we'll be using yet, but we need to compute the best route for pickup and "delivery" of passengers. On a broader goal, those routes must be "weighted" with different passengers and distributed in several vehicles, to achieve the most cost-effective planning possible. – gvasquez Jul 5 '17 at 17:10
  • 1
    All that is possible using OSM with pgRouting, but applying weights to the OSM data might be your biggest hurdle. Otherwise, the pgRouting tutorials describe how to prepare your own data for use in pgRouting: workshop.pgrouting.org/2.2.10/en/chapters/topology.html – DPSSpatial Jul 5 '17 at 18:16
  • I guess weight might come from a mean speed in a specified window time from our own data and, thanks for the link! – gvasquez Jul 5 '17 at 18:24
  • Let us know if you have any more questions or issues...! – DPSSpatial Jul 5 '17 at 18:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.