Skip to content

Commit

Permalink
add SCHOOLS and HIGHER_EDUCATION classes to osm layer
Browse files Browse the repository at this point in the history
  • Loading branch information
tedw0ng committed Aug 26, 2024
1 parent 0551fe6 commit 7a98f52
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions city_metrix/layers/open_street_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ class OpenStreetMapClass(Enum):
ECONOMIC_OPPORTUNITY = {'landuse': ['commercial', 'industrial', 'retail', 'institutional', 'education'],
'building': ['office', 'commercial', 'industrial', 'retail', 'supermarket'],
'shop': True}
SCHOOLS = {'building': ['school',],
'amenity': ['school', 'kindergarten']
}
HIGHER_EDUCATION = {'amenity': ['college', 'university'],
'building': ['college', 'university']
}


class OpenStreetMap(Layer):
Expand Down

0 comments on commit 7a98f52

Please sign in to comment.