Skip to content

Commit d904e02

Browse files
committed
Update reject section for imposm
1 parent 0ad1418 commit d904e02

File tree

5 files changed

+28
-64
lines changed

5 files changed

+28
-64
lines changed

images/tiler-imposm/config/imposm3.json

Lines changed: 14 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -339,12 +339,9 @@
339339
],
340340
"type": "relation_member",
341341
"filters": {
342-
"reject": [
343-
[
344-
"area",
345-
"yes"
346-
]
347-
]
342+
"reject": {
343+
"area": ["yes"]
344+
}
348345
},
349346
"mappings": {
350347
"railway": {
@@ -557,12 +554,9 @@
557554
]
558555
},
559556
"filters": {
560-
"reject": [
561-
[
562-
"boundary",
563-
"administrative"
564-
]
565-
]
557+
"reject": {
558+
"boundary": ["administrative"]
559+
}
566560
}
567561
},
568562
"water_areas": {
@@ -1534,12 +1528,9 @@
15341528
],
15351529
"type": "linestring",
15361530
"filters": {
1537-
"reject": [
1538-
[
1539-
"area",
1540-
"yes"
1541-
]
1542-
]
1531+
"reject": {
1532+
"area": ["yes"]
1533+
}
15431534
},
15441535
"mappings": {
15451536
"railway": {
@@ -1817,20 +1808,11 @@
18171808
],
18181809
"type": "linestring",
18191810
"filters": {
1820-
"reject": [
1821-
[
1822-
"area",
1823-
"yes"
1824-
],
1825-
[
1826-
"natural",
1827-
"coastline"
1828-
],
1829-
[
1830-
"boundary",
1831-
"administrative"
1832-
]
1833-
]
1811+
"reject": {
1812+
"area": ["yes"],
1813+
"natural": ["coastline"],
1814+
"boundary": ["administrative"]
1815+
}
18341816
},
18351817
"mappings": {
18361818
"landuse": {

images/tiler-imposm/config/layers/landuse_lines.json

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -54,20 +54,11 @@
5454
],
5555
"type": "linestring",
5656
"filters": {
57-
"reject": [
58-
[
59-
"area",
60-
"yes"
61-
],
62-
[
63-
"natural",
64-
"coastline"
65-
],
66-
[
67-
"boundary",
68-
"administrative"
69-
]
70-
]
57+
"reject": {
58+
"area": ["yes"],
59+
"natural": ["coastline"],
60+
"boundary": ["administrative"]
61+
}
7162
},
7263
"mappings": {
7364
"landuse": {

images/tiler-imposm/config/layers/relations.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,9 @@
4747
]
4848
},
4949
"filters": {
50-
"reject": [
51-
[
52-
"boundary",
53-
"administrative"
54-
]
55-
]
50+
"reject": {
51+
"boundary": ["administrative"]
52+
}
5653
}
5754
}
5855
}

images/tiler-imposm/config/layers/transport_lines.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -129,12 +129,9 @@
129129
],
130130
"type": "linestring",
131131
"filters": {
132-
"reject": [
133-
[
134-
"area",
135-
"yes"
136-
]
137-
]
132+
"reject": {
133+
"area": ["yes"]
134+
}
138135
},
139136
"mappings": {
140137
"railway": {

images/tiler-imposm/config/layers/transport_multilines.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -143,12 +143,9 @@
143143
],
144144
"type": "relation_member",
145145
"filters": {
146-
"reject": [
147-
[
148-
"area",
149-
"yes"
150-
]
151-
]
146+
"reject": {
147+
"area": ["yes"]
148+
}
152149
},
153150
"mappings": {
154151
"railway": {

0 commit comments

Comments
 (0)