logo separator

[mkgmap-dev] --make-opposite-cycleways option

From Mike Baggaley mike at tvage.co.uk on Mon Mar 2 22:46:07 GMT 2015

Dear all,

When using the --make-opposite-cycleways option, I notice that the address
index adds a road name of the actual road name suffixed with " (cycleway)".
For me at least, this is undesirable. Also the generated name does not
conform to the OSM naming convention of not including any descriptive
information in names. I therefore propose that the name of an opposite
cycleway be set to the same as the original road name, and that users who
want to name the opposite cycleway differently should use the style file to
rename it.

In looking at the code that produces the opposite cycleway, I also believe
there is an error in the way it handles access tags - the code currently
sets access=no, bicycle=yes and foot=no, but ignores all other access tags.
Hence if (for example) the road has psv=yes on it, the generated cycleway
will also have psv=yes (unless I am misunderstanding something in the
handling of access tags). 

I therefore submit the attached patch for trial.

Regards,
Mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cycleway.patch
Type: application/octet-stream
Size: 1157 bytes
Desc: not available
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20150302/85da5021/attachment.obj>


More information about the mkgmap-dev mailing list