Hi Henning,
style functions can only be used to get a boolean value and not for an
action.
What you are looking for is a delete all action. I remember that
something like this exits but I couldn't find the exact name. Maybe
someone else knows how all tags from an element could be removed (which
is the same like stoop-processing()). Otherwise it could be implemented
easily.
WanMil
> Hi,
> in OSM-data there are several objects having something like disused=yes
> or abandonned=yes. It's pretty hard and confusing to add disused!=yes
> and so on to each object in style-file. So I thought about another
> possibility toget rid of these objects.
>
> It would be very easy if it would be possible to stop style-processing
> of actual object, if it matches one rule. E.g.
>
> disused=yes { stop-processing() }
>
> Would something like this be useful at all, or am I the only one? Or is
> there already a workaround?
>
> Henning
>
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev