
Hi, Clinton, Clinton Gladstone wrotes: <mailto:mkgmap-dev%40lists.mkgmap.org.uk?Subject=Re:%20%5Bmkgmap-dev%5D%20%5BPATCH%5D%20Display%20road%20name%20instead%20of%20ref%20in%20routing%0A%09directions&In-Reply-To=%3C4dda9d8f0910280501k761f41bdn5e8f399bbc75c1bc%40mail.gmail.com%3E> *on* /Wed Oct 28 12:01:24 GMT 2009/
Since this may significantly improve routing directions in certain circumstances, I would appreciate your feedback.
Actually i can't see any improvements in routing. The routing seems to be the same , not worse and not better as before. But i will pay attention of it.
Some additional comments:
- display_name may not be the best name for the style file tag.
hmh, something like "turninstruction_name" would be more meaningful but maybe a little bit long.
- The patch to StyledConverter.java simply prepends the display_name to the list of references. This takes advantage of the side-effect that the refs are all written sequentially as additional labels. It might be a cleaner approach to directly write the display name as a secondary label, but the patch was a very quick and cheap way of testing this concept.
Sorry but i don't know whats't the pros/cons of the both ways. I can only say that the patch works for me(as far as i can see in the moment) and with the flexibility given in the style file it's a prakticable + good way to deal with the label. cheers Gert