Skip to content

ProjectSidewalk/ToSidewalk

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ToSidewalk

This program generates potential sidewalk network from OpenStreetMap network data.

Resources

Requirements

This project uses the following python libraries as well as the C/C++ libraries that they depend on.

  • Basemap >= 1.0.7
  • Shapely >= 1.5.8
  • Rtree >= 0.8.2

I think, especially on Windows, the easiest way to go is to use Anaconda Python (https://store.continuum.io/cshop/anaconda/), a free Python distribution from Continuum.

To install requirements, just use the conda command (e.g., conda install basemap). Note, however, at the time of writing this README, GEOS (a C++ library for GIS stuff) cannot be installed on a Windows machine via conda. So instead, I install it through OSGeo4W bundle (http://trac.osgeo.org/osgeo4w/).

Another hiccup I encountered with installing dependencies is installing Shapely and Rtree. For Shapely, I followed the instruction here to install it: http://gis.stackexchange.com/questions/38899/geos-and-shapely-installation-on-windows . Similarly, I installed Rtree using the whl in the following link: http://www.lfd.uci.edu/~gohlke/pythonlibs/#rtree

Example:

  1. Uninstall Shapely (pip uninstall shapely)
  2. Download the Shapely wheel file from the following link: http://www.lfd.uci.edu/~gohlke/pythonlibs/#shapely
  3. Run pip install wheel
  4. Run pip install THE_WHEEL_FILENAME

Contributors

About

Parses data from OpenStreetMap and attempts to predict where sidewalks are located

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%