[mkgmap-dev] highway shields in label occasionally droppedFrom Clinton Gladstone clinton.gladstone at googlemail.com on Thu Nov 5 18:19:28 GMT 2009
On Thu, Nov 5, 2009 at 7:04 PM, Gert Münzel <Gert.Muenzel at netcologne.de> wrote: > The "BUS US-127" is simply to long for displaying it in a highway > shield on GPS. > Isn't there a way dealing with this via stylefile?. e.g looking up the > content of REF and checking if there is a "BUS " at the beginning and > then cutting of this "BUS " so that only "US-127" remains which then is > displayable ? > Just an idea of a poor man having less experience with style files. At the moment, this is not possible. I believe we did have some discussion about allowing regular expressions in the style files, but the approach and necessary syntax seemed somewhat unwieldy. Also, in this example, I think the "BUS" in "BUS US-127" stands for "Business Loop", which is distinct from the main "US-127", so dropping the "BUS" could be potentially misleading. We certainly seem to have a problem, because it is hard to determine exactly what is reasonable to display in the highway shields. This can be quite subjective too. Right now with the code, I am getting things like "Südring" appearing as shields, which doesn't really seem right. (This is why I thought about lowering the limit for alpha-only strings.) Let's do some more thinking about a flexible solution. Cheers.
- Previous message: [mkgmap-dev] highway shields in label occasionally dropped
- Next message: [mkgmap-dev] highway shields in label occasionally dropped
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list