Opened 11 years ago

Last modified 5 years ago

#10391 closed enhancement

Add support for "not element of" operator (!∈) — at Initial Version

Reported by: Don-vip Owned by: team
Priority: major Milestone: 19.05
Component: Core validator Version:
Keywords: mapcss spatial operator building hangar aeroway barn Cc: simon04, bastiK, lists@…

Description

I'd like to write this validator rule:

/* Many misuses of building=hangar insteaf of building=barn because it's the same word in French */
*[building=hangar][!aeroway] ! *[aeroway] {
  throwWarning: tr("{0} not inside {1}", "{0.tag}", "{2.key}");
}

It's not possible yet, is it possible to add !∈ as a new spatial operator (negation of element of)?

Change History (0)

Note: See TracTickets for help on using tickets.