logo separator

[mkgmap-dev] default style and underground pipelines

From Marko Mäkelä marko.makela at iki.fi on Thu Mar 13 09:22:51 GMT 2014

On Thu, Mar 13, 2014 at 09:46:26AM +0100, chris66 wrote:
>Something like:
>man_made=* & location=underground {delete man_made}
>in front of the main rule.

Yes, and maybe others, such as:

man_made=* & tunnel=yes {delete man_made}

But, there could be a caveat. What is the scope of "delete"? If a 
polygon rule uses "delete", will the tag be visible in a line rule? Or 
vice versa?

By the way, the man_made=* rule at the bottom could accidentally catch 
some man_made that were skipped because of area=yes earlier. I think 
that we should do one of:

man_made=* & area=yes {delete man_made}

or add area!=yes to the cable/pipe rule.

If the delete action could interfere with rules in other files, I guess 
we should change the bottom rule from

man_made=cable|(man_made=* & man_made ~ '.*pipe.*')

to something like this:

(man_made=cable|(man_made=* & man_made ~ '.*pipe.*')) & area!=yes & 
tunnel!=yes & location!=underground


More information about the mkgmap-dev mailing list