Use Google street view images to assist the research of road safety. Extract the coordinates of intersections of a city and use them to retrieve links for street view images from the Google map API. For each interaction, get the multiple images that cover the 360 degree view at the center of the intersection.
- parse shapefiles and determine intersection points: intersection.py
- For those shapefiles that don't provide intersection information, a method is described and implemented to determine intersections from the roads' points. See Determine road intersections for details.
- Use Google Street View metadata API to get road point information (e.g. if street view photo available, photo taken date...): checkPointInfo.py
- main.py
- Shapefile downloaded from following websites:
- Tools:
- Python Version: 2.7.9
- You'll need to install some dependent packages.
- You'll need to fill in the Google API information in config/config.yaml.