mirror of
https://github.com/openstreetmap/id-tagging-schema.git
synced 2025-10-26 04:13:50 +01:00
Add Population Date and Population Source fields (#261)
* Added Population Date and Population Source fields * drop icon Co-authored-by: Martin Raifer <martin@raifer.tech>
This commit is contained in:
parent
130e5dd756
commit
1b29e3b965
12 changed files with 62 additions and 9 deletions
|
|
@ -2,5 +2,8 @@
|
|||
"key": "population",
|
||||
"type": "number",
|
||||
"minValue": 0,
|
||||
"label": "Population"
|
||||
"label": "Population",
|
||||
"terms": [
|
||||
"census"
|
||||
]
|
||||
}
|
||||
|
|
|
|||
12
data/fields/population/date.json
Normal file
12
data/fields/population/date.json
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"key": "population:date",
|
||||
"type": "text",
|
||||
"label": "Population Date",
|
||||
"placeholder": "YYYY-MM-DD",
|
||||
"prerequisiteTag": {
|
||||
"key": "population"
|
||||
},
|
||||
"terms": [
|
||||
"census date"
|
||||
]
|
||||
}
|
||||
14
data/fields/source/population.json
Normal file
14
data/fields/source/population.json
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"key": "source:population",
|
||||
"type": "combo",
|
||||
"label": "Population Source",
|
||||
"prerequisiteTag": {
|
||||
"key": "population"
|
||||
},
|
||||
"snake_case": false,
|
||||
"caseSensitive": true,
|
||||
"terms": [
|
||||
"census",
|
||||
"population reference"
|
||||
]
|
||||
}
|
||||
|
|
@ -7,7 +7,9 @@
|
|||
"informal",
|
||||
"start_date",
|
||||
"capacity",
|
||||
"population"
|
||||
"population",
|
||||
"population/date",
|
||||
"source/population"
|
||||
],
|
||||
"moreFields": [
|
||||
"internet_access",
|
||||
|
|
|
|||
|
|
@ -2,7 +2,9 @@
|
|||
"icon": "maki-city",
|
||||
"fields": [
|
||||
"name",
|
||||
"population"
|
||||
"population",
|
||||
"population/date",
|
||||
"source/population"
|
||||
],
|
||||
"geometry": [
|
||||
"point",
|
||||
|
|
|
|||
|
|
@ -2,7 +2,9 @@
|
|||
"icon": "maki-triangle-stroked",
|
||||
"fields": [
|
||||
"name",
|
||||
"population"
|
||||
"population",
|
||||
"population/date",
|
||||
"source/population"
|
||||
],
|
||||
"geometry": [
|
||||
"point",
|
||||
|
|
|
|||
|
|
@ -2,7 +2,9 @@
|
|||
"icon": "maki-triangle-stroked",
|
||||
"fields": [
|
||||
"name",
|
||||
"population"
|
||||
"population",
|
||||
"population/date",
|
||||
"source/population"
|
||||
],
|
||||
"moreFields": [
|
||||
"gnis/feature_id-US"
|
||||
|
|
|
|||
|
|
@ -2,7 +2,9 @@
|
|||
"icon": "maki-triangle-stroked",
|
||||
"fields": [
|
||||
"name",
|
||||
"population"
|
||||
"population",
|
||||
"population/date",
|
||||
"source/population"
|
||||
],
|
||||
"geometry": [
|
||||
"point",
|
||||
|
|
|
|||
|
|
@ -2,7 +2,9 @@
|
|||
"icon": "maki-triangle-stroked",
|
||||
"fields": [
|
||||
"name",
|
||||
"population"
|
||||
"population",
|
||||
"population/date",
|
||||
"source/population"
|
||||
],
|
||||
"geometry": [
|
||||
"point",
|
||||
|
|
|
|||
|
|
@ -2,7 +2,9 @@
|
|||
"icon": "maki-town",
|
||||
"fields": [
|
||||
"name",
|
||||
"population"
|
||||
"population",
|
||||
"population/date",
|
||||
"source/population"
|
||||
],
|
||||
"geometry": [
|
||||
"point",
|
||||
|
|
|
|||
|
|
@ -2,7 +2,9 @@
|
|||
"icon": "maki-village",
|
||||
"fields": [
|
||||
"name",
|
||||
"population"
|
||||
"population",
|
||||
"population/date",
|
||||
"source/population"
|
||||
],
|
||||
"geometry": [
|
||||
"point",
|
||||
|
|
|
|||
|
|
@ -2509,6 +2509,11 @@ en:
|
|||
population:
|
||||
# population=*
|
||||
label: Population
|
||||
population/date:
|
||||
# 'population:date=*'
|
||||
label: Population Date
|
||||
# population/date field placeholder
|
||||
placeholder: YYYY-MM-DD
|
||||
portable:
|
||||
# portable=*
|
||||
label: Portable
|
||||
|
|
@ -3094,6 +3099,9 @@ en:
|
|||
survey: Survey
|
||||
# 'terms: reference'
|
||||
terms: '[translate with synonyms or related terms for ''Sources'', separated by commas]'
|
||||
source/population:
|
||||
# 'source:population=*'
|
||||
label: Population Source
|
||||
species:
|
||||
# species=*
|
||||
label: Species
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue