No project description provided
spatial_access: Perform large scale spatial analysis
|Supported Operating Systems||*nix, macOS|
Components of spatial_access :
spatial_access has two submodules:
- p2p: Generate many to many matrices with travel times for sets of coordinates. Use
transitnetwork types, or get the distance in meters.
- Models: Contains a suite of models for studying spatial accessibility to amenities.
To use this service as a ReST API, see: https://github.com/GeoDaCenter/spatial_access_api
If you are a Windows user, instructions for installing Ubuntu on a virtual machine are at the bottom of the Readme.
brew install spatialindex(MacOS) or
sudo apt-get install libspatialindex-dev(Ubuntu 16.04+)
pip3 install spatial_access
See the iPython notebooks in docs/ for example usage.
Instructions for building locally (only for developers):
- If updating Cython or C++ code (anything in spatial_access/adapters/ or spatial_access/src/) you must install cython
- To regenerate .pyx files, from repository root run:
cython --cplus spatial_access/adapters/*.pyx
- To install locally, from repository root run:
sudo python3 setup.py install
The package lives at:
When a branch is pulled into Master and builds/passes all unit tests, Travis CI will automatically deploy the build to PyPi.
Note: The version number in setup.py must be incremented from the last published version on PyPi, or it will be rejected.
To update PyPi access credentials, see .travis.yml and follow the instructions at https://docs.travis-ci.com/user/deployment/pypi/ to generate a new encrypted password.
Installing Ubuntu 18 LTS with dependencies from scratch (recommended for Windows users)
- Follow the instructions at this link: https://linus.nci.nih.gov/bdge/installUbuntu.html to set up a virtual machine
sudo apt-get update
sudo add-apt-repository universe
sudo apt-get -y install python3-pip
- Continue with Installation Instructions (above)
Release history Release notifications | RSS feed
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size spatial_access-0.1.6.4.tar.gz (188.0 kB)||File type Source||Python version None||Upload date||Hashes View|