Opened 7 years ago
Last modified 7 years ago
#16783 closed defect
[PATCH] small fix for landuse + building warning — at Initial Version
| Reported by: | naoliv | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | 18.09 |
| Component: | Core validator | Version: | |
| Keywords: | building landuse regression | Cc: |
Description
With an object having landuse + building we see a warning saying suspicious tag combination - landuse together with landuse
Changing the order fixes this:
-
data/validator/combinations.mapcss
diff --git a/data/validator/combinations.mapcss b/data/validator/combinations.mapcss index ecfb1ab15..683293fe5 100644
a b node[amenity][amenity =~ /^(restaurant|cafe|fast_food)$/][!name][noname!=yes] { 359 359 way[highway][barrier], 360 360 *[highway][waterway][waterway!=dam][waterway!=weir], 361 361 way[highway][natural][natural!=ridge], 362 *[landuse][ landuse!=retail][building] {362 *[landuse][building][landuse!=retail] { 363 363 throwWarning: tr("{0} together with {1}", "{0.key}", "{1.key}"); 364 364 group: tr("suspicious tag combination"); 365 365 assertNoMatch: "node highway=street_lamp natural=birds_nest"; … … way[highway][lanes][!lanes:forward][!lanes:backward][oneway!=yes][oneway!=-1][ju 522 522 assertNoMatch: "way highway=primary lanes=3 oneway=-1"; 523 523 assertNoMatch: "way highway=primary lanes=4"; 524 524 assertMatch: "way highway=primary lanes=3"; 525 } 526 No newline at end of file 525 }
Note:
See TracTickets
for help on using tickets.


