This commit is contained in:
Pieter Vander Vennet 2024-01-13 01:50:41 +01:00
parent a571d857d6
commit d6a55a5ee9
11 changed files with 565 additions and 6 deletions

View file

@ -0,0 +1,92 @@
{
"id": "brothel",
"name": {
"en": "Brothels"
},
"description": {
"en": "An establishment specifically dedicated to prostitution. "
},
"source": {
"osmTags": "amenity=brothel"
},
"minzoom": 6,
"title": {
"render": {
"en": "Brothel"
},
"mappings": [
{
"if": "name~*",
"then": {
"*": "{name}"
}
}
]
},
"pointRendering": [
{
"location": [
"point",
"centroid"
],
"marker": [
{
"icon": "circle",
"color": "white"
},
{
"icon": "ring",
"color": "#fc6488"
}
]
},
{
"location": [
"centroid",
"point"
],
"marker": [
{
"icon": "heart",
"color": "#fc6488"
}
],
"iconSize": "28,28"
}
],
"presets": [
{
"title": {
"en": "a brothel"
},
"tags": [
"amenity=brothel"
]
}
],
"tagRenderings": [
"images",
"reviews",
{
"multiAnswer": false,
"id": "name",
"freeform": {
"inline": false,
"key": "name"
},
"question": {
"en": "What is the name of this brothel?"
},
"render": {
"en": "This brothel is named <b>{name}</b>"
}
},
"opening_hours",
"contact"
],
"deletion": {
"omitDefaultDeleteReasons": false
},
"allowMove": true,
"allowSplit": false
}

View file

@ -0,0 +1,70 @@
{
"id": "cinema",
"name": {
"en": "Cinema"
},
"description": {
"en": " A place showing movies (films), generally open to the public for a fee. Commonly referred to as a movie theater in the US"
},
"source": {
"osmTags": "amenity=cinema"
},
"minzoom": 10,
"title": {
"mappings": [
{
"if": "name~*",
"then": {
"*": "{name}"
}
}
],
"render": {
"en": "Cinema"
}
},
"pointRendering": [
{
"location": [
"point",
"centroid"
],
"marker": [
{
"icon": "circle",
"color": "white"
},
{
"icon": "./assets/layers/cinema/cinema.svg"
}
],
"iconBadges": []
}
],
"tagRenderings": [
"images",
"reviews",
"contact",
"wikipedia",
{
"id": "cinema_type",
"question": {
"en": "What type of cinema is this?"
},
"mappings": [
{
"if": "cinema=",
"then": {
"en": "This is a normal cinema showing movies for all ages"
}
},
{
"if": "cinema=erotic",
"then": {
"en": "This is an erotic cinema showing adult movies"
}
}
]
}
]
}

View file

@ -0,0 +1,25 @@
<?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"
version="1.1"
width="16"
height="16"
viewBox="0 0 16 16"
id="svg2">
<metadata id="metadata8">
<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/>
</cc:Work>
</rdf:RDF>
</metadata>
<defs id="defs6"/>
<rect width="16" height="16" x="0" y="0" id="canvas" style="fill:none;stroke:none;visibility:hidden"/>
<path d="M 1,1 C 0.446,1 0,1.446 0,2 l 0,11 c 0,0.554 0.446,1 1,1 l 12,0 c 0.554,0 1,-0.446 1,-1 L 14,2 C 14,1.446 13.554,1 13,1 L 1,1 z m 0.25,1 0.5,0 C 1.8885,2 2,2.1115 2,2.25 l 0,0.5 C 2,2.8885 1.8885,3 1.75,3 L 1.25,3 C 1.1115,3 1,2.8885 1,2.75 L 1,2.25 C 1,2.1115 1.1115,2 1.25,2 z M 4,2 10,2 10,7 4,7 4,2 z m 8.25,0 0.5,0 C 12.8885,2 13,2.1115 13,2.25 l 0,0.5 C 13,2.8885 12.8885,3 12.75,3 l -0.5,0 C 12.1115,3 12,2.8885 12,2.75 l 0,-0.5 C 12,2.1115 12.1115,2 12.25,2 z m -11,2 0.5,0 C 1.8885,4 2,4.1115 2,4.25 l 0,0.5 C 2,4.8885 1.8885,5 1.75,5 L 1.25,5 C 1.1115,5 1,4.8885 1,4.75 L 1,4.25 C 1,4.1115 1.1115,4 1.25,4 z m 11,0 0.5,0 C 12.8885,4 13,4.1115 13,4.25 l 0,0.5 C 13,4.8885 12.8885,5 12.75,5 l -0.5,0 C 12.1115,5 12,4.8885 12,4.75 l 0,-0.5 C 12,4.1115 12.1115,4 12.25,4 z m -11,2 0.5,0 C 1.8885,6 2,6.1115 2,6.25 l 0,0.5 C 2,6.8885 1.8885,7 1.75,7 L 1.25,7 C 1.1115,7 1,6.8885 1,6.75 L 1,6.25 C 1,6.1115 1.1115,6 1.25,6 z m 11,0 0.5,0 C 12.8885,6 13,6.1115 13,6.25 l 0,0.5 C 13,6.8885 12.8885,7 12.75,7 l -0.5,0 C 12.1115,7 12,6.8885 12,6.75 l 0,-0.5 C 12,6.1115 12.1115,6 12.25,6 z m -11,2 0.5,0 C 1.8885,8 2,8.1115 2,8.25 l 0,0.5 C 2,8.8885 1.8885,9 1.75,9 L 1.25,9 C 1.1115,9 1,8.8885 1,8.75 L 1,8.25 C 1,8.1115 1.1115,8 1.25,8 z M 4,8 l 6,0 0,5 -6,0 0,-5 z m 8.25,0 0.5,0 C 12.8885,8 13,8.1115 13,8.25 l 0,0.5 C 13,8.8885 12.8885,9 12.75,9 l -0.5,0 C 12.1115,9 12,8.8885 12,8.75 l 0,-0.5 C 12,8.1115 12.1115,8 12.25,8 z m -11,2 0.5,0 C 1.8885,10 2,10.1115 2,10.25 l 0,0.5 C 2,10.8885 1.8885,11 1.75,11 l -0.5,0 C 1.1115,11 1,10.8885 1,10.75 l 0,-0.5 C 1,10.1115 1.1115,10 1.25,10 z m 11,0 0.5,0 c 0.1385,0 0.25,0.1115 0.25,0.25 l 0,0.5 C 13,10.8885 12.8885,11 12.75,11 l -0.5,0 C 12.1115,11 12,10.8885 12,10.75 l 0,-0.5 C 12,10.1115 12.1115,10 12.25,10 z m -11,2 0.5,0 C 1.8885,12 2,12.1115 2,12.25 l 0,0.5 C 2,12.8885 1.8885,13 1.75,13 l -0.5,0 C 1.1115,13 1,12.8885 1,12.75 l 0,-0.5 C 1,12.1115 1.1115,12 1.25,12 z m 11,0 0.5,0 c 0.1385,0 0.25,0.1115 0.25,0.25 l 0,0.5 C 13,12.8885 12.8885,13 12.75,13 l -0.5,0 C 12.1115,13 12,12.8885 12,12.75 l 0,-0.5 C 12,12.1115 12.1115,12 12.25,12 z" id="cinema" style="fill:#734a08;fill-opacity:1;stroke:none" transform="translate(1,1)"/>
</svg>

After

Width:  |  Height:  |  Size: 2.9 KiB

View file

@ -0,0 +1,2 @@
SPDX-FileCopyrightText: OSM Carto
SPDX-License-Identifier: PUBLIC-DOMAIN

View file

@ -0,0 +1,12 @@
[
{
"path": "cinema.svg",
"license": "PUBLIC-DOMAIN",
"authors": [
"OSM Carto"
],
"sources": [
"https://wiki.openstreetmap.org/wiki/File:Cinema-16.svg"
]
}
]

View file

@ -0,0 +1,12 @@
[
{
"path": "stripclub.svg",
"license": "PUBLIC-DOMAIN",
"authors": [
"Unkown"
],
"sources": [
"https://publicdomainpictures.net/en/view-image.php?image=120141&picture="
]
}
]

View file

@ -0,0 +1,86 @@
{
"id": "stripclub",
"name": {
"en": "Stripclubs"
},
"description": {
"en": "A venue where erotic dance, striptease, or lap dances are performed commercially. "
},
"source": {
"osmTags": "amenity=stripclub",
"isOsmCache": false
},
"minzoom": 6,
"title": {
"render": {
"en": "Stripclub"
},
"mappings": [
{
"if": "name~*",
"then": {
"*": "{name}"
}
}
]
},
"pointRendering": [
{
"location": [
"point",
"centroid"
],
"marker": [
{
"icon": "circle",
"color": "white"
},
{
"icon": "ring",
"color": "#be57b4ff"
}
]
},
{
"location": [
"point",
"centroid"
],
"marker": [
{
"icon": "./assets/layers/stripclub/stripclub.svg"
}
]
}
],
"presets": [
{
"title": {
"en": "a stripclub"
},
"tags": [
"amenity=stripclub"
]
}
],
"tagRenderings": [
"images",
"reviews",
{
"multiAnswer": false,
"id": "name",
"freeform": {
"inline": false,
"key": "name"
},
"question": {
"en": "What is the name of this stripclub?"
},
"render": {
"en": "This stripclub is named <b>{name}</b>"
}
},
"opening_hours",
"contact"
]
}

View file

@ -0,0 +1,42 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="7.1035852mm"
height="15.871516mm"
viewBox="0 0 7.1035852 15.871516"
version="1.1"
id="svg1"
xml:space="preserve"
inkscape:version="1.3.2 (1:1.3.2+202311252150+091e20ef0f)"
sodipodi:docname="stripclub.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="#505050"
bordercolor="#eeeeee"
borderopacity="1"
inkscape:showpageshadow="0"
inkscape:pageopacity="0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:document-units="mm"
inkscape:zoom="4.8257159"
inkscape:cx="1.9686198"
inkscape:cy="44.242141"
inkscape:window-width="1920"
inkscape:window-height="995"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="layer1" /><defs
id="defs1" /><g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-87.169665,-130.08849)"><path
style="fill:#be57b4;fill-opacity:1"
d="m 91.611366,145.92861 c -0.02978,-0.0298 -0.05414,-1.19487 -0.05414,-2.58909 0,-2.38093 -0.009,-2.53125 -0.148166,-2.4742 -0.08149,0.0334 -0.310092,0.0805 -0.508,0.10474 -0.440991,0.0539 -0.488646,-0.10219 -0.08295,-0.2717 0.152287,-0.0636 0.347879,-0.19414 0.434649,-0.29001 0.08677,-0.0959 0.188594,-0.15528 0.226275,-0.13199 0.03768,0.0233 -0.03049,-0.13479 -0.151496,-0.35129 -0.121005,-0.21651 -0.344304,-0.46698 -0.49622,-0.55661 -0.569157,-0.33581 -0.670164,-0.77749 -0.374398,-1.63715 0.153155,-0.44516 0.157305,-0.51214 0.04258,-0.68724 -0.07457,-0.1138 -0.299474,-0.24519 -0.544044,-0.31782 -0.229309,-0.0681 -0.490712,-0.1633 -0.580895,-0.21157 -0.248744,-0.13312 -0.40017,0.24053 -0.257439,0.63525 0.08944,0.24735 0.08306,0.32484 -0.04457,0.5409 -0.107625,0.1822 -0.125887,0.29344 -0.0658,0.40081 0.05946,0.10624 0.04798,0.18749 -0.04025,0.28499 -0.08948,0.0989 -0.102019,0.19267 -0.0456,0.34106 0.05758,0.15143 0.0371,0.28115 -0.07871,0.49867 -0.15027,0.28224 -0.156671,0.28521 -0.160078,0.0743 -0.002,-0.12084 -0.07975,-0.28867 -0.172883,-0.37296 -0.134419,-0.12164 -0.169333,-0.12784 -0.169333,-0.03 0,0.0677 0.04572,0.16891 0.1016,0.22479 0.0662,0.0662 0.06981,0.1016 0.01037,0.1016 -0.146173,0 -0.285189,-0.21652 -0.261135,-0.40673 0.01219,-0.0964 -0.01593,-0.17719 -0.0625,-0.17952 -0.08224,-0.004 -0.09919,0.0669 -0.118,0.49452 -0.01081,0.2457 -0.09689,0.18614 -0.131962,-0.0913 -0.04455,-0.35239 -0.08523,-0.43821 -0.297327,-0.62719 -0.190503,-0.16974 -0.199099,-0.20679 -0.09896,-0.42656 0.09895,-0.21718 0.09153,-0.25535 -0.07596,-0.39098 -0.151401,-0.1226 -0.175504,-0.20422 -0.130752,-0.44277 0.03266,-0.17408 0.01432,-0.35738 -0.0453,-0.45285 -0.125966,-0.20171 -0.05533,-0.49047 0.21879,-0.89441 0.117597,-0.17329 0.213813,-0.37277 0.213813,-0.4433 0,-0.0705 0.0381,-0.10469 0.08467,-0.0759 0.04657,0.0288 0.08467,0.0184 0.08467,-0.023 0,-0.0414 0.09395,-0.12564 0.208781,-0.1871 0.155848,-0.0834 0.237872,-0.0876 0.323529,-0.0165 0.07202,0.0598 0.270118,0.0753 0.532052,0.0417 0.398923,-0.0512 0.452734,-0.0921 1.221638,-0.92696 0.442383,-0.48036 0.940127,-0.97636 1.106096,-1.10222 l 0.301763,-0.22884 0.0202,-1.3185 c 0.01111,-0.72518 0.05504,-1.35345 0.09763,-1.39616 0.116881,-0.11722 0.154807,0.0722 0.201962,1.00899 0.02344,0.46567 0.06748,1.00931 0.09787,1.20809 0.03048,0.19939 0.01823,0.40816 -0.02732,0.46567 -0.04899,0.0618 -0.0872,1.15897 -0.09396,2.6978 l -0.0114,2.59356 0.190747,0.0511 c 0.104911,0.0281 0.324098,0.0527 0.487081,0.0546 0.162983,0.002 0.560379,0.11606 0.883102,0.2537 0.978471,0.41731 0.973527,0.58177 -0.03992,1.32784 -0.732824,0.53949 -0.763135,0.57464 -0.710454,0.82393 0.06649,0.31463 1.107064,2.57784 1.269522,2.76116 0.280284,0.31629 0.508345,1.2669 0.30394,1.2669 -0.03949,0 -0.1409,-0.15322 -0.225346,-0.34048 -0.0972,-0.21555 -0.226191,-0.35873 -0.351526,-0.39018 -0.151704,-0.0381 -0.197987,-0.10823 -0.197987,-0.30008 0,-0.33005 -0.10762,-0.51976 -0.640405,-1.12889 -0.284183,-0.3249 -0.465643,-0.61929 -0.502354,-0.81497 -0.03161,-0.16849 -0.14818,-0.45396 -0.259047,-0.63437 l -0.201576,-0.32803 -0.0026,2.59851 c -0.0024,2.35764 -0.03644,2.80048 -0.2025,2.63441 z m 1.052932,-6.43181 c 0.16527,-0.18134 0.175044,-0.21433 0.05017,-0.16933 -0.0853,0.0307 -0.224609,0.0559 -0.309574,0.0559 -0.112798,0 -0.142534,0.0457 -0.110201,0.16933 0.05849,0.22366 0.123844,0.21378 0.369607,-0.0559 z m -3.973753,-0.80839 c -0.09816,-0.1533 -0.179111,-0.2465 -0.179895,-0.20711 -0.0021,0.10653 0.280213,0.56398 0.322184,0.522 0.0199,-0.0199 -0.04413,-0.1616 -0.142289,-0.31489 z m -0.377485,-0.42159 c -0.02703,-0.0675 -0.04709,-0.0475 -0.05115,0.0512 -0.0037,0.0892 0.01633,0.13926 0.04447,0.11113 0.02813,-0.0281 0.03114,-0.10116 0.0067,-0.16228 z m 3.238797,-1.99496 c -0.0045,-0.33665 -0.01826,-0.36999 -0.08452,-0.20468 -0.07026,0.17529 -0.02991,0.60685 0.05674,0.60685 0.01823,0 0.03074,-0.18098 0.02779,-0.40217 z m -0.281016,-0.88708 c 0.147142,-0.28454 0.188427,-0.53093 0.252131,-1.50475 l 0.04154,-0.635 -0.236208,0.29633 c -0.129915,0.16298 -0.313898,0.37253 -0.408851,0.46567 -0.09495,0.0931 -0.298301,0.33125 -0.451883,0.52916 l -0.279241,0.35984 h 0.244181 c 0.292255,0 0.447381,0.13558 0.447381,0.391 0,0.26277 0.0881,0.46353 0.178807,0.40747 0.04202,-0.026 0.137484,-0.16534 0.212143,-0.30972 z"
id="path2" /></g></svg>

After

Width:  |  Height:  |  Size: 5.5 KiB

View file

@ -0,0 +1,2 @@
SPDX-FileCopyrightText: Unkown
SPDX-License-Identifier: PUBLIC-DOMAIN

View file

@ -3,14 +3,19 @@
"title": {
"en": "Changes made with MapComplete"
},
"description": {
"en": "This maps shows all the changes made with MapComplete"
},
"shortDescription": {
"en": "Shows changes made by MapComplete"
},
"description": {
"en": "This maps shows all the changes made with MapComplete"
},
"icon": "./assets/svg/logo.svg",
"hideFromOverview": true,
"startLat": 0,
"startLon": 0,
"startZoom": 1,
"widenFactor": 0.05,
"clustering": false,
"layers": [
{
"id": "mapcomplete-changes",
@ -311,6 +316,10 @@
"if": "theme=onwheels",
"then": "./assets/themes/onwheels/crest.svg"
},
{
"if": "theme=openlovemap",
"then": "./assets/layers/stripclub/stripclub.svg"
},
{
"if": "theme=openwindpowermap",
"then": "./assets/themes/openwindpowermap/logo.svg"
@ -650,7 +659,5 @@
]
}
}
],
"widenFactor": 0.05,
"clustering": false
]
}

View file

@ -0,0 +1,209 @@
{
"id": "openlovemap",
"title": {
"en": "Open Love Map"
},
"description": {
"en": "<p><i>Love in the palm of your hand</i></p>Open Love Map lists various adult entries, such as brothels, erotic stores and stripclubs."
},
"icon": "./assets/layers/stripclub/stripclub.svg",
"layers": [
"brothel",
"stripclub",
{
"builtin": "shops",
"override": {
"id": "erotic-shop",
"source": {
"osmTags": "shop=erotic"
},
"minzoom": 6,
"=filter": [
"open_now"
],
"=presets": [
{
"title": {
"en": "an erotic shop"
},
"tags": [
"shop=erotic"
]
}
]
}
},
{
"builtin": "shops",
"override": {
"minzoom": 18,
"=presets": [],
"=name": null
}
},
{
"builtin": "vending_machine",
"override": {
"id": "condom_vending_machine",
"pointRendering": [
{
"marker": [
{
"icon": "circle",
"color": "white"
},
{
"icon": "ring",
"color": "black"
}
],
"location": [
"centroid",
"point"
],
"iconSize": "40,40",
"anchor": "center"
},
{
"marker": [
{
"icon": "./assets/layers/vending_machine/condom.svg"
}
],
"location": [
"centroid",
"point"
],
"iconSize": "26,26",
"anchor": "center"
}
],
"=filter": [
"open_now"
],
"source": {
"osmTags": {
"=and": [
"amenity=vending_machine",
"vending=condoms"
]
}
},
"minzoom": 6,
"=presets": [
{
"title": {
"en": "a condom vending machine"
},
"tags": [
"amenity=vending_machine",
"vending=condoms"
]
}
]
}
},
{
"builtin": "vending_machine",
"override": {
"minzoom": 18,
"=presets": [],
"=name": null
}
},
{
"builtin": "cinema",
"hideTagRenderingsWithLabels": ["wikipedia"],
"override": {
"id": "erotic_cinema",
"pointRendering": [
{
"marker": [
{
"icon": "circle",
"color": "white"
},
{
"icon": "ring",
"color": "#734a08"
}
],
"location": [
"centroid",
"point"
],
"iconSize": "40,40",
"anchor": "center"
},
{
"marker": [
{
"icon": "./assets/layers/cinema/cinema.svg"
}
],
"location": [
"centroid",
"point"
],
"iconSize": "26,26",
"anchor": "center"
}
],
"=filter": [
"open_now"
],
"tagRenderings+": ["opening_hours"],
"source": {
"osmTags": {
"=and": [
"amenity=cinema",
"cinema=erotic"
]
}
},
"minzoom": 6,
"=presets": [
{
"title": {
"en": "an erotic cinema"
},
"tags": [
"amenity=cinema",
"cinema=erotic"
]
}
]
}
},
{
"builtin": "cinema",
"override": {
"minzoom": 18,
"=presets": [],
"=name": null
}
}
],
"overrideAll": {
"tagRenderings+": [{
"id": "has_video_booth",
"question": {"en":
"Does {title()} have a private video booth?"
},
"questionHint": {
"en": "This is for use by a single person."
},
"mappings": [
{
"if": "service:private_video_booth=yes",
"then": "Private video booths are available"
},
{
"if": "service:private_video_booth=no",
"then": "No private video booths"
}
]
}]
}
}