[pgrouting-users] osm2pgrouting mapconfig.xml documentation

Is there complete documentation for the configuration file used by osm2pgrouting? I can’t find anything on Github or the project page. I have the following specific questions:

  1. My routing algorithm will often need more than a single tag. For example, if a way is tagged “highway:primary” but also tagged with “cycleway:lane” I need both pieces of information. How does osm2pgrouting handle this and how do I set something in mapconfig.xml to account for it?
  2. Is it possible to include tags on nodes during import? My routing also needs to know the location of traffic signals, which are often tagged at junctions. Can this be done in mapconfig.xml?
    Thanks,

Spencer

p.s. Apologies if this isn’t the right list for this question. As far as I can tell there is no dedicated list for osm2pgrouting questions.

Hi Spencer,

Asking on this list is not a bad idea.
osm2pgrouting’s documentation is right now a Wiki page on Github:
https://github.com/pgRouting/osm2pgrouting/wiki/Documentation-for-osm2pgrouting-v2.1

And there is a chapter about osm2pgrouting in the workshop:
http://workshop.pgrouting.org/2.1.0-dev/en/chapters/osm2pgrouting.html

Have you checked the tables created during osm2pgrouting?

Best regards,
Daniel

···

On Fri, Sep 16, 2016 at 12:59 AM, Spencer Gardner <spencergardner@gmail.com> wrote:

Is there complete documentation for the configuration file used by osm2pgrouting? I can’t find anything on Github or the project page. I have the following specific questions:

  1. My routing algorithm will often need more than a single tag. For example, if a way is tagged “highway:primary” but also tagged with “cycleway:lane” I need both pieces of information. How does osm2pgrouting handle this and how do I set something in mapconfig.xml to account for it?
  2. Is it possible to include tags on nodes during import? My routing also needs to know the location of traffic signals, which are often tagged at junctions. Can this be done in mapconfig.xml?
    Thanks,

Spencer

p.s. Apologies if this isn’t the right list for this question. As far as I can tell there is no dedicated list for osm2pgrouting questions.


Pgrouting-users mailing list
Pgrouting-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/pgrouting-users

Georepublic UG & Georepublic Japan
eMail: daniel.kastl@georepublic.de
Web: https://georepublic.info