logo separator

[mkgmap-dev] option to omit road refs from index:

From Mike Baggaley mike at tvage.co.uk on Tue Jul 21 14:14:36 BST 2015

Hi Gerd, ideally I was looking for a solution  where we had something like mkgmap:noindex in the style to cause the label to be omitted from the index. I had a look at implementing this but came unstuck because as far as I can tell, the code that adds the index creates this from data that it reads back from the img file, which of course doesn't contain any mkgmap specific information.

There are a number of cases where mkgmap:noindex would be useful:

In the case where highway shields are used, I would prefer not to include the road number in the address index, so that when you type "A" you just get road names beginning with A, instead of A1, A11, A135 etc.
I allow (walking) routing along piers, the edges of carparks and other non-highways. If these have names, they also get included as road names in the address index and I would prefer to omit them.

I came up with the -- omit-highway-refs-from-index code as an alternative that achieved something of what I wanted, but if you can suggest a way to do this from the style, that would be better.

Regards,
Mike

mkgmap-dev-request at lists.mkgmap.org.uk wrote:

>Send mkgmap-dev mailing list submissions to
>	mkgmap-dev at lists.mkgmap.org.uk
>
>To subscribe or unsubscribe via the World Wide Web, visit
>	http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>or, via email, send a message with subject or body 'help' to
>	mkgmap-dev-request at lists.mkgmap.org.uk
>
>You can reach the person managing the list at
>	mkgmap-dev-owner at lists.mkgmap.org.uk
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of mkgmap-dev digest..."
>
>Today's Topics:
>
>   1. Re: option to omit road refs from index (Gerd Petermann)
>   2. Re: Numbering loss in the version which came after the r3602
>      (Gerd Petermann)
>
>_______________________________________________
>mkgmap-dev mailing list
>mkgmap-dev at lists.mkgmap.org.uk
>http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20150721/8ba62ddc/attachment.html>


More information about the mkgmap-dev mailing list