You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.
Reporter: phicoh [Submitted to the original trac issue database at 4.46pm, Wednesday, 29th July 2009]
Gosmore fails during the generation of output for QUERY_STRING when a resulting route uses ways that are part of a cycle network.
The problem is that the cyclenet code in RebuildPak assigns style types that are not in the STYLES macro and therefore not in the klasTable array that gosmore uses to generate road types.
On FreeBSD this results in a crash, on Linux the road type is displayed as '(null)'
The attached patch fixes this in two ways: the code that generates output is modified to print '(unknown-style)' if the style type is not in klasTable. The patch also adds the styles of the cyclenet in the default elemstyles.xml to the STYLES macro.
The text was updated successfully, but these errors were encountered:
Reporter: phicoh
[Submitted to the original trac issue database at 4.46pm, Wednesday, 29th July 2009]
Gosmore fails during the generation of output for QUERY_STRING when a resulting route uses ways that are part of a cycle network.
The problem is that the cyclenet code in RebuildPak assigns style types that are not in the STYLES macro and therefore not in the klasTable array that gosmore uses to generate road types.
On FreeBSD this results in a crash, on Linux the road type is displayed as '(null)'
The attached patch fixes this in two ways: the code that generates output is modified to print '(unknown-style)' if the style type is not in klasTable. The patch also adds the styles of the cyclenet in the default elemstyles.xml to the STYLES macro.
The text was updated successfully, but these errors were encountered: