Skip to content

Commit

Permalink
Merge pull request #15 from olincollege/SV-26-documentation
Browse files Browse the repository at this point in the history
Added to documentation about pedestrian_generators
  • Loading branch information
crane919 authored Nov 20, 2024
2 parents 81d1339 + d07f813 commit 1f0d834
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions docs/source/explanations/datasets.rst
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,20 @@ We have chosen to use the pedestrian accidents dataset from the Vision Zero init
Vision Zero Network Community Map (February 2024)

Vision Zero initiatives are a nationwide effort to eliminate traffic fatalities and severe injuries. Growing number of cities have contributed to this effort and collected data, which will help this project be applicable outside of Boston as well.

Pedestrian Generators
*********************

Pedestrian generators are establishments and attractions that will draw a flow of people. We focused on making catogories that target light night foot traphic and higher risk populations. To collect the data we used Open Street Map, which has a lot of crowd sourced data. The data is not a complete set, but is a good starting place to look at this attribute. The following are the catogories that we looked for:

- **Tourist Spots**: Tourism areas, museams, art galleries, attractions, viewpoints, zoo, theme parks, memorials, monument, historic sites
- **Schools**: Schools, university, college, language schools
- **Health Facalities**: Hospitals, clinics, nursing homes, doctors, dentists, pharamcies, disability services, social facilities, healthcare
- **Open Spaces**: Parks, nauares reserve, gardens, recreation grounds, playgrounds, grass
- **Shopping**: Shops, markets, supermarkets, convenience stores, department stores, clothe stores, shoe stores
- **Night Life**: Bars, Pubs, Nightclubs, casinos, cocktail bars, beer gardens, dance centre, drinking water
- **Open Spaces**: Parks, nauares reserve, gardens, recreation grounds, playgrounds, grass
- **Restaurants**: Restaurants, fast food, food court, ice cream, pizza

Here is more information on each of the tags on the `OSM Website <https://wiki.openstreetmap.org/wiki/Map_features>`.

2 changes: 1 addition & 1 deletion src/night_light/pedestrian_generators/osmquery.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ def get_night_life(file_path: str):
osm_query(query, file_path)


def get_resturants(file_path: str):
def get_restaurants(file_path: str):
query = """
[out:json];
area["name"="Boston"]["boundary"="administrative"];
Expand Down

0 comments on commit 1f0d834

Please sign in to comment.