No project description provided
Project description
Compute travel times and spatial access measures at scale (millions of origin-destination pairs in minutes). Travel times for three modes: walking, biking, driving. Spatial access measures: provider-to-people ratio, avg. time to nearest provider, count/attribute sum of nearby providers, weighted access scores and floating catchment areas.
Home-page: https://github.com/GeoDaCenter/spatial_access
Author: Logan Noel (lmnoel)
Author-email: lnoel@uchicago.edu
License: GPL
Description:
# spatial_access: Compute travel times and spatial access metrics at scale
<table>
<tr>
<td>Version</td>
<td>
0.1.6.9
</td>
</tr>
<tr>
<td>Latest Release</td>
<td>
<a href="https://travis-ci.org/GeoDaCenter/spatial_access">
<img src="https://travis-ci.org/GeoDaCenter/spatial_access.svg?branch=master" alt="travis build status" />
</td>
</tr>
<tr>
<td>Supported Operating Systems</td>
<td>
*nix, macOS
</td>
</tr>
</table>
## Components of spatial_access :
----
spatial_access has two submodules:
- p2p: Generate many to many matrices with travel times for sets of coordinates. Use `walk` ,`bike` or `drive` network types (import `transit` from other sources), or get the distance in meters.
- Models: Contains a suite of models for calculating 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.
Installation
----
1. `brew install spatialindex` (MacOS)
or `sudo apt-get install libspatialindex-dev` (Ubuntu 16.04+)
2. `pip3 install spatial_access`
Usage
---
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 `
### PyPi Maintenance
The package lives at: `https://pypi.org/project/spatial-access/`
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)
1. Follow the instructions at this link: https://linus.nci.nih.gov/bdge/installUbuntu.html to set up a virtual machine
2. `sudo apt-get update`
3. `sudo add-apt-repository universe`
4. `sudo apt-get -y install python3-pip`
5. Continue with Installation Instructions (above)
### Questions/Feedback?
lnoel@uchicago.edu or spatial@uchicago.edu
### Acknowledgments
Developed by Logan Noel at the University of Chicago's Center for Spatial Data Science (CSDS) with support from the Public Health National Center for Innovations (PHNCI), the University of Chicago, and CSDS.
Platform: UNKNOWN
Description-Content-Type: text/markdown
Home-page: https://github.com/GeoDaCenter/spatial_access
Author: Logan Noel (lmnoel)
Author-email: lnoel@uchicago.edu
License: GPL
Description:
# spatial_access: Compute travel times and spatial access metrics at scale
<table>
<tr>
<td>Version</td>
<td>
0.1.6.9
</td>
</tr>
<tr>
<td>Latest Release</td>
<td>
<a href="https://travis-ci.org/GeoDaCenter/spatial_access">
<img src="https://travis-ci.org/GeoDaCenter/spatial_access.svg?branch=master" alt="travis build status" />
</td>
</tr>
<tr>
<td>Supported Operating Systems</td>
<td>
*nix, macOS
</td>
</tr>
</table>
## Components of spatial_access :
----
spatial_access has two submodules:
- p2p: Generate many to many matrices with travel times for sets of coordinates. Use `walk` ,`bike` or `drive` network types (import `transit` from other sources), or get the distance in meters.
- Models: Contains a suite of models for calculating 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.
Installation
----
1. `brew install spatialindex` (MacOS)
or `sudo apt-get install libspatialindex-dev` (Ubuntu 16.04+)
2. `pip3 install spatial_access`
Usage
---
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 `
### PyPi Maintenance
The package lives at: `https://pypi.org/project/spatial-access/`
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)
1. Follow the instructions at this link: https://linus.nci.nih.gov/bdge/installUbuntu.html to set up a virtual machine
2. `sudo apt-get update`
3. `sudo add-apt-repository universe`
4. `sudo apt-get -y install python3-pip`
5. Continue with Installation Instructions (above)
### Questions/Feedback?
lnoel@uchicago.edu or spatial@uchicago.edu
### Acknowledgments
Developed by Logan Noel at the University of Chicago's Center for Spatial Data Science (CSDS) with support from the Public Health National Center for Innovations (PHNCI), the University of Chicago, and CSDS.
Platform: UNKNOWN
Description-Content-Type: text/markdown
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
spatial_access-0.1.6.9.tar.gz
(202.7 kB
view details)
File details
Details for the file spatial_access-0.1.6.9.tar.gz
.
File metadata
- Download URL: spatial_access-0.1.6.9.tar.gz
- Upload date:
- Size: 202.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c49843cfac824088a3d1f79b1e3a03102cff6d1d1809b996e585317bd2ef32e |
|
MD5 | 2c06157542916aeca0ca78f37765b2a4 |
|
BLAKE2b-256 | c72123248a6c580c3a98b7bfd653144c8bb86384b2fe7cc33ef88a4b1f51e970 |