Add preset for camp_site=camp_pitch for individual pitches

This commit is contained in:
Bryan Housel
2016-10-31 17:08:01 -04:00
parent 1692f5ece0
commit 8cd2d7097c
6 changed files with 51 additions and 0 deletions

View File

@@ -1935,6 +1935,11 @@ en:
# building=warehouse
name: Warehouse
terms: '<translate with synonyms or related terms for ''Warehouse'', separated by commas>'
camp_site/camp_pitch:
# camp_site=camp_pitch
name: Camp Pitch
# 'terms: tent,rv'
terms: '<translate with synonyms or related terms for ''Camp Pitch'', separated by commas>'
craft:
# craft=*
name: Craft

View File

@@ -3302,6 +3302,24 @@
"matchScore": 0.5,
"name": "Warehouse"
},
"camp_site/camp_pitch": {
"icon": "campsite",
"fields": [
"ref"
],
"geometry": [
"point",
"area"
],
"terms": [
"tent",
"rv"
],
"tags": {
"camp_site": "camp_pitch"
},
"name": "Camp Pitch"
},
"craft": {
"icon": "marker-stroked",
"fields": [

View File

@@ -0,0 +1,18 @@
{
"icon": "campsite",
"fields": [
"ref"
],
"geometry": [
"point",
"area"
],
"terms": [
"tent",
"rv"
],
"tags": {
"camp_site": "camp_pitch"
},
"name": "Camp Pitch"
}

View File

@@ -728,6 +728,10 @@
"key": "building",
"value": "warehouse"
},
{
"key": "camp_site",
"value": "camp_pitch"
},
{
"key": "craft"
},

View File

@@ -2327,6 +2327,10 @@
"name": "Warehouse",
"terms": ""
},
"camp_site/camp_pitch": {
"name": "Camp Pitch",
"terms": "tent,rv"
},
"craft": {
"name": "Craft",
"terms": ""

View File

@@ -42,6 +42,7 @@ export function svgLabels(projection, context) {
['area', 'natural', '*', 12],
['area', 'shop', '*', 12],
['area', 'tourism', '*', 12],
['area', 'camp_site', '*', 12],
['point', 'aeroway', '*', 10],
['point', 'amenity', '*', 10],
['point', 'building', '*', 10],
@@ -51,6 +52,7 @@ export function svgLabels(projection, context) {
['point', 'natural', '*', 10],
['point', 'shop', '*', 10],
['point', 'tourism', '*', 10],
['point', 'camp_site', '*', 10],
['line', 'name', '*', 12],
['area', 'name', '*', 12],
['point', 'name', '*', 10]