Merge pull request #911 from pietervdvn/kerbs-crossings
Kerbs and crossings theme
This commit is contained in:
commit
b86982c702
22 changed files with 946 additions and 59 deletions
|
@ -21,6 +21,13 @@
|
|||
"highway=unclassified",
|
||||
"highway=primary",
|
||||
"highway=secondary",
|
||||
"highway=tertiary_link",
|
||||
"highway=primary_link",
|
||||
"highway=secondary_link",
|
||||
"highway=service",
|
||||
"highway=footway",
|
||||
"highway=pedestrian",
|
||||
"highway=living_street",
|
||||
{
|
||||
"and": [
|
||||
"highway=path",
|
||||
|
@ -32,15 +39,23 @@
|
|||
},
|
||||
"title": {
|
||||
"render": {
|
||||
"en": "Cycleways",
|
||||
"nl": "Fietspaden",
|
||||
"de": "Radwege",
|
||||
"ru": "Велосипедные дорожки",
|
||||
"fr": "Pistes cyclables",
|
||||
"ca": "Vies ciclistes",
|
||||
"es": "Ciclovías"
|
||||
"en": "Way",
|
||||
"nl": "Weg"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"highway=cycleway",
|
||||
"name~*"
|
||||
]
|
||||
},
|
||||
"then": {
|
||||
"nl": "Fietsweg {name}",
|
||||
"en": "Cycleway {name}",
|
||||
"de": "Radweg {name}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"or": [
|
||||
|
@ -56,7 +71,19 @@
|
|||
"fr": "Piste cyclable",
|
||||
"ca": "Via ciclista",
|
||||
"da": "Cykelsti",
|
||||
"es": "Carril bici"
|
||||
"es": "Carril compartido"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"cycleway=shared_lane",
|
||||
"name~*"
|
||||
]
|
||||
},
|
||||
"then": {
|
||||
"nl": "Weg met fietssugestiestrook {name}",
|
||||
"en": "Road with shared lane {name}"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
@ -67,7 +94,19 @@
|
|||
"de": "Gemeinsame Fahrspur",
|
||||
"fr": "Voie partagée",
|
||||
"ca": "Carril compartit",
|
||||
"es": "Carril compartido"
|
||||
"es": "Vía ciclista al lado de la carretera"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"cycleway=lane",
|
||||
"name~*"
|
||||
]
|
||||
},
|
||||
"then": {
|
||||
"nl": "Weg met fietsstrook {name}",
|
||||
"en": "Road with bike lane {name}"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
@ -81,6 +120,18 @@
|
|||
"es": "Carril bici"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"cycleway=track",
|
||||
"name~*"
|
||||
]
|
||||
},
|
||||
"then": {
|
||||
"nl": "Weg met fietspad naast de weg {name}",
|
||||
"en": "Road with cycleway next to the road {name}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "cycleway=track",
|
||||
"then": {
|
||||
|
@ -92,6 +143,19 @@
|
|||
"es": "Vía ciclista al lado de la carretera"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"cyclestreet=yes",
|
||||
"name~*"
|
||||
]
|
||||
},
|
||||
"then": {
|
||||
"nl": "Fietsstraat {name}",
|
||||
"en": "Cyclestreet {name}",
|
||||
"de": "Fahrradstraße {name}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "cyclestreet=yes",
|
||||
"then": {
|
||||
|
@ -103,6 +167,10 @@
|
|||
"da": "Cykelgade",
|
||||
"es": "Ciclocalle"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "name~*",
|
||||
"then": "{name}"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -117,7 +185,8 @@
|
|||
"condition": {
|
||||
"and": [
|
||||
"highway!=cycleway",
|
||||
"highway!=path"
|
||||
"highway!=path",
|
||||
"highway!=footway"
|
||||
]
|
||||
},
|
||||
"mappings": [
|
||||
|
@ -246,7 +315,8 @@
|
|||
"condition": {
|
||||
"and": [
|
||||
"highway!=cycleway",
|
||||
"highway!=path"
|
||||
"highway!=path",
|
||||
"highway!=footway"
|
||||
]
|
||||
},
|
||||
"mappings": [
|
||||
|
@ -304,7 +374,8 @@
|
|||
"condition": {
|
||||
"and": [
|
||||
"highway!=cycleway",
|
||||
"highway!=path"
|
||||
"highway!=path",
|
||||
"highway!=footway"
|
||||
]
|
||||
},
|
||||
"mappings": [
|
||||
|
@ -828,7 +899,8 @@
|
|||
"condition": {
|
||||
"and": [
|
||||
"highway!=cycleway",
|
||||
"highway!=path"
|
||||
"highway!=path",
|
||||
"highway!=footway"
|
||||
]
|
||||
},
|
||||
"render": {
|
||||
|
|
92
assets/layers/kerbs/KerbIcon.svg
Normal file
92
assets/layers/kerbs/KerbIcon.svg
Normal file
|
@ -0,0 +1,92 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="500"
|
||||
height="500"
|
||||
id="svg2"
|
||||
version="1.1"
|
||||
inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)"
|
||||
sodipodi:docname="KerbIcon.svg">
|
||||
<defs
|
||||
id="defs4" />
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="2"
|
||||
inkscape:cx="304.38287"
|
||||
inkscape:cy="103.37718"
|
||||
inkscape:document-units="px"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="false"
|
||||
fit-margin-top="0"
|
||||
fit-margin-left="0"
|
||||
fit-margin-right="0"
|
||||
fit-margin-bottom="0"
|
||||
inkscape:window-width="3840"
|
||||
inkscape:window-height="2066"
|
||||
inkscape:window-x="2149"
|
||||
inkscape:window-y="-11"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:document-rotation="0">
|
||||
<inkscape:grid
|
||||
type="xygrid"
|
||||
id="grid2985"
|
||||
empspacing="5"
|
||||
visible="true"
|
||||
enabled="true"
|
||||
snapvisiblegridlinesonly="true"
|
||||
originx="-334.84375"
|
||||
originy="-479.73718"
|
||||
spacingx="1"
|
||||
spacingy="1" />
|
||||
</sodipodi:namedview>
|
||||
<metadata
|
||||
id="metadata7">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1"
|
||||
transform="translate(-334.84375,-558.61859)">
|
||||
<g
|
||||
id="g837"
|
||||
transform="matrix(32.352738,0,0,32.352738,-10498.292,-17490.849)">
|
||||
<path
|
||||
style="fill:#808080;fill-opacity:1;stroke:#000000;stroke-width:0.569125;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 335.15288,572.3216 h 4.00775 v -3.59195 l -1.19172,-3.53528 -0.81215,-0.0566 h -2.00388 z"
|
||||
id="path2987"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="ccccccc" />
|
||||
<path
|
||||
style="fill:#808080;fill-opacity:1;stroke:#000000;stroke-width:0.569125;stroke-linecap:butt;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 334.98545,565.19437 11.02133,-6.28593 c 1.62563,0.0118 2.38113,-0.13278 3.00583,0.89799 l 1.00194,2.69397 v 3.59197 l -11.02133,6.28592 v -3.59195 l -1.00194,-2.69397 c -0.46801,-1.25837 -1.61212,-0.898 -3.00583,-0.898 z"
|
||||
id="path3777"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cccccccsc" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:0.474271;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 338.99322,568.78634 11.02133,-6.28594"
|
||||
id="path3757"
|
||||
inkscape:connector-curvature="0" />
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 3.3 KiB |
7
assets/layers/kerbs/flush.svg
Normal file
7
assets/layers/kerbs/flush.svg
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="24" height="24" version="1.1" viewBox="0 0 6.35 6.35" xmlns="http://www.w3.org/2000/svg">
|
||||
<g transform="translate(15.081 -7.1438)">
|
||||
<rect transform="matrix(.70705 .70716 -.70705 .70716 0 0)" x="-3.2362" y="13.603" width="4.2255" height="4.2255" fill="#349340" stop-color="#000000" stroke="#bfe8c4" stroke-linecap="round" stroke-width=".26458"/>
|
||||
<path d="m-13.229 11.112h0.79375l1.0583-0.52917 0.79375 1e-6" fill="none" stop-color="#000000" stroke="#7fd28a" stroke-width=".52917" style="-inkscape-stroke:none;font-variation-settings:normal"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 611 B |
305
assets/layers/kerbs/kerbs.json
Normal file
305
assets/layers/kerbs/kerbs.json
Normal file
|
@ -0,0 +1,305 @@
|
|||
{
|
||||
"id": "kerbs",
|
||||
"name": {
|
||||
"en": "Kerbs",
|
||||
"nl": "Stoepranden"
|
||||
},
|
||||
"description": {
|
||||
"en": "A layer showing kerbs.",
|
||||
"nl": "Een laag met stoepranden."
|
||||
},
|
||||
"source": {
|
||||
"osmTags": "barrier=kerb"
|
||||
},
|
||||
"minzoom": 13,
|
||||
"title": {
|
||||
"render": {
|
||||
"en": "Kerb",
|
||||
"nl": "Stoeprand"
|
||||
}
|
||||
},
|
||||
"mapRendering": [
|
||||
{
|
||||
"location": [
|
||||
"point"
|
||||
],
|
||||
"icon": {
|
||||
"render": "./assets/layers/kerbs/KerbIcon.svg",
|
||||
"mappings": [
|
||||
{
|
||||
"if": "kerb=raised",
|
||||
"then": "./assets/layers/kerbs/raised.svg"
|
||||
},
|
||||
{
|
||||
"if": "kerb=lowered",
|
||||
"then": "./assets/layers/kerbs/lowered.svg"
|
||||
},
|
||||
{
|
||||
"if": "kerb=flush",
|
||||
"then": "./assets/layers/kerbs/flush.svg"
|
||||
},
|
||||
{
|
||||
"if": "kerb=no",
|
||||
"then": "./assets/layers/kerbs/no.svg"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"color": "#f44e42",
|
||||
"fill": "no",
|
||||
"width": "8"
|
||||
}
|
||||
],
|
||||
"tagRenderings": [
|
||||
{
|
||||
"id": "kerb-type",
|
||||
"question": {
|
||||
"en": "What is the height of this kerb?",
|
||||
"nl": "Hoe hoog is deze stoeprand?"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": "kerb=raised",
|
||||
"then": {
|
||||
"en": "This kerb is raised (>3 cm)",
|
||||
"nl": "Deze stoeprand is hoog (>3 cm)"
|
||||
},
|
||||
"icon": {
|
||||
"path": "./assets/layers/kerbs/raised.svg",
|
||||
"class": "small"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "kerb=lowered",
|
||||
"then": {
|
||||
"en": "This kerb is lowered (~3 cm)",
|
||||
"nl": "Deze stoeprand is verlaagd (~3 cm)"
|
||||
},
|
||||
"icon": {
|
||||
"path": "./assets/layers/kerbs/lowered.svg",
|
||||
"class": "small"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "kerb=flush",
|
||||
"then": {
|
||||
"en": "This kerb is flush (~0cm)",
|
||||
"nl": "Deze stoeprand is vlak (~0cm)"
|
||||
},
|
||||
"icon": {
|
||||
"path": "./assets/layers/kerbs/flush.svg",
|
||||
"class": "small"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "kerb=no",
|
||||
"then": {
|
||||
"en": "There is no kerb here",
|
||||
"nl": "Er is hier geen stoeprand"
|
||||
},
|
||||
"hideInAnswer": true,
|
||||
"icon": {
|
||||
"path": "./assets/layers/kerbs/no.svg",
|
||||
"class": "small"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "kerb=yes",
|
||||
"then": {
|
||||
"en": "There is a kerb of unknown height",
|
||||
"nl": "Er is een stoeprand met onbekende hoogte"
|
||||
},
|
||||
"hideInAnswer": true
|
||||
}
|
||||
],
|
||||
"condition": "_geometry:type=Point"
|
||||
},
|
||||
{
|
||||
"id": "tactile-paving",
|
||||
"question": {
|
||||
"en": "Is there tactile paving at this kerb?"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": "tactile_paving=yes",
|
||||
"then": {
|
||||
"en": "This kerb has tactile paving."
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "tactile_paving=no",
|
||||
"then": {
|
||||
"en": "This kerb does not have tactile paving."
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "tactile_paving=incorrect",
|
||||
"then": {
|
||||
"en": "This kerb has tactile paving, but it is incorrect"
|
||||
},
|
||||
"hideInAnswer": true
|
||||
}
|
||||
],
|
||||
"condition": "_geometry:type=Point"
|
||||
},
|
||||
{
|
||||
"id": "kerb-height",
|
||||
"question": {
|
||||
"en": "What is the height of this kerb?",
|
||||
"nl": "Hoe hoog is deze stoeprand?"
|
||||
},
|
||||
"render": {
|
||||
"en": "Kerb height: {{kerb:height}}",
|
||||
"nl": "Stoeprandhoogte: {{kerb:height}}"
|
||||
},
|
||||
"freeform": {
|
||||
"key": "kerb:height",
|
||||
"placeholder": {
|
||||
"en": "Height of the kerb",
|
||||
"nl": "Hoogte van de stoeprand"
|
||||
},
|
||||
"type": "pnat"
|
||||
}
|
||||
}
|
||||
],
|
||||
"presets": [
|
||||
{
|
||||
"title": {
|
||||
"en": "a kerb",
|
||||
"nl": "een stoeprand"
|
||||
},
|
||||
"tags": [
|
||||
"barrier=kerb"
|
||||
],
|
||||
"description": {
|
||||
"en": "Kerb in a footway",
|
||||
"nl": "Stoeprand in een voetpad"
|
||||
},
|
||||
"preciseInput": {
|
||||
"maxSnapDistance": 10,
|
||||
"preferredBackground": "photo",
|
||||
"snapToLayer": [
|
||||
"cycleways_and_roads",
|
||||
"kerbs"
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"filter": [
|
||||
{
|
||||
"id": "kerb-type",
|
||||
"options": [
|
||||
{
|
||||
"question": {
|
||||
"en": "All types of kerbs",
|
||||
"nl": "Alle typen stoepranden"
|
||||
}
|
||||
},
|
||||
{
|
||||
"osmTags": "kerb=raised",
|
||||
"question": {
|
||||
"en": "Raised kerb (>3 cm)",
|
||||
"nl": "Hoge stoeprand (>3 cm)"
|
||||
}
|
||||
},
|
||||
{
|
||||
"osmTags": "kerb=lowered",
|
||||
"question": {
|
||||
"en": "Lowered kerb (~3 cm)",
|
||||
"nl": "Verlaagde stoeprand (~3 cm)"
|
||||
}
|
||||
},
|
||||
{
|
||||
"osmTags": "kerb=flush",
|
||||
"question": {
|
||||
"en": "Flush kerb (~0cm)",
|
||||
"nl": "Vlakke stoeprand (~0cm)"
|
||||
}
|
||||
},
|
||||
{
|
||||
"osmTags": "kerb=no",
|
||||
"question": {
|
||||
"en": "No kerb",
|
||||
"nl": "Geen stoeprand"
|
||||
}
|
||||
},
|
||||
{
|
||||
"osmTags": "kerb=",
|
||||
"question": {
|
||||
"en": "Kerb with unknown height",
|
||||
"nl": "Stoeprand met onbekende hoogte"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "tactile-paving",
|
||||
"options": [
|
||||
{
|
||||
"question": {
|
||||
"en": "Kerbs with or without tactile paving"
|
||||
}
|
||||
},
|
||||
{
|
||||
"osmTags": "tactile_paving=yes",
|
||||
"question": {
|
||||
"en": "Kerb with tactile paving"
|
||||
}
|
||||
},
|
||||
{
|
||||
"osmTags": "tactile_paving=no",
|
||||
"question": {
|
||||
"en": "Kerb without tactile paving"
|
||||
}
|
||||
},
|
||||
{
|
||||
"osmTags": "tactile_paving=",
|
||||
"question": {
|
||||
"en": "Kerb wihout information about tactile paving"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"units": [
|
||||
{
|
||||
"applicableUnits": [
|
||||
{
|
||||
"canonicalDenomination": "cm",
|
||||
"alternativeDenomination": [
|
||||
"centimeter",
|
||||
"centimeters"
|
||||
],
|
||||
"human": {
|
||||
"en": "centimeters",
|
||||
"nl": "centimeter"
|
||||
},
|
||||
"humanSingular": {
|
||||
"en": "centimeter",
|
||||
"nl": "centimeter"
|
||||
},
|
||||
"default": true
|
||||
},
|
||||
{
|
||||
"canonicalDenomination": "m",
|
||||
"alternativeDenomination": [
|
||||
"meter",
|
||||
"meters"
|
||||
],
|
||||
"human": {
|
||||
"en": "meters",
|
||||
"nl": "meter"
|
||||
},
|
||||
"humanSingular": {
|
||||
"en": "meter",
|
||||
"nl": "meter"
|
||||
}
|
||||
}
|
||||
],
|
||||
"appliesToKey": [
|
||||
"kerb:height"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
52
assets/layers/kerbs/license_info.json
Normal file
52
assets/layers/kerbs/license_info.json
Normal file
|
@ -0,0 +1,52 @@
|
|||
[
|
||||
{
|
||||
"path": "KerbIcon.svg",
|
||||
"license": "CC0",
|
||||
"authors": [
|
||||
"Treeem"
|
||||
],
|
||||
"sources": [
|
||||
"https://commons.wikimedia.org/wiki/File:KerbIcon.svg"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "flush.svg",
|
||||
"license": "CC0",
|
||||
"authors": [
|
||||
"Jeroen Hoek"
|
||||
],
|
||||
"sources": [
|
||||
"https://wiki.openstreetmap.org/wiki/File:Icon_kerb%3Dflush.svg"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "lowered.svg",
|
||||
"license": "CC0",
|
||||
"authors": [
|
||||
"Jeroen Hoek"
|
||||
],
|
||||
"sources": [
|
||||
"https://wiki.openstreetmap.org/wiki/File:Icon_kerb%3Dlowered.svg"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "no.svg",
|
||||
"license": "CC0",
|
||||
"authors": [
|
||||
"Jeroen Hoek"
|
||||
],
|
||||
"sources": [
|
||||
"https://wiki.openstreetmap.org/wiki/File:Icon_kerb%3Dno.svg"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "raised.svg",
|
||||
"license": "CC0",
|
||||
"authors": [
|
||||
"Jeroen Hoek"
|
||||
],
|
||||
"sources": [
|
||||
"https://wiki.openstreetmap.org/wiki/File:Icon_kerb%3Draised.svg"
|
||||
]
|
||||
}
|
||||
]
|
5
assets/layers/kerbs/lowered.svg
Normal file
5
assets/layers/kerbs/lowered.svg
Normal file
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="24" height="24" version="1.1" viewBox="0 0 6.35 6.35" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect transform="matrix(.70705 .70716 -.70705 .70716 0 0)" x="2.3773" y="-2.1127" width="4.2255" height="4.2255" fill="#34938a" stop-color="#000000" stroke="#bfe8e5" stroke-linecap="round" stroke-width=".26458"/>
|
||||
<path d="m1.8521 3.9692h0.79375l1.0583-1.0587h0.79375" fill="none" stop-color="#000000" stroke="#7fd2ca" stroke-width=".52917" style="-inkscape-stroke:none;font-variation-settings:normal"/>
|
||||
</svg>
|
After Width: | Height: | Size: 553 B |
7
assets/layers/kerbs/no.svg
Normal file
7
assets/layers/kerbs/no.svg
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="24" height="24" version="1.1" viewBox="0 0 6.35 6.35" xmlns="http://www.w3.org/2000/svg">
|
||||
<g>
|
||||
<rect transform="matrix(.70705 .70716 -.70705 .70716 0 0)" x="2.3774" y="-2.1131" width="4.2255" height="4.2255" fill="#363636" stop-color="#000000" stroke="#adadad" stroke-linecap="round" stroke-width=".26458"/>
|
||||
<path d="m2.1167 3.9688h2.1167" fill="none" stroke="#5c5c5c" stroke-width=".52917"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 461 B |
7
assets/layers/kerbs/raised.svg
Normal file
7
assets/layers/kerbs/raised.svg
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="24" height="24" version="1.1" viewBox="0 0 6.35 6.35" xmlns="http://www.w3.org/2000/svg">
|
||||
<g>
|
||||
<rect transform="matrix(.70705 .70716 -.70705 .70716 0 0)" x="2.3774" y="-2.1128" width="4.2255" height="4.2255" fill="#933434" stop-color="#000000" stroke="#e8bfbf" stroke-linecap="round" stroke-width=".26458"/>
|
||||
<path d="m1.8521 3.9688 1.3229-4e-7v-1.3229l1.3229 5e-7" fill="none" stop-color="#000000" stroke="#d27f7f" stroke-width=".52917" style="-inkscape-stroke:none;font-variation-settings:normal"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 568 B |
|
@ -1247,6 +1247,14 @@
|
|||
"https://commons.wikimedia.org/wiki/File:OOjs_UI_icon_language-ltr.svg"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "triangle.svg",
|
||||
"license": "CC0",
|
||||
"authors": [
|
||||
"Robin van der Linde"
|
||||
],
|
||||
"sources": []
|
||||
},
|
||||
{
|
||||
"path": "twitter.svg",
|
||||
"license": "Logo - all rights reserved",
|
||||
|
|
9
assets/svg/triangle.svg
Normal file
9
assets/svg/triangle.svg
Normal file
|
@ -0,0 +1,9 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
style="fill:none"
|
||||
version="1.1"
|
||||
viewBox="0 0 100 100"
|
||||
height="100"
|
||||
width="100">
|
||||
<polygon style="fill:#000000;fill-opacity:1" points="50,0 0,100 100,100" />
|
||||
</svg>
|
After Width: | Height: | Size: 271 B |
29
assets/themes/kerbs_and_crossings/kerbs_and_crossings.json
Normal file
29
assets/themes/kerbs_and_crossings/kerbs_and_crossings.json
Normal file
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
"id": "kerbs_and_crossings",
|
||||
"maintainer": "Robin van der Linde",
|
||||
"version": "20211215",
|
||||
"title": {
|
||||
"en": "Kerbs and crossings",
|
||||
"nl": "Stoepranden en oversteekplaatsen"
|
||||
},
|
||||
"description": {
|
||||
"en": "A map showing kerbs and crossings.",
|
||||
"nl": "Een kaart met stoepranden en oversteekplaatsen."
|
||||
},
|
||||
"icon": "./assets/layers/kerbs/KerbIcon.svg",
|
||||
"startZoom": 19,
|
||||
"startLat": 53.23776,
|
||||
"startLon": 6.53812,
|
||||
"layers": [
|
||||
{
|
||||
"builtin": "crossings",
|
||||
"override": {
|
||||
"=presets": [],
|
||||
"source": {
|
||||
"osmTags": "highway=crossing"
|
||||
}
|
||||
}
|
||||
},
|
||||
"kerbs"
|
||||
]
|
||||
}
|
|
@ -207,6 +207,10 @@
|
|||
"if": "theme=hailhydrant",
|
||||
"then": "./assets/themes/hailhydrant/logo.svg"
|
||||
},
|
||||
{
|
||||
"if": "theme=kerbs_and_crossings",
|
||||
"then": "./assets/layers/kerbs/KerbIcon.svg"
|
||||
},
|
||||
{
|
||||
"if": "theme=mapcomplete-changes",
|
||||
"then": "./assets/svg/logo.svg"
|
||||
|
|
|
@ -514,20 +514,19 @@
|
|||
},
|
||||
"title": {
|
||||
"mappings": {
|
||||
"0": {
|
||||
"1": {
|
||||
"then": "Via ciclista"
|
||||
},
|
||||
"1": {
|
||||
"3": {
|
||||
"then": "Carril compartit"
|
||||
},
|
||||
"2": {
|
||||
"5": {
|
||||
"then": "Carril bici"
|
||||
},
|
||||
"4": {
|
||||
"9": {
|
||||
"then": "Carrer ciclista"
|
||||
}
|
||||
},
|
||||
"render": "Vies ciclistes"
|
||||
}
|
||||
}
|
||||
},
|
||||
"defibrillator": {
|
||||
|
|
|
@ -1190,13 +1190,13 @@
|
|||
},
|
||||
"title": {
|
||||
"mappings": {
|
||||
"0": {
|
||||
"1": {
|
||||
"then": "Cykelsti"
|
||||
},
|
||||
"3": {
|
||||
"7": {
|
||||
"then": "Cykelsti ved siden af vejen"
|
||||
},
|
||||
"4": {
|
||||
"9": {
|
||||
"then": "Cykelgade"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3090,22 +3090,27 @@
|
|||
"title": {
|
||||
"mappings": {
|
||||
"0": {
|
||||
"then": "Radweg"
|
||||
"then": "Radweg {name}"
|
||||
},
|
||||
"1": {
|
||||
"then": "Gemeinsame Fahrspur"
|
||||
},
|
||||
"2": {
|
||||
"then": "Fahrradspur"
|
||||
"then": "Radweg"
|
||||
},
|
||||
"3": {
|
||||
"then": "Gemeinsame Fahrspur"
|
||||
},
|
||||
"5": {
|
||||
"then": "Fahrradspur"
|
||||
},
|
||||
"7": {
|
||||
"then": "Radweg neben der Straße"
|
||||
},
|
||||
"4": {
|
||||
"8": {
|
||||
"then": "Fahrradstraße {name}"
|
||||
},
|
||||
"9": {
|
||||
"then": "Fahrradstraße"
|
||||
}
|
||||
},
|
||||
"render": "Radwege"
|
||||
}
|
||||
}
|
||||
},
|
||||
"defibrillator": {
|
||||
|
|
|
@ -3090,22 +3090,37 @@
|
|||
"title": {
|
||||
"mappings": {
|
||||
"0": {
|
||||
"then": "Cycleway"
|
||||
"then": "Cycleway {name}"
|
||||
},
|
||||
"1": {
|
||||
"then": "Shared lane"
|
||||
"then": "Cycleway"
|
||||
},
|
||||
"2": {
|
||||
"then": "Bike lane"
|
||||
"then": "Road with shared lane {name}"
|
||||
},
|
||||
"3": {
|
||||
"then": "Cycleway next to the road"
|
||||
"then": "Shared lane"
|
||||
},
|
||||
"4": {
|
||||
"then": "Road with bike lane {name}"
|
||||
},
|
||||
"5": {
|
||||
"then": "Bike lane"
|
||||
},
|
||||
"6": {
|
||||
"then": "Road with cycleway next to the road {name}"
|
||||
},
|
||||
"7": {
|
||||
"then": "Cycleway next to the road"
|
||||
},
|
||||
"8": {
|
||||
"then": "Cyclestreet {name}"
|
||||
},
|
||||
"9": {
|
||||
"then": "Cyclestreet"
|
||||
}
|
||||
},
|
||||
"render": "Cycleways"
|
||||
"render": "Way"
|
||||
}
|
||||
},
|
||||
"defibrillator": {
|
||||
|
@ -4052,6 +4067,116 @@
|
|||
"render": "Information board"
|
||||
}
|
||||
},
|
||||
"kerbs": {
|
||||
"description": "A layer showing kerbs.",
|
||||
"filter": {
|
||||
"0": {
|
||||
"options": {
|
||||
"0": {
|
||||
"question": "All types of kerbs"
|
||||
},
|
||||
"1": {
|
||||
"question": "Raised kerb (>3 cm)"
|
||||
},
|
||||
"2": {
|
||||
"question": "Lowered kerb (~3 cm)"
|
||||
},
|
||||
"3": {
|
||||
"question": "Flush kerb (~0cm)"
|
||||
},
|
||||
"4": {
|
||||
"question": "No kerb"
|
||||
},
|
||||
"5": {
|
||||
"question": "Kerb with unknown height"
|
||||
}
|
||||
}
|
||||
},
|
||||
"1": {
|
||||
"options": {
|
||||
"0": {
|
||||
"question": "Kerbs with or without tactile paving"
|
||||
},
|
||||
"1": {
|
||||
"question": "Kerb with tactile paving"
|
||||
},
|
||||
"2": {
|
||||
"question": "Kerb without tactile paving"
|
||||
},
|
||||
"3": {
|
||||
"question": "Kerb wihout information about tactile paving"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"name": "Kerbs",
|
||||
"presets": {
|
||||
"0": {
|
||||
"description": "Kerb in a footway",
|
||||
"title": "a kerb"
|
||||
}
|
||||
},
|
||||
"tagRenderings": {
|
||||
"kerb-height": {
|
||||
"freeform": {
|
||||
"placeholder": "Height of the kerb"
|
||||
},
|
||||
"question": "What is the height of this kerb?",
|
||||
"render": "Kerb height: {{kerb:height}}"
|
||||
},
|
||||
"kerb-type": {
|
||||
"mappings": {
|
||||
"0": {
|
||||
"then": "This kerb is raised (>3 cm)"
|
||||
},
|
||||
"1": {
|
||||
"then": "This kerb is lowered (~3 cm)"
|
||||
},
|
||||
"2": {
|
||||
"then": "This kerb is flush (~0cm)"
|
||||
},
|
||||
"3": {
|
||||
"then": "There is no kerb here"
|
||||
},
|
||||
"4": {
|
||||
"then": "There is a kerb of unknown height"
|
||||
}
|
||||
},
|
||||
"question": "What is the height of this kerb?"
|
||||
},
|
||||
"tactile-paving": {
|
||||
"mappings": {
|
||||
"0": {
|
||||
"then": "This kerb has tactile paving."
|
||||
},
|
||||
"1": {
|
||||
"then": "This kerb does not have tactile paving."
|
||||
},
|
||||
"2": {
|
||||
"then": "This kerb has tactile paving, but it is incorrect"
|
||||
}
|
||||
},
|
||||
"question": "Is there tactile paving at this kerb?"
|
||||
}
|
||||
},
|
||||
"title": {
|
||||
"render": "Kerb"
|
||||
},
|
||||
"units": {
|
||||
"0": {
|
||||
"applicableUnits": {
|
||||
"0": {
|
||||
"human": "centimeters",
|
||||
"humanSingular": "centimeter"
|
||||
},
|
||||
"1": {
|
||||
"human": "meters",
|
||||
"humanSingular": "meter"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"kindergarten_childcare": {
|
||||
"name": "Kindergartens and childcare",
|
||||
"presets": {
|
||||
|
|
|
@ -1952,23 +1952,22 @@
|
|||
},
|
||||
"title": {
|
||||
"mappings": {
|
||||
"0": {
|
||||
"then": "Carril bici"
|
||||
},
|
||||
"1": {
|
||||
"then": "Carril compartido"
|
||||
},
|
||||
"2": {
|
||||
"then": "Carril bici"
|
||||
},
|
||||
"3": {
|
||||
"then": "Vía ciclista al lado de la carretera"
|
||||
},
|
||||
"4": {
|
||||
"5": {
|
||||
"then": "Carril bici"
|
||||
},
|
||||
"7": {
|
||||
"then": "Vía ciclista al lado de la carretera"
|
||||
},
|
||||
"9": {
|
||||
"then": "Ciclocalle"
|
||||
}
|
||||
},
|
||||
"render": "Ciclovías"
|
||||
}
|
||||
}
|
||||
},
|
||||
"defibrillator": {
|
||||
|
|
|
@ -1613,23 +1613,22 @@
|
|||
"name": "Pistes cyclables et routes",
|
||||
"title": {
|
||||
"mappings": {
|
||||
"0": {
|
||||
"1": {
|
||||
"then": "Piste cyclable"
|
||||
},
|
||||
"1": {
|
||||
"3": {
|
||||
"then": "Voie partagée"
|
||||
},
|
||||
"2": {
|
||||
"5": {
|
||||
"then": "Bande cyclable"
|
||||
},
|
||||
"3": {
|
||||
"7": {
|
||||
"then": "Piste cyclable séparée de la route"
|
||||
},
|
||||
"4": {
|
||||
"9": {
|
||||
"then": "Vélorue"
|
||||
}
|
||||
},
|
||||
"render": "Pistes cyclables"
|
||||
}
|
||||
}
|
||||
},
|
||||
"defibrillator": {
|
||||
|
|
|
@ -3075,22 +3075,37 @@
|
|||
"title": {
|
||||
"mappings": {
|
||||
"0": {
|
||||
"then": "Fietsweg"
|
||||
"then": "Fietsweg {name}"
|
||||
},
|
||||
"1": {
|
||||
"then": "Fietssuggestiestrook"
|
||||
"then": "Fietsweg"
|
||||
},
|
||||
"2": {
|
||||
"then": "Fietsstrook"
|
||||
"then": "Weg met fietssugestiestrook {name}"
|
||||
},
|
||||
"3": {
|
||||
"then": "Fietsweg naast de weg"
|
||||
"then": "Fietssuggestiestrook"
|
||||
},
|
||||
"4": {
|
||||
"then": "Weg met fietsstrook {name}"
|
||||
},
|
||||
"5": {
|
||||
"then": "Fietsstrook"
|
||||
},
|
||||
"6": {
|
||||
"then": "Weg met fietspad naast de weg {name}"
|
||||
},
|
||||
"7": {
|
||||
"then": "Fietsweg naast de weg"
|
||||
},
|
||||
"8": {
|
||||
"then": "Fietsstraat {name}"
|
||||
},
|
||||
"9": {
|
||||
"then": "Fietsstraat"
|
||||
}
|
||||
},
|
||||
"render": "Fietspaden"
|
||||
"render": "Weg"
|
||||
}
|
||||
},
|
||||
"defibrillator": {
|
||||
|
@ -3981,6 +3996,86 @@
|
|||
"render": "Informatiebord"
|
||||
}
|
||||
},
|
||||
"kerbs": {
|
||||
"description": "Een laag met stoepranden.",
|
||||
"filter": {
|
||||
"0": {
|
||||
"options": {
|
||||
"0": {
|
||||
"question": "Alle typen stoepranden"
|
||||
},
|
||||
"1": {
|
||||
"question": "Hoge stoeprand (>3 cm)"
|
||||
},
|
||||
"2": {
|
||||
"question": "Verlaagde stoeprand (~3 cm)"
|
||||
},
|
||||
"3": {
|
||||
"question": "Vlakke stoeprand (~0cm)"
|
||||
},
|
||||
"4": {
|
||||
"question": "Geen stoeprand"
|
||||
},
|
||||
"5": {
|
||||
"question": "Stoeprand met onbekende hoogte"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"name": "Stoepranden",
|
||||
"presets": {
|
||||
"0": {
|
||||
"description": "Stoeprand in een voetpad",
|
||||
"title": "een stoeprand"
|
||||
}
|
||||
},
|
||||
"tagRenderings": {
|
||||
"kerb-height": {
|
||||
"freeform": {
|
||||
"placeholder": "Hoogte van de stoeprand"
|
||||
},
|
||||
"question": "Hoe hoog is deze stoeprand?",
|
||||
"render": "Stoeprandhoogte: {{kerb:height}}"
|
||||
},
|
||||
"kerb-type": {
|
||||
"mappings": {
|
||||
"0": {
|
||||
"then": "Deze stoeprand is hoog (>3 cm)"
|
||||
},
|
||||
"1": {
|
||||
"then": "Deze stoeprand is verlaagd (~3 cm)"
|
||||
},
|
||||
"2": {
|
||||
"then": "Deze stoeprand is vlak (~0cm)"
|
||||
},
|
||||
"3": {
|
||||
"then": "Er is hier geen stoeprand"
|
||||
},
|
||||
"4": {
|
||||
"then": "Er is een stoeprand met onbekende hoogte"
|
||||
}
|
||||
},
|
||||
"question": "Hoe hoog is deze stoeprand?"
|
||||
}
|
||||
},
|
||||
"title": {
|
||||
"render": "Stoeprand"
|
||||
},
|
||||
"units": {
|
||||
"0": {
|
||||
"applicableUnits": {
|
||||
"0": {
|
||||
"human": "centimeter",
|
||||
"humanSingular": "centimeter"
|
||||
},
|
||||
"1": {
|
||||
"human": "meter",
|
||||
"humanSingular": "meter"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"kindergarten_childcare": {
|
||||
"name": "Kleuterscholen en kinderopvang",
|
||||
"presets": {
|
||||
|
|
|
@ -842,11 +842,10 @@
|
|||
"cycleways_and_roads": {
|
||||
"title": {
|
||||
"mappings": {
|
||||
"0": {
|
||||
"1": {
|
||||
"then": "Велосипедная дорожка"
|
||||
}
|
||||
},
|
||||
"render": "Велосипедные дорожки"
|
||||
}
|
||||
}
|
||||
},
|
||||
"defibrillator": {
|
||||
|
|
|
@ -647,6 +647,10 @@
|
|||
"shortDescription": "Map to show hydrants, extinguishers, fire stations, and ambulance stations.",
|
||||
"title": "Hydrants, Extinguishers, Fire stations, and Ambulance stations"
|
||||
},
|
||||
"kerbs_and_crossings": {
|
||||
"description": "A map showing kerbs and crossings.",
|
||||
"title": "Kerbs and crossings"
|
||||
},
|
||||
"mapcomplete-changes": {
|
||||
"description": "This maps shows all the changes made with MapComplete",
|
||||
"layers": {
|
||||
|
|
|
@ -922,6 +922,71 @@
|
|||
"shortDescription": "Kaart om hydranten, brandblussers, brandweerkazernes en ambulanceposten weer te geven.",
|
||||
"title": "Brandkranen, brandblussers, brandweerposten en ambulanceposten"
|
||||
},
|
||||
"kerbs_and_crossings": {
|
||||
"description": "Een kaart met stoepranden en oversteekplaatsen.",
|
||||
"title": "Stoepranden en oversteekplaatsen"
|
||||
},
|
||||
"mapcomplete-changes": {
|
||||
"description": "Deze kaart toont alle wijzigingen die met MapComplete werden gemaakt",
|
||||
"layers": {
|
||||
"0": {
|
||||
"description": "Toont alle wijzigingen met MapComplete",
|
||||
"filter": {
|
||||
"0": {
|
||||
"options": {
|
||||
"0": {
|
||||
"question": "Themanaam bevat {search}"
|
||||
}
|
||||
}
|
||||
},
|
||||
"1": {
|
||||
"options": {
|
||||
"0": {
|
||||
"question": "Gemaakt door bijdrager {search}"
|
||||
}
|
||||
}
|
||||
},
|
||||
"2": {
|
||||
"options": {
|
||||
"0": {
|
||||
"question": "<b>Niet</b> gemaakt door bijdrager {search}"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"tagRenderings": {
|
||||
"contributor": {
|
||||
"render": "Wijziging gemaakt door <a href='https://openstreetmap.org/user/{_last_edit:contributor}' target='_blank'>{_last_edit:contributor}</a>"
|
||||
},
|
||||
"render_id": {
|
||||
"render": "Wijzigingset <a href='https://openstreetmap.org/changeset/{id}' target='_blank'>{id}</a>"
|
||||
},
|
||||
"theme": {
|
||||
"mappings": {
|
||||
"0": {
|
||||
"then": "Wijziging met <b>officieus</b> thema <a href='https://mapcomplete.osm.be/theme.html?userlayout={theme}'>{theme}</a>"
|
||||
}
|
||||
},
|
||||
"render": "Wijziging met thema <a href='https://mapcomplete.osm.be/{theme}'>{theme}</a>"
|
||||
}
|
||||
},
|
||||
"title": {
|
||||
"render": "Wijzigingset voor {theme}"
|
||||
}
|
||||
},
|
||||
"1": {
|
||||
"override": {
|
||||
"tagRenderings": {
|
||||
"link_to_more": {
|
||||
"render": "Meer statistieken kunnen <a href='https://github.com/pietervdvn/MapComplete/tree/develop/Docs/Tools/graphs' target='_blank'>hier</a> gevonden worden"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"shortDescription": "Toont wijzigingen gemaakt met MapComplete",
|
||||
"title": "Wijzigingen gemaakt met MapComplete"
|
||||
},
|
||||
"maps": {
|
||||
"description": "Op deze kaart kan je alle kaarten zien die OpenStreetMap kent.<br/><br/>Ontbreekt er een kaart, dan kan je die kaart hier ook gemakelijk aan deze kaart toevoegen.",
|
||||
"shortDescription": "Dit thema toont alle (toeristische) kaarten die OpenStreetMap kent",
|
||||
|
|
Loading…
Reference in a new issue