logo separator

[mkgmap-dev] [PATCH v2] - Code around highway shield crap when sorting labels

From Mark Burton markb at ordern.com on Thu Mar 18 21:12:58 GMT 2010

v2 - remove more duplicate labels that only differ in letter case -
remove leading spaces from labels even if they start with a Garmin code.

Still something wrong with motorway names because on the UK map, only
the M74 appears in the mapsource road names - all other motorways are
missing - very odd.

-------

This patch codes around the problems introduced by highway
shields with regard to the sorted roads:

1 - the sort order should now be much improved

2 - no duplicate symbols (shield version + non-shield version)

It also includes a fix to the label reading code so that labels with a
highway shield prefix are read in correctly when generating the MDR
file.

For me, in mapsource, road search for roads with highway shields now
works apart from motorways which don't seem to searchable - perhaps
that's deliberate on Garmin's part?


All feedback appreciated.

Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mb-road-sorting-fixes-v2.patch
Type: text/x-patch
Size: 9462 bytes
Desc: not available
Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20100318/12d876d8/attachment.bin 


More information about the mkgmap-dev mailing list