Split doctors-layer into 'doctors', 'physiotherapist' and 'dentist' layers

This commit is contained in:
Pieter Vander Vennet 2022-12-05 23:14:07 +01:00
parent 0e4fad5f3c
commit a28b610bbf
12 changed files with 251 additions and 120 deletions

View file

@ -1,20 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns="http://www.w3.org/2000/svg"
version="1.1"
width="14"
height="14"
viewBox="0 0 14 14">
<rect
width="14"
height="14"
x="0"
y="0"
id="canvas"
style="fill:none;stroke:none;visibility:hidden" />
<path
d="m 7,8 c 2,0 2,1 2,3 0,1 -1.009121,3 0,3 1,0 1.751359,-1.142963 2,-3 C 11.248641,9.142963 11,8 11,7 11,5 12,3 12,2 12,1 11.599761,0.21742 11,0 9,0 9,1 7,1 5,1 5,0 3,0 2.400799,0.21742 2,1 2,2 2,3 3,5 3,7 3,8 2.87761,9.57334 3,11 3.12239,12.42666 4,14 5,14 6.008702,14 5,12 5,11 5,9 5,8 7,8 z"
id="dentist" style="fill:#BF0000"/>
</svg>

Before

Width:  |  Height:  |  Size: 739 B

View file

@ -8,19 +8,11 @@
"pa_PK": "ڈاکٹر"
},
"description": {
"en": "This layer shows doctor offices, dentists and other healthcare facilities",
"de": "Diese Ebene zeigt Arztpraxen, Zahnärzte und andere Gesundheitseinrichtungen",
"nl": "Deze laag toont dokterspraktijken, tandartsen en andere gezondheidszorgfaciliteiten",
"fr": "Ce calque montre les cabinets médicaux, les dentistes et autres établissements de santé"
"en": "This layer shows doctor offices"
},
"source": {
"osmTags": {
"or": [
"amenity=doctors",
"amenity=dentist",
"healthcare=physiotherapist"
]
}
"osmTags": "amenity=doctors"
},
"title": {
"render": {
@ -28,29 +20,12 @@
"de": "Arztpraxis {name}",
"nl": "Dokterspraktijk {name}",
"fr": "Cabinet medical {name}"
},
"mappings": [
{
"if": "amenity=doctors",
"then": "Doctors Office {name}"
},
{
"if": "amenity=dentist",
"then": "Dentists office {name}"
},
{
"if": "healthcare=physiotherapist",
"then": "Physiotherapists office {name}"
}
]
}
},
"minzoom": 13,
"tagRenderings": [
"images",
"opening_hours",
"phone",
"email",
"website",
{
"question": {
"en": "What is the name of this doctors place?",
@ -69,8 +44,11 @@
},
"id": "name"
},
"opening_hours_by_appointment",
"phone",
"email",
"website",
{
"condition": "amenity=doctors",
"id": "specialty",
"render": {
"en": "This doctor is specialized in {healthcare:speciality}",
@ -87,6 +65,7 @@
"freeform": {
"key": "healthcare:speciality"
},
"multiAnswer": true,
"mappings": [
{
"if": "healthcare:speciality=general",
@ -138,28 +117,6 @@
"tags": [
"amenity=doctors"
]
},
{
"title": {
"en": "a dentists office",
"de": "eine Zahnarztpraxis",
"nl": "een tandartspraktijk",
"fr": "un cabinet de dentistes"
},
"tags": [
"amenity=dentist"
]
},
{
"title": {
"en": "a physiotherapists office",
"de": "Praxis eines Physiotherapeuten",
"nl": "een fysiotherapeutenpraktijk",
"fr": "un cabinet de kinésithérapeutes"
},
"tags": [
"healthcare=physiotherapist"
]
}
],
"filter": [
@ -177,5 +134,6 @@
]
}
],
"deletion": true
}
"deletion": true,
"allowMove": true
}

View file

@ -1,14 +1,4 @@
[
{
"path": "dentist.svg",
"license": "CC0",
"authors": [
"OSM Carto"
],
"sources": [
"https://wiki.openstreetmap.org/wiki/File:Dentist-14.svg"
]
},
{
"path": "doctors.svg",
"license": "cc0",