mirror of
https://github.com/openstreetmap/id-tagging-schema.git
synced 2025-10-26 12:23:52 +01:00
Compare commits
1 commit
37251709d2
...
7f8bb45ef2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7f8bb45ef2 |
19 changed files with 19 additions and 84 deletions
1
.github/dependabot.yml
vendored
1
.github/dependabot.yml
vendored
|
|
@ -9,4 +9,3 @@ updates:
|
|||
directory: "/"
|
||||
schedule:
|
||||
interval: "daily"
|
||||
versioning-strategy: increase-if-necessary
|
||||
|
|
|
|||
|
|
@ -50,10 +50,10 @@ Icons from different sources (_icon sets_) can be used in the tagging schema. He
|
|||
|
||||
### Info-`i`
|
||||
|
||||
<img alt="Screenshot of a preset in iD with the information details open." src="https://github.com/openstreetmap/id-tagging-schema/assets/111561/13549318-cd7c-4dd1-9948-7a2d84662f04" width="400" />
|
||||

|
||||
|
||||
iD and other tools provide users with a way to learn more about the main tag of a preset. It is important to provide good information in this information panel. Here are a few notes on how to do this:
|
||||
- Does your tag have a OSM Wiki data item? Click the small pencil icon next to the text to open the data item on the OSM Wiki. Improve this wording if needed. If the data item is missing, [learn more about how to add it in "Current methods for creating new items"](https://wiki.openstreetmap.org/wiki/Data_items#Item_creation_process).
|
||||
- Does your tag have a Wikibase entry? Click the small pencil icon next to the text to open the Wikibase item on the OSM wiki. Improve this wording if needed. If the Wikibase item is missing, [learn more about how to add it in "Current methods for creating new items"](https://wiki.openstreetmap.org/wiki/Data_items#Item_creation_process).
|
||||
- Does your tag have a Wiki page with a good image?
|
||||
- Your preset might need [a `reference` property](https://github.com/ideditor/schema-builder?tab=readme-ov-file#reference) to force the system to use a specific tag for the information section.
|
||||
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ In addition, the deprecated tag must have reasonably high usage to be considered
|
|||
|
||||
Deprecation rules work such that the user sees a message with suggestions and can act only when editing the given element. This makes them well-suited for gradual, human-reviewed updates of taggings like crossings. However, they are not suitable for cleaning up incorrect tagging from the database, especially for low-volume changes.
|
||||
|
||||
There are, however, alternatives to consider:
|
||||
There are, however, alternatives to consider:
|
||||
- Your cleanup task might be eligible for an automated (bot) edit. [Please learn more on the wiki…](https://wiki.openstreetmap.org/wiki/Automated_Edits_code_of_conduct)
|
||||
- If your task is small enough, a few [editing sessions in JOSM](https://wiki.openstreetmap.org/wiki/JOSM) will often do the trick. However, mass-replacing without checking each object is still considered an automated edit, so the [guidelines apply](https://wiki.openstreetmap.org/wiki/Automated_Edits_code_of_conduct). Please consult other mappers first.
|
||||
- A good way to work down a list of tasks is to create [a MapRoulette Challenge](https://maproulette.org/).
|
||||
|
|
@ -65,7 +65,7 @@ The user interface must be clear, concise, and easy to use, leaving no room for
|
|||
- Check the search functionality to ensure other presets do not cause confusion.
|
||||
- Select an icon or start the process to create a new one.
|
||||
- Define which fields to show (`fields`) and suggest (`moreFields`), considering the order of fields.
|
||||
- Check the [`(i)` documentation](./CONTRIBUTING.md#info-i) and add or update the OSM Wiki data item if needed to provide a helpful short text.
|
||||
- Check the `(i)` documentation and add or update the [OSM Wikibase item](https://wiki.openstreetmap.org/wiki/Data_items) if needed to provide a helpful short text.
|
||||
- Use the PR preview to add test cases with deep links to OSM objects that demonstrate the preset in use.
|
||||
|
||||
## 3. Implement
|
||||
|
|
|
|||
|
|
@ -63,8 +63,7 @@
|
|||
"train_station": "Train Station Building",
|
||||
"transportation": "Transportation Building",
|
||||
"university": "University Building",
|
||||
"warehouse": "Warehouse",
|
||||
"container": "Container"
|
||||
"warehouse": "Warehouse"
|
||||
}
|
||||
},
|
||||
"terms": [
|
||||
|
|
|
|||
|
|
@ -1,38 +1,5 @@
|
|||
{
|
||||
"key": "house",
|
||||
"type": "combo",
|
||||
"label": "House Type",
|
||||
"strings": {
|
||||
"options": {
|
||||
"bungalow": {
|
||||
"title": "Bungalow",
|
||||
"description": "A small house with a single storey"
|
||||
},
|
||||
"detached": {
|
||||
"title": "Detached House",
|
||||
"description": "A house that is not connected to any other houses"
|
||||
},
|
||||
"link-detached": {
|
||||
"title": "Link-Detached House",
|
||||
"description": "A house that is connected to another house by a garage or other non-living area"
|
||||
},
|
||||
"maisonette": {
|
||||
"title": "Maisonette",
|
||||
"description": "A residential dwelling, split over two floors with private external entrances rather than a communal entrance"
|
||||
},
|
||||
"semi-detached": {
|
||||
"title": "Semi-Detached House",
|
||||
"description": "A house that is attached to another house on one side"
|
||||
},
|
||||
"terrace": {
|
||||
"title": "Row of Townhouses",
|
||||
"description": "A row of houses that are attached to each other in a line (mapping each house as a separate area is preferred)"
|
||||
},
|
||||
"terraced": {
|
||||
"title": "Single Townhouse",
|
||||
"description": "Individual house in a row of townhouses"
|
||||
}
|
||||
}
|
||||
},
|
||||
"autoSuggestions": false
|
||||
"label": "House Type"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
],
|
||||
"type": "tel",
|
||||
"label": "Telephone",
|
||||
"placeholder": "+000 0000 0000 0000",
|
||||
"placeholder": "+31 42 123 4567",
|
||||
"terms": [
|
||||
"phone number"
|
||||
]
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@
|
|||
"freestanding": "roentgen-tube",
|
||||
"guyed_lattice": "roentgen-lattice_guyed",
|
||||
"guyed_tube": "roentgen-tube_guyed",
|
||||
"lattice": "roentgen-lattice",
|
||||
"dish": "fas-satellite-dish"
|
||||
"lattice": "roentgen-lattice"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,8 +8,7 @@
|
|||
"water_tank": "Water Tank",
|
||||
"pond": "Pond",
|
||||
"river": "River",
|
||||
"stream": "Stream",
|
||||
"groundwater": "Groundwater"
|
||||
"stream": "Stream"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,7 +6,8 @@
|
|||
"icao",
|
||||
"address",
|
||||
"operator",
|
||||
"operator/type"
|
||||
"operator/type",
|
||||
"{@templates/internet_access}"
|
||||
],
|
||||
"moreFields": [
|
||||
"{@templates/contact}",
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@
|
|||
"area"
|
||||
],
|
||||
"fields": [
|
||||
"house",
|
||||
"{building}"
|
||||
"{building}",
|
||||
"house"
|
||||
],
|
||||
"tags": {
|
||||
"building": "house"
|
||||
|
|
|
|||
|
|
@ -3,10 +3,6 @@
|
|||
"geometry": [
|
||||
"area"
|
||||
],
|
||||
"fields": [
|
||||
"house",
|
||||
"{building}"
|
||||
],
|
||||
"tags": {
|
||||
"building": "house",
|
||||
"house": "detached"
|
||||
|
|
|
|||
|
|
@ -3,10 +3,6 @@
|
|||
"geometry": [
|
||||
"area"
|
||||
],
|
||||
"fields": [
|
||||
"house",
|
||||
"{building}"
|
||||
],
|
||||
"tags": {
|
||||
"building": "house",
|
||||
"house": "semi-detached"
|
||||
|
|
|
|||
|
|
@ -3,10 +3,6 @@
|
|||
"geometry": [
|
||||
"area"
|
||||
],
|
||||
"fields": [
|
||||
"house",
|
||||
"{building}"
|
||||
],
|
||||
"tags": {
|
||||
"building": "house",
|
||||
"house": "terrace"
|
||||
|
|
|
|||
|
|
@ -3,10 +3,6 @@
|
|||
"geometry": [
|
||||
"area"
|
||||
],
|
||||
"fields": [
|
||||
"house",
|
||||
"{building}"
|
||||
],
|
||||
"tags": {
|
||||
"building": "house",
|
||||
"house": "terraced"
|
||||
|
|
|
|||
|
|
@ -12,6 +12,9 @@
|
|||
"area"
|
||||
],
|
||||
"tags": {
|
||||
"historic": "building"
|
||||
},
|
||||
"addTags": {
|
||||
"historic": "building",
|
||||
"building": "*"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -28,8 +28,7 @@
|
|||
"terms": [
|
||||
"exercise",
|
||||
"fitness",
|
||||
"gym",
|
||||
"street fitness"
|
||||
"gym"
|
||||
],
|
||||
"aliases": [
|
||||
"Calisthenics Park",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"icon": "maki-harbor",
|
||||
"icon": "temaki-oil_well",
|
||||
"fields": [
|
||||
"name",
|
||||
"seamark/platform/category",
|
||||
|
|
|
|||
|
|
@ -1,14 +0,0 @@
|
|||
{
|
||||
"icon": "fas-mobile-screen",
|
||||
"geometry": [
|
||||
"point",
|
||||
"area"
|
||||
],
|
||||
"tags": {
|
||||
"shop": "mobile_phone_accessories"
|
||||
},
|
||||
"terms": [
|
||||
"phone case"
|
||||
],
|
||||
"name": "Mobile Phone Accessory Store"
|
||||
}
|
||||
|
|
@ -8,8 +8,7 @@
|
|||
"moreFields": [
|
||||
"level",
|
||||
"material",
|
||||
"subject/wikidata",
|
||||
"inscription"
|
||||
"subject/wikidata"
|
||||
],
|
||||
"geometry": [
|
||||
"point",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue