Is there a possibility to display highway symbols without putting the reference into the name?

Is there currently a possibility with mkgmap to display highway symbols without adding them to the name? The following format: highway=motorway {name '${ref|highway-symbol:hbox} ${name}' } causes problems with searching streets, if you know the streetname but not the ref and want to search for an adress. Trying to get the reference out of the name while still displaying the highway-symbol boxes I did not find out a way how to do this. (also changing to the following format is not working properly (but I would prefer to drop it from the name completely): {name '${name} ${ref|highway-symbol:hbox}' }

Hi Felix,
Is there currently a possibility with mkgmap to display highway symbols without adding them to the name?
The following format: highway=motorway {name '${ref|highway-symbol:hbox} ${name}' }
causes problems with searching streets, if you know the streetname but not the ref and want to search for an adress. Trying to get the reference out of the name while still displaying the highway-symbol boxes I did not find out a way how to do this.
(also changing to the following format is not working properly (but I would prefer to drop it from the name completely): {name '${name} ${ref|highway-symbol:hbox}' }
As it works now, I don't think you can achieve what you want. IMHO, it's fundamentally broken in that the name/ref/highway shield info is all munged together far too early. It needs rewriting to keep them separate as long as possible. Cheers, Mark

Mark Burton wrote:
Hi Felix,
Is there currently a possibility with mkgmap to display highway symbols without adding them to the name?
The following format: highway=motorway {name '${ref|highway-symbol:hbox} ${name}' }
causes problems with searching streets, if you know the streetname but not the ref and want to search for an adress. Trying to get the reference out of the name while still displaying the highway-symbol boxes I did not find out a way how to do this.
(also changing to the following format is not working properly (but I would prefer to drop it from the name completely): {name '${name} ${ref|highway-symbol:hbox}' }
As it works now, I don't think you can achieve what you want. IMHO, it's fundamentally broken in that the name/ref/highway shield info is all munged together far too early. It needs rewriting to keep them separate as long as possible.
Cheers,
Mark _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
Thanks for your answer - that is what I guessed (I read up a bit in the code and could not find any possibility to achieve it)... So for now it means that either searching for address or highway:symbol boxes can be used - otherwise likely that you don't find the street.

Just to add to my previous "bug" report, ref should be clipped to have only ONE letter preceding the number, otherwise it is dropped for highway:symbol boxes. (at least neither displayed in Mapsource nor on my Vista HCx). Also letters following numbers have to be kept to one letter only. Good: L999A Good: L999 Good: 999A Good: 99 Good:0 (actually it would be great if there were a possibility to drop "ref=0" - never seen it in reality, but often placed in map data for streets without reference at all) Incorrect: EV6 --> should be clipped to E6 (better than not displaying it at all I think) Incorrect: 6EV --> should be clipped to 6E Incorrect:EV6EV --> should be clipped to E6E (this ads to the bug that the ref must be put before the name of the street, which is really lousy for the address search). Good Night, Felix

Quoting Felix Hartmann <extremecarver@googlemail.com>:
Just to add to my previous "bug" report, ref should be clipped to have only ONE letter preceding the number, otherwise it is dropped for highway:symbol boxes. (at least neither displayed in Mapsource nor on my Vista HCx). Also letters following numbers have to be kept to one letter only. Good: L999A Good: L999 Good: 999A Good: 99 Good:0
(actually it would be great if there were a possibility to drop "ref=0" - never seen it in reality, but often placed in map data for streets without reference at all) Incorrect: EV6 --> should be clipped to E6 (better than not displaying it at all I think) Incorrect: 6EV --> should be clipped to 6E Incorrect:EV6EV --> should be clipped to E6E
(this ads to the bug that the ref must be put before the name of the street, which is really lousy for the address search).
Good Night, Felix France has a lot of roads named (for example) D32E5, or D13E7. How are these being treated at the moment?
-- Charlie

charlie@cferrero.net wrote:
Quoting Felix Hartmann <extremecarver@googlemail.com>:
Just to add to my previous "bug" report, ref should be clipped to have only ONE letter preceding the number, otherwise it is dropped for highway:symbol boxes. (at least neither displayed in Mapsource nor on my Vista HCx). Also letters following numbers have to be kept to one letter only. Good: L999A Good: L999 Good: 999A Good: 99 Good:0
(actually it would be great if there were a possibility to drop "ref=0" - never seen it in reality, but often placed in map data for streets without reference at all) Incorrect: EV6 --> should be clipped to E6 (better than not displaying it at all I think) Incorrect: 6EV --> should be clipped to 6E Incorrect:EV6EV --> should be clipped to E6E
(this ads to the bug that the ref must be put before the name of the street, which is really lousy for the address search).
Good Night, Felix
France has a lot of roads named (for example) D32E5, or D13E7. How are these being treated at the moment?
I don't know. You could try it out... I just noticed that :box and :hbox are strict about the content. The above "incorrect" examples DO work however for :oval. So now I have to rethink how to structure it as long as we have no clipping.
participants (3)
-
charlie@cferrero.net
-
Felix Hartmann
-
Mark Burton