logo separator

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

From Mark Burton markb at ordern.com on Thu Mar 18 22:38:04 GMT 2010

v4 - found the motorways (and a load of other roads too!)

--------

v3 - now works harder to clean up road names for use in MDR file - not
sure if this will have a beneficial effect but it could possibly fix
the issue recently reported by Felix.

Motorways are still not showing up.

-------

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-v4.patch
Type: text/x-patch
Size: 10649 bytes
Desc: not available
Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20100318/e0512e0e/attachment.bin 


More information about the mkgmap-dev mailing list