forked from MapComplete/MapComplete
Add universities and colleges, reorganize
This commit is contained in:
parent
1f0fbd23e0
commit
2408b4b19d
7 changed files with 90 additions and 17 deletions
|
@ -1,14 +1,4 @@
|
||||||
[
|
[
|
||||||
{
|
|
||||||
"path": "blackboard.svg",
|
|
||||||
"license": "CC-BY-SA 4.0",
|
|
||||||
"authors": [
|
|
||||||
"VideoPlasty"
|
|
||||||
],
|
|
||||||
"sources": [
|
|
||||||
"https://commons.wikimedia.org/wiki/File:Blackboard_Flat_Icon_Vector.svg"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"path": "childcare.svg",
|
"path": "childcare.svg",
|
||||||
"license": "CC-BY",
|
"license": "CC-BY",
|
||||||
|
|
|
@ -135,7 +135,7 @@
|
||||||
},
|
},
|
||||||
"multiAnswer": true,
|
"multiAnswer": true,
|
||||||
"render": {
|
"render": {
|
||||||
"en":"This is a school for"
|
"en":"This is a school for {school:for}"
|
||||||
},
|
},
|
||||||
"freeform": {
|
"freeform": {
|
||||||
"key": "school:for",
|
"key": "school:for",
|
||||||
|
|
82
assets/layers/tertiary_education/tertiary_education.json
Normal file
82
assets/layers/tertiary_education/tertiary_education.json
Normal file
|
@ -0,0 +1,82 @@
|
||||||
|
{
|
||||||
|
"id": "tertiary_education",
|
||||||
|
"name": {
|
||||||
|
"en": "Colleges and universities"
|
||||||
|
},
|
||||||
|
"description": "Layer with all tertiary education institutes (ISCED:2011 levels 6,7 and 8)",
|
||||||
|
"source": {
|
||||||
|
"osmTags": {
|
||||||
|
"or": [
|
||||||
|
"amenity=college",
|
||||||
|
"amenity=university",
|
||||||
|
{
|
||||||
|
"and": [
|
||||||
|
"amenity=school",
|
||||||
|
{
|
||||||
|
"or": [
|
||||||
|
"isced:2011:level~.*bachelor.*",
|
||||||
|
"isced:2011:level~.*master.*"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"title": {
|
||||||
|
"mappings": [
|
||||||
|
{
|
||||||
|
"if": "name~*",
|
||||||
|
"then": {
|
||||||
|
"*":"{name}"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"if": "amenity=college",
|
||||||
|
"then": {
|
||||||
|
"en": "College",
|
||||||
|
"nl": "Hogeschool"
|
||||||
|
}
|
||||||
|
},{
|
||||||
|
"if": "amenity=university",
|
||||||
|
"then": {
|
||||||
|
"en": "University"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"if": "amenity=school",
|
||||||
|
"then": {
|
||||||
|
"en": "School providing tertiary education"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"tagRenderings": [
|
||||||
|
"school.capacity",
|
||||||
|
"school.gender",
|
||||||
|
"school.target-audience",
|
||||||
|
"website",
|
||||||
|
"email",
|
||||||
|
"phone"
|
||||||
|
],
|
||||||
|
"mapRendering": [{
|
||||||
|
"location": ["point","centroid"],
|
||||||
|
"iconSize": {
|
||||||
|
"render": "40,40,center"
|
||||||
|
},
|
||||||
|
"label": {
|
||||||
|
"mappings": [
|
||||||
|
{
|
||||||
|
"if": "name~*",
|
||||||
|
"then": "<div class='bg-white rounded-lg p-1'>{name}</div>"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"icon": "circle:white;./assets/layers/school/college.svg"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"color": "#22f1f4",
|
||||||
|
"width": 1
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"id": "schools",
|
"id": "education",
|
||||||
"description": {
|
"description": {
|
||||||
"en": "On this map, you'll find information about all types of schools and eduction and can easily add more information"
|
"en": "On this map, you'll find information about all types of schools and eduction and can easily add more information"
|
||||||
},
|
},
|
||||||
|
@ -15,6 +15,7 @@
|
||||||
"icon": "./assets/layers/school/college.svg",
|
"icon": "./assets/layers/school/college.svg",
|
||||||
"layers": [
|
"layers": [
|
||||||
"kindergarten_childcare",
|
"kindergarten_childcare",
|
||||||
"school"
|
"school",
|
||||||
|
"tertiary_education"
|
||||||
]
|
]
|
||||||
}
|
}
|
|
@ -189,6 +189,10 @@
|
||||||
"if": "theme=drinking_water",
|
"if": "theme=drinking_water",
|
||||||
"then": "./assets/themes/drinking_water/logo.svg"
|
"then": "./assets/themes/drinking_water/logo.svg"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"if": "theme=education",
|
||||||
|
"then": "./assets/layers/school/college.svg"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"if": "theme=entrances",
|
"if": "theme=entrances",
|
||||||
"then": "./assets/layers/entrance/door.svg"
|
"then": "./assets/layers/entrance/door.svg"
|
||||||
|
@ -293,10 +297,6 @@
|
||||||
"if": "theme=postboxes",
|
"if": "theme=postboxes",
|
||||||
"then": "./assets/themes/postboxes/postbox.svg"
|
"then": "./assets/themes/postboxes/postbox.svg"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"if": "theme=schools",
|
|
||||||
"then": "./assets/layers/school/college.svg"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"if": "theme=shops",
|
"if": "theme=shops",
|
||||||
"then": "./assets/themes/shops/shop.svg"
|
"then": "./assets/themes/shops/shop.svg"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue