osm2pgrouting icon indicating copy to clipboard operation
osm2pgrouting copied to clipboard

Missing documentation of mapconfig.xml

Open Langlaeufer opened this issue 4 years ago • 4 comments

as I understood: priority is for the order in which the entries are checked. (standard value is 0) maxspeed is the standard value for maxspeed and is use if the way has no maxspeed value. what is the standard value? in configuration-table is writen 40 but in ways-table is used 50 for all ways without maxspeed.

but: what is "force" for? has the "id" of the tag_name any meaning?

Langlaeufer avatar Jun 24 '20 16:06 Langlaeufer

Hi @Langlaeufer ,

  • 40 is default max_speed: https://github.com/pgRouting/osm2pgrouting/blob/2adbbf361af7cbd45b8821a498ed586bd64bbf65/src/configuration/tag_key.cpp#L75

  • The id has no meaning in OSM but the tag_name must be OSM tag.

Thanks,

cayetanobv avatar Jun 24 '20 17:06 cayetanobv

Thanks for your answer. I created an other ticket for the standard value of maxspeed, because this is not only a problem of documentation. Even in configuration table is writen 40 but in fact 50 us used for all ways without maxspeed tag

Langlaeufer avatar Jun 24 '20 17:06 Langlaeufer

more question: Is there a possibility to exclude (blacklist) values from importing. (for example bicycle=no) Is it possible to use wildcards or to notice a key with for all its possible values?

Force seems to add missing qoutes to parameters, but in which cases it is useful?

Are there more parameters (than id, priority, maxspeed, force) in mapconfig?

Langlaeufer avatar Jun 24 '20 19:06 Langlaeufer

more question: Is there a possibility to exclude (blacklist) values from importing. (for example bicycle=no) Is it possible to use wildcards or to notice a key with for all its possible values?

Force seems to add missing qoutes to parameters, but in which cases it is useful?

Are there more parameters (than id, priority, maxspeed, force) in mapconfig?

I have the same question..

rmarzocchi84 avatar May 09 '22 07:05 rmarzocchi84