Skip to content

Commit

Permalink
Replace field "site_type" with "archaeological_site", closes #677
Browse files Browse the repository at this point in the history
also closes #680, closes #681, closes #682
  • Loading branch information
kjonosm authored and tyrasd committed Dec 12, 2022
1 parent f264732 commit f2eef8e
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
4 changes: 4 additions & 0 deletions data/deprecated.json
Original file line number Diff line number Diff line change
Expand Up @@ -746,6 +746,10 @@
"old": {"highway": "unsurfaced"},
"replace": {"highway": "road", "surface": "unpaved"}
},
{
"old": {"historical": "archaeological_site", "site_type": "*"},
"replace": {"historical": "archaeological_site", "archaeological_site": "$1"}
},
{
"old": {"information": "citymap"},
"replace": {"tourism": "information", "information": "map", "map_type": "street", "map_size": "city"}
Expand Down
5 changes: 5 additions & 0 deletions data/fields/archaeological_site.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"key": "archaeological_site",
"type": "combo",
"label": "Type"
}
5 changes: 0 additions & 5 deletions data/fields/site_type.json

This file was deleted.

2 changes: 1 addition & 1 deletion data/presets/historic/archaeological_site.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"icon": "temaki-ruins",
"fields": [
"name",
"site_type",
"archaeological_site",
"historic/civilization",
"inscription",
"access_simple"
Expand Down

0 comments on commit f2eef8e

Please sign in to comment.