Skip to content

Commit

Permalink
Remove the old categories from tag tree
Browse files Browse the repository at this point in the history
  • Loading branch information
kshitijrajsharma committed Apr 25, 2024
1 parent 522b259 commit ea1e33e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 37 deletions.
32 changes: 1 addition & 31 deletions ui/app/utils/TreeTagSettings.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,6 @@ export const TAGTREE = {
"Materials and Condition": {}
}
},
"Administrative Boundaries":{
"children":{
"Boundaries":{}
}

},
"Commercial": {
"children": {
"Shop": {},
Expand Down Expand Up @@ -67,13 +61,7 @@ export const TAGTREE = {
"Alternative": {}
}
},
"Humanitarian": {
"children": {
"Wheelchair Access": {},
"Refugee Facility": {},
"Storage Warehouse": {}
}
},

"Land Use": {
"children": {
"Parks": {},
Expand Down Expand Up @@ -187,24 +175,6 @@ export const TAGLOOKUP = {
],
"where": "building IS NOT NULL"
},
"Administrative Boundaries" :{
"geom_types": [
"polygon"
],
"keys": [
"name"
],
"where": "boundary='administrative'"
},
"Boundaries": {
"geom_types": [
"polygon"
],
"keys": [
"name"
],
"where": "boundary='administrative'"
},
"Addresses": {
"geom_types": [
"point",
Expand Down
7 changes: 1 addition & 6 deletions ui/app/utils/tagtree.csv
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ Buildings,Building Names and Geometries,,,"point, polygon","name, building",buil
Buildings,Addresses,,,"point, polygon","addr:housenumber,addr:street",building IS NOT NULL,,
Buildings,Materials and Condition,,,polygon,"building:material,roof:material,access:roof",building IS NOT NULL,,
Buildings,Materials and Condition,,,polygon,"building:material,roof:material,access:roof",building IS NOT NULL,,
Administrative Boundaries,Boundaries,,,polygon,"name",boundary='administrative',,
Commercial,Commercial,yes,,,,"shop IS NOT NULL OR tourism IS NOT NULL OR amenity IN ('marketplace','restaurant','fast_food','cafe','bar','pub') OR office IS NOT NULL",,http://wiki.openstreetmap.org/wiki/Map_Features#Tourism
Commercial,Shop,,,"point, polygon","name, opening_hours, shop",shop IS NOT NULL,,
Commercial,Supermarket,,,"point, polygon","name, opening_hours, shop",amenity='marketplace' OR shop='convenience' OR shop='supermarket',,
Expand Down Expand Up @@ -39,10 +38,6 @@ Healthcare,Clinic,,,"point, polygon","medical_system:western,operator,operator:t
Healthcare,Hospital,,"clinic,doctor,pharmacy,hospital,dentist","point, polygon","medical_system:western,operator,operator:type,health_facility:bed,health_facility:level,health_facility:type,status,staff_count:doctors,staff_count:nurses,opening_hours,toilets:disposal,toilets:handwashing,access",amenity='hospital',,
Healthcare,Pharmacy,,,"point, polygon","name,amenity",amenity='pharmacy',,
Healthcare,Alternative ,,,"point, polygon","name, healthcare, shop","healthcare='alternative' OR shop IN ('herbalist','nutrition_supplements')",,
Humanitarian,Humanitarian,yes,,,,social_facility IS NOT NULL or wheelchair IS NOT NULL OR building='warehouse' OR industrial='warehouse',,
Humanitarian,Wheelchair Access,,,"point, line, polygon",wheelchair,wheelchair IS NOT NULL,,
Humanitarian,Refugee Facility,,,"point, polygon","name, amenity, social_facility",social_facility IS NOT NULL,,
Humanitarian,Storage Warehouse,,,"point, polygon","name,building,industrial",building='warehouse' OR industrial='warehouse',,
Land Use,Land Use,yes,,,,landuse IS NOT NULL OR leisure='park' OR amenity='grave_yard',,http://wiki.openstreetmap.org/wiki/Map_Features#LandUse
Land Use,Parks,,,polygon,"name, leisure",leisure='park',,
Land Use,Cemetery,,graveyard,polygon,"name,amenity",amenity='grave_yard' OR landuse='cemetery',,
Expand Down Expand Up @@ -99,4 +94,4 @@ Water,Water Point,,,"point, polygon","amenity, man_made, pump",amenity='water_po
Language,Language,yes,,,,,,
Language,English,,,"point, line, polygon",name:en,,,
Language,Swahili,,,"point, line, polygon",name:sw,,,
Language,French,,,"point, line, polygon",name:fr,,,
Language,French,,,"point, line, polygon",name:fr,,,

0 comments on commit ea1e33e

Please sign in to comment.