forked from MapComplete/MapComplete
Merge branch 'develop' into feature/nsi
This commit is contained in:
commit
93b1a28b60
234 changed files with 48748 additions and 30832 deletions
|
@ -28,6 +28,7 @@
|
|||
"pt_BR": "Completaremos os dados das características de publicidade com referência, operador e iluminação",
|
||||
"it": "Completeremo i dati da caratteristiche pubblicitarie, con referenza, operatore e illuminazione"
|
||||
},
|
||||
"enableMorePrivacy": true,
|
||||
"source": {
|
||||
"osmTags": {
|
||||
"and": [
|
||||
|
|
|
@ -712,16 +712,7 @@
|
|||
"type": "currency"
|
||||
}
|
||||
},
|
||||
{
|
||||
"builtin": "opening_hours_24_7",
|
||||
"override": {
|
||||
"mappings": [
|
||||
{
|
||||
"alsoShowIf": "opening_hours="
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"opening_hours_24_7_default",
|
||||
{
|
||||
"id": "operator",
|
||||
"question": {
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
"source": {
|
||||
"osmTags": "amenity=brothel"
|
||||
},
|
||||
"enableMorePrivacy": true,
|
||||
"minzoom": 6,
|
||||
"title": {
|
||||
"render": {
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
"minzoom": 19,
|
||||
"minzoom": 18,
|
||||
"title": {
|
||||
"render": {
|
||||
"en": "Climbing opportunity?",
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
"en": "A love hotel is a type of short-stay hotel found around the world operated primarily for the purpose of allowing guests privacy for sexual activities",
|
||||
"de": "Ein Love Hotel ist eine Art Kurzzeithotel, das in erster Linie zu dem Zweck betrieben wird, den Gästen Privatsphäre für sexuelle Aktivitäten zu bieten"
|
||||
},
|
||||
"enableMorePrivacy": true,
|
||||
"source": {
|
||||
"osmTags": "amenity=love_hotel"
|
||||
},
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
"source": {
|
||||
"osmTags": "leisure=outdoor_seating"
|
||||
},
|
||||
"minzoom": 19,
|
||||
"minzoom": 18,
|
||||
"title": {
|
||||
"render": {
|
||||
"en": "Outdoor Seating area"
|
||||
|
|
|
@ -169,7 +169,6 @@
|
|||
"ca": "Aquesta botiga és un col·laborador postal?",
|
||||
"cs": "Jedná se o partnerskou poštu?"
|
||||
},
|
||||
"condition": "post_office=post_partner",
|
||||
"mappings": [
|
||||
{
|
||||
"if": "post_office=post_partner",
|
||||
|
|
|
@ -100,6 +100,14 @@
|
|||
"https://www.onlinewebfonts.com/icon/464507"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "open24_7.svg",
|
||||
"license": "CC0-1.0",
|
||||
"authors": [
|
||||
"Pieter Vander Vennet"
|
||||
],
|
||||
"sources": []
|
||||
},
|
||||
{
|
||||
"path": "payment_card.svg",
|
||||
"license": "CC0-1.0",
|
||||
|
|
106
assets/layers/questions/open24_7.svg
Normal file
106
assets/layers/questions/open24_7.svg
Normal file
|
@ -0,0 +1,106 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
width="59.535809mm"
|
||||
height="53.162579mm"
|
||||
viewBox="0 0 59.535809 53.162579"
|
||||
version="1.1"
|
||||
id="svg1"
|
||||
inkscape:version="1.3.2 (1:1.3.2+202311252150+091e20ef0f)"
|
||||
sodipodi:docname="open24_7.svg"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<sodipodi:namedview
|
||||
id="namedview1"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#999999"
|
||||
borderopacity="1"
|
||||
inkscape:showpageshadow="2"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
inkscape:document-units="mm"
|
||||
inkscape:zoom="1.2448246"
|
||||
inkscape:cx="167.49348"
|
||||
inkscape:cy="144.19702"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="995"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="g4" />
|
||||
<defs
|
||||
id="defs1">
|
||||
<rect
|
||||
x="195.29895"
|
||||
y="583.53101"
|
||||
width="265.52469"
|
||||
height="247.68958"
|
||||
id="rect2" />
|
||||
<rect
|
||||
x="69.833305"
|
||||
y="301.19489"
|
||||
width="537.72614"
|
||||
height="337.24045"
|
||||
id="rect1" />
|
||||
<rect
|
||||
x="69.833305"
|
||||
y="301.19489"
|
||||
width="537.72614"
|
||||
height="337.24045"
|
||||
id="rect1-4" />
|
||||
</defs>
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1"
|
||||
transform="translate(-23.847285,-105.0215)">
|
||||
<text
|
||||
xml:space="preserve"
|
||||
transform="scale(0.26458333)"
|
||||
id="text2"
|
||||
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:151.181px;line-height:2;font-family:'Ubuntu Mono';-inkscape-font-specification:'Ubuntu Mono Bold';white-space:pre;shape-inside:url(#rect2);fill:#000000;fill-opacity:1;stroke:#0000ff;stroke-width:0.00001;stroke-linecap:round"><tspan
|
||||
x="195.29883"
|
||||
y="1028.9189"
|
||||
id="tspan4">7</tspan></text>
|
||||
<g
|
||||
id="g4"
|
||||
transform="rotate(19.031252,53.955502,129.65312)">
|
||||
<text
|
||||
xml:space="preserve"
|
||||
transform="matrix(0.24864277,-0.0904495,0.0904495,0.24864277,-37.896511,23.10344)"
|
||||
id="text1"
|
||||
style="font-size:151.181px;line-height:2;font-family:QTBrushStroke;-inkscape-font-specification:QTBrushStroke;white-space:pre;shape-inside:url(#rect1);fill:#ffffff;stroke:#0000ff;stroke-width:0.00001;stroke-linecap:round"><tspan
|
||||
x="69.833984"
|
||||
y="498.89354"
|
||||
id="tspan6"><tspan
|
||||
style="font-weight:bold;font-family:'Ubuntu Mono';-inkscape-font-specification:'Ubuntu Mono Bold';fill:#000000"
|
||||
id="tspan5">24</tspan></tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
transform="matrix(0.31987307,-0.11005382,0.11005382,0.31987307,-8.6266834,2.8601416)"
|
||||
id="text1-5"
|
||||
style="font-size:151.181px;line-height:2;font-family:QTBrushStroke;-inkscape-font-specification:QTBrushStroke;white-space:pre;shape-inside:url(#rect1-4);display:inline;fill:#ffffff;stroke:#0000ff;stroke-width:0.00001;stroke-linecap:round"><tspan
|
||||
x="69.833984"
|
||||
y="498.89354"
|
||||
id="tspan8"><tspan
|
||||
style="font-weight:bold;font-family:'Ubuntu Mono';-inkscape-font-specification:'Ubuntu Mono Bold';fill:#000000"
|
||||
id="tspan7">7</tspan></tspan></text>
|
||||
<g
|
||||
id="path2"
|
||||
transform="translate(1.922053,-1.2055383)">
|
||||
<path
|
||||
style="color:#000000;fill:#000000;stroke-linecap:round;-inkscape-stroke:none"
|
||||
d="M 41.997064,155.10511 71.103506,106.61208"
|
||||
id="path3" />
|
||||
<path
|
||||
style="color:#000000;fill:#000000;stroke:#ffffff;stroke-width:2;stroke-linecap:round;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 72.390625,104.46875 a 2.5,2.5 0 0 0 -3.429688,0.85742 l -29.107421,48.49219 a 2.5,2.5 0 0 0 0.857421,3.42969 2.5,2.5 0 0 0 3.429688,-0.85547 l 29.105469,-48.49414 a 2.5,2.5 0 0 0 -0.855469,-3.42969 z"
|
||||
id="path4" />
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 4.2 KiB |
2
assets/layers/questions/open24_7.svg.license
Normal file
2
assets/layers/questions/open24_7.svg.license
Normal file
|
@ -0,0 +1,2 @@
|
|||
SPDX-FileCopyrightText: Pieter Vander Vennet
|
||||
SPDX-License-Identifier: CC0
|
|
@ -753,6 +753,7 @@
|
|||
"+mappings": [
|
||||
{
|
||||
"if": "opening_hours=24/7",
|
||||
"icon": "./assets/layers/questions/open24_7.svg",
|
||||
"then": {
|
||||
"en": "24/7 opened (including holidays)",
|
||||
"de": "durchgehend geöffnet (auch an Feiertagen)",
|
||||
|
@ -771,6 +772,18 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "opening_hours_24_7_default",
|
||||
"builtin": "opening_hours_24_7",
|
||||
"override": {
|
||||
"mappings": [
|
||||
{
|
||||
"#": "The first mapping is 'opening_hours=24/7', we amend this to also show if no info is known",
|
||||
"alsoShowIf": "opening_hours="
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "opening_hours_by_appointment",
|
||||
"builtin": "opening_hours",
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
"en": "A venue where erotic dance, striptease, or lap dances are performed commercially. ",
|
||||
"de": "Ein Ort, an dem erotische Tanz-, Striptease- oder Lapdances kommerziell durchgeführt werden. "
|
||||
},
|
||||
"enableMorePrivacy": true,
|
||||
"source": {
|
||||
"osmTags": "amenity=stripclub"
|
||||
},
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
"cs": "Tato vrstva zobrazuje sledovací kamery a umožňuje přispěvateli aktualizovat informace a přidávat nové kamery",
|
||||
"sl": "Ta sloj prikazuje nadzorne kamere in urednikom omogoča posodabljanje informacij obstoječih in dodajanje novih kamer"
|
||||
},
|
||||
"enableMorePrivacy": true,
|
||||
"source": {
|
||||
"osmTags": {
|
||||
"and": [
|
||||
|
|
|
@ -484,6 +484,41 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "more_privacy_theme_override",
|
||||
"mappings": [
|
||||
{
|
||||
"if": "__featureSwitchMorePrivacy=true",
|
||||
"then": {
|
||||
"en": "This theme is sensitive. Making changes will not indicate if you were nearby explicitly."
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "more_privacy",
|
||||
"question":
|
||||
{
|
||||
"en": "When making changes, should a rough indication be given how far away you were from the object?"
|
||||
},
|
||||
"questionHint": {
|
||||
"en": "If you make a change to one or more objects and you enabled your location, a rough indication of where you made will be saved: it is indicated if you were closer then 25m, 500m, 5km or further away then 5km. This helps mappers understand your context when making changes, but gives an indication of where you were at this time. "
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": "mapcomplete-more_privacy=yes",
|
||||
"then": {
|
||||
"en": "When making changes to OpenStreetMap, do not indicate how far away you were from the changed objects."
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "mapcomplete-more_privacy=no",
|
||||
"then": {
|
||||
"en": "When making changes to OpenStreetMap, roughly indicate how far away you were from the changed objects. This helps other contributors to understand how you made the change"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "mangrove-keys",
|
||||
"render": {
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
},
|
||||
"icon": "./assets/layers/stripclub/stripclub.svg",
|
||||
"hideFromOverview": true,
|
||||
"enableMorePrivacy": true,
|
||||
"layers": [
|
||||
"brothel",
|
||||
"stripclub",
|
||||
|
|
|
@ -52,6 +52,7 @@
|
|||
},
|
||||
"icon": "./assets/themes/surveillance/logo.svg",
|
||||
"defaultBackgroundId": "maptiler.carto",
|
||||
"enableMorePrivacy": true,
|
||||
"layers": [
|
||||
"surveillance_camera",
|
||||
{
|
||||
|
|
|
@ -47,6 +47,14 @@
|
|||
}
|
||||
],
|
||||
"tagRenderings": [
|
||||
{
|
||||
"id": "login",
|
||||
"render": {
|
||||
"special": {
|
||||
"type": "login_button"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "velopark-link",
|
||||
"render": {
|
||||
|
@ -64,14 +72,6 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "login",
|
||||
"render": {
|
||||
"special": {
|
||||
"type": "login_button"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "show-data-velopark",
|
||||
"render": {
|
||||
|
@ -87,16 +87,32 @@
|
|||
{
|
||||
"id": "closest_parkings",
|
||||
"render": {
|
||||
"en": "<h3>Nearby parkings</h3>There are {_nearby_bicycle_parkings:count} bicycle parkings within 25m known in OpenStreetMap.",
|
||||
"nl": "<h3>Parkings in de buurt</h3>Er zijn {_nearby_bicycle_parkings:count} fietsparkings gekend binnen 25m in OpenStreetMap."
|
||||
}
|
||||
"en": "<h3>Nearby parkings</h3>There are {_nearby_bicycle_parkings:count} bicycle parkings within {_distance_cutoff}m known in OpenStreetMap.",
|
||||
"nl": "<h3>Parkings in de buurt</h3>Er zijn {_nearby_bicycle_parkings:count} fietsparkings gekend binnen {_distance_cutoff}m in OpenStreetMap."
|
||||
},
|
||||
"condition": "_nearby_bicycle_parkings:count>0",
|
||||
"mappings": [
|
||||
{
|
||||
"if": "_nearby_bicycle_parkings:count=0",
|
||||
"then": {
|
||||
"en": "<h3>No nearby parkings</h3>There are no bicycle parkings in OpenStreetMap known within {_distance_cutoff}m",
|
||||
"nl": "<h3>Geen fietsenstallingen in de buurt</h3>Er zijn geen fietsenstallingen gekend op OpenStreetMap op minder dan {_distance_cutoff}m"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "list_nearby_bike_parkings",
|
||||
"condition": {
|
||||
"and": [
|
||||
"mr_taskStatus=Created",
|
||||
"_nearby_bicycle_parkings:count>0"
|
||||
]
|
||||
},
|
||||
"render": {
|
||||
"before": {
|
||||
"en": "Choose below which bicycle parking you want to link. This will <b>not</b> apply the attributes.",
|
||||
"nl": "Kies hieronder welke fietsenstalling je wilt linken. Dit zal de attributen <b>niet</b> kopieren."
|
||||
"en": "Choose below which bicycle parking you want to link.",
|
||||
"nl": "Kies hieronder welke fietsenstalling je wilt linken."
|
||||
},
|
||||
"special": {
|
||||
"type": "multi",
|
||||
|
@ -108,6 +124,7 @@
|
|||
},
|
||||
{
|
||||
"id": "title_create_new",
|
||||
"condition": "mr_taskStatus=Created",
|
||||
"render": {
|
||||
"en": "<h3>Add a parking to OpenStreetMap</h3>Use this if the bicycle parking is missing in OpenStreetMap (there is no blue or green pin)",
|
||||
"nl": "<h3>Parking toevoegen aan OpenStreetMap</h3>Gebruik dit als er nog geen blauwe of groene parkeerplaats-pin staat op de juiste plaats."
|
||||
|
@ -115,14 +132,15 @@
|
|||
},
|
||||
{
|
||||
"id": "import_point",
|
||||
"condition": "mr_taskStatus=Created",
|
||||
"render": {
|
||||
"special": {
|
||||
"type": "import_button",
|
||||
"targetLayer": "bike_parking_with_velopark_ref bike_parking",
|
||||
"tags": "amenity=bicycle_parking;ref:velopark=$ref:velopark",
|
||||
"text": {
|
||||
"en": "Create a new bicycle parking in OSM. This parking will have the link, but not all attributes",
|
||||
"nl": "Maak een nieuwe parking aan in OSM. Deze parking zal gelinkt zijn met Velopark, maar niet de attributen bevatten"
|
||||
"en": "Create a new bicycle parking in OSM. This parking will have the link, you'll be able to copy the attributes in the next step",
|
||||
"nl": "Maak een nieuwe parking aan in OSM. Deze parking zal gelinkt zijn met Velopark en je kan in de volgende stap de attributen overzetten"
|
||||
},
|
||||
"maproulette_id": "mr_taskId"
|
||||
}
|
||||
|
@ -130,6 +148,7 @@
|
|||
},
|
||||
{
|
||||
"id": "title_manually_copy",
|
||||
"condition": "mr_taskStatus=Created",
|
||||
"render": {
|
||||
"en": "<h3>Manually link</h3>Does the bicycle parking exist in OpenStreetMap but is it further then 25m away? Then: <ol><li>Copy the following URL: <span class='literal-code'>{ref:velopark}</span></li><li>Select the correct bicycle parking on the map</li><li>Paste the URL into the question <i>What is the URL of the data path in Velopark?</i></li><li>Mark this item as handled with the button below:</li></ul>",
|
||||
"nl": "<h3>Manueel linken</h3>Bestaat de fietsenstalling in OpenStreetMap maar is staat deze meer dan 25m verder?In dit geval: <ol><li>Kopieer de volgende URL: <span class='literal-code'>{ref:velopark}</span></li><li>Selecteer de juiste fietsenstalling op de kaart</li><li>Plak de URL in de vraag <i>Wat is de data-url van deze fietsenstalling in Velopark.be?</i></li><li>Open deze fietsenstalling opnieuw en markeer deze als gelinkt met onderstaande knop:</li></ul>"
|
||||
|
@ -137,6 +156,7 @@
|
|||
},
|
||||
{
|
||||
"id": "close_mr",
|
||||
"condition": "mr_taskStatus=Created",
|
||||
"render": {
|
||||
"special": {
|
||||
"type": "maproulette_set_status",
|
||||
|
@ -150,6 +170,7 @@
|
|||
},
|
||||
{
|
||||
"id": "title_error",
|
||||
"condition": "mr_taskStatus=Created",
|
||||
"render": {
|
||||
"en": "<h3>Closing without importing or linking</h3>",
|
||||
"nl": "<h3>Afsluiten zonder importeren of linken</h3>"
|
||||
|
@ -157,6 +178,7 @@
|
|||
},
|
||||
{
|
||||
"id": "close_mr_incorrect",
|
||||
"condition": "mr_taskStatus=Created",
|
||||
"render": {
|
||||
"special": {
|
||||
"type": "maproulette_set_status",
|
||||
|
@ -190,7 +212,12 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"{nearby_images(open,readonly)}"
|
||||
{
|
||||
"id": "nearby_images",
|
||||
"render": {
|
||||
"*": "{nearby_images(open,readonly)}"
|
||||
}
|
||||
}
|
||||
],
|
||||
"lineRendering": [],
|
||||
"filter": [
|
||||
|
@ -221,8 +248,9 @@
|
|||
}
|
||||
],
|
||||
"calculatedTags": [
|
||||
"_distance_cutoff=50",
|
||||
"mr_velopark_id=feat.properties['ref:velopark']?.split('/')?.at(-1)",
|
||||
"_nearby_bicycle_parkings=closestn(feat)(['bike_parking','bike_parking_with_velopark_ref'], 100, undefined, 25)",
|
||||
"_nearby_bicycle_parkings=closestn(feat)(['bike_parking','bike_parking_with_velopark_ref'], 100, undefined, get(feat)('_distance_cutoff'))",
|
||||
"_nearby_bicycle_parkings:count=get(feat)('_nearby_bicycle_parkings').length",
|
||||
"_nearby_bicycle_parkings:props=get(feat)('_nearby_bicycle_parkings').map(f => ({_distance: Math.round(f.distance), _ref: feat.properties['ref:velopark'], _mr_id: feat.properties.id, '_velopark:id': (f.feat.properties['_velopark:id'] ?? 'unlinked') /*Explicit copy to trigger lazy loading*/, ...f.feat.properties}))"
|
||||
],
|
||||
|
@ -262,7 +290,9 @@
|
|||
],
|
||||
"hideTagRenderingsWithLabels": [
|
||||
"images",
|
||||
"leftover-questions"
|
||||
"leftover-questions",
|
||||
"qr_code",
|
||||
"favourite_status"
|
||||
],
|
||||
"override": {
|
||||
"id": "bike_parking_with_velopark_ref",
|
||||
|
@ -346,7 +376,9 @@
|
|||
],
|
||||
"hideTagRenderingsWithLabels": [
|
||||
"images",
|
||||
"leftover-questions"
|
||||
"leftover-questions",
|
||||
"qr_code",
|
||||
"favourite_status"
|
||||
],
|
||||
"override": {
|
||||
"doCount": false,
|
||||
|
@ -437,6 +469,15 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"tagRenderings+": [
|
||||
{
|
||||
"id": "no_save_needed",
|
||||
"render": {
|
||||
"en": "Changes are automatically saved. You can simply close this popup with the cross at the upper-right",
|
||||
"nl": "Wijzigingen worden automatisch opgeslaan. Je kan deze popup gewoon sluiten met het kruisje rechtsbovenaan"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"lockLocation": [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue