#10130 closed enhancement (fixed)
Exclude option/operator for MapCSS
| Reported by: | naoliv | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | 14.06 |
| Component: | Core validator | Version: | |
| Keywords: | mapcss | Cc: |
Description
Could MapCSS support some kind of option/operation to exclude other tags?
For example, I would like to search/validate objects that only have name=Foo or surface=paved or area=yes, without any other tags.
If the rule has [name] + the exclude option/operation, it shouldn't match anything except the object that has only a name key.
It should work the same way with multiple key/values.
For example, [name][surface][<magical exclude operator>] should match objects with only name + surface.
Attachments (0)
Change History (4)
comment:1 by , 12 years ago
comment:2 by , 12 years ago
Seems good.
It should give the same result, from what I see, and also opens up new possibilities for testing/validating/processing the data.
comment:4 by , 12 years ago
| Milestone: | → 14.06 |
|---|



What about an eval function that returns the number of tags?