logo separator

[mkgmap-dev] [PATCH v1] - clone ways that contain some tag pairs

From Mark Burton markb at ordern.com on Sun Jul 5 20:44:25 BST 2009

Hi Thilo,

> I think it would be advantageous to generalize this kind of behaviour.  
> What about a "continue" flag in the Garmin type definition in the  
> style files? This continue flag would indicate that a match with that  
> rule generates a copy of the way, but that the processing continues  
> with the next match. For example:
> 
> boundary=administrative [0x1e resolution 12 continue]
> highway=primary [0x06 level 12]
> 
> This would have the same effect as your new command in that with the  
> boundary=... line one copy of the way is generated, but the processing  
> for that way is continued with the highway=... line and another way is  
> generated. The advantage of this is that it is also very useful for  
> POIs, where the tags on one node might indicated the generation of  
> different POI entries for the same node. It would also make the not- 
> very-well-documented and buggy overlays style file obsolete. And it  
> gives a good start to deal with the encoding of different values for  
> the same key with the ;-syntax, which is currently ignored by mkgmap.
> 
> What do you think about it?

Sounds like a good idea.

I can see that my offering is very narrow in it's scope. It maybe
solves a small problem when there's actually a somewhat bigger problem
to solve.

However, I know zilch about the style stuff (and I don't want to know
about it, yuk!) so someone else can think about implementing your
suggestion.

Cheers,

Mark



More information about the mkgmap-dev mailing list