Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

gosmore does not route over ways with 'bridge=no' #2104

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 2 comments
Closed

gosmore does not route over ways with 'bridge=no' #2104

openstreetmap-trac opened this issue Jul 23, 2021 · 2 comments

Comments

@openstreetmap-trac
Copy link

Reporter: phicoh
[Submitted to the original trac issue database at 10.47am, Monday, 27th July 2009]

Gosmore (svn 16655) does not route over ways that are tagged with 'bridge=no'. The problem is that the line '' in elemstyles.xml causes the tpye of the way to be set to the bridge=no rule, instead of to the actual rule that corresponds to the highway.

Simple fix (attached) remove this line from elemstyles.xml

Longer fix: replace (in RebuildPak in libgosm.cpp the condition "srec[newStyle].lineColour != -1 || srec[newStyle].areaColour != -1" with something that tests for the presence of a routing attribute.

@openstreetmap-trac
Copy link
Author

Author: lambertus
[Added to the original trac issue at 11.33am, Monday, 27th July 2009]

(In [16703]) Added patch to remove brdige=no line (refs #2104)

@openstreetmap-trac
Copy link
Author

Author: mmd
[Added to the original trac issue at 6.49pm, Tuesday, 19th May 2020]

Gosmore project is no longer active, closing.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant