logo separator

[mkgmap-dev] possible bug? mkgmap freezes with lines only routing style

From Henning Scholland osm at aighes.de on Sat Oct 29 15:33:50 BST 2011

Am 29.10.2011 15:57, schrieb Steve Ratcliffe:
> Hi
>
> I would like some opinions please from those that make maps.
>
> If you have a style that say sets the name of every path to 'Path'
>
>     eg: highway=path | highway=footway | highway=track {name 'Path' }
>
> or anything similar that results in thousands of roads with the same
> name, then mkgmap appears to freeze.
>
> The code that is slow is creating a list of roads that will be used
> when you search for an address in MapSource or on the device.
>
> I can fix this in various ways, but I want to ask how useful it is to
> have thousands of roads with the same name appear as a result of a
> search?
>
> For a start in mapsource, you only see a few of the results anyway.
>
> Should I drop the name completely from the index when there are more
> than say 500 roads with the same name in the same city?
>
> There is a branch called simplify-sorted-roads where I am trying out
> different approaches to the problem, if anyone else wants to try it out
> or look at it.
I think it would be better to control it via style-file. Eg. you should 
add a tagg like mkgmap:nomerge=yes for such ways.

Henning
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20111029/2dbd0e8d/attachment.html 


More information about the mkgmap-dev mailing list