logo separator

[mkgmap-dev] multipolygons: how to flag role=inner role=outer in Style file?

From Marko Mäkelä marko.makela at iki.fi on Sat Feb 27 20:20:14 GMT 2010

Hi Minko,

> The tag natural=water is not assigned to the relation (only  
> type=multipolygon) so this is not working.
> 
> Is it possible to write a condition for role=outer & natural=water
> { apply role=inner { set natural=land  } } ??

As I wrote in my initial reply, my understanding is the only currently  
available conditions to apply are role=string (not even role~regexp)  
and the attributes of the relation. You cannot restrict apply based on  
member type (node, way, relation) or attributes. It would be useful to  
have that. I would also like to be able to sort relations before apply,  
so that name or ref can be appended in a sensible order (administrative  
boundaries, multiple routes sharing the same way or bus stops, etc.)

	Marko



More information about the mkgmap-dev mailing list