For assessment of service distribution in an area.
Project description
Centresurv 0.1.2
---------
Geoserv is a python package that allows for the easy assessment of distribution of services in an area.
It also allows for easy integration with population distribution data.
---------
DEPENDENCIES:
osmnx, networkx, pandas, sqlite3, python_igraph, numpy, matplotlib, geopandas, folium
Installation of osmnx, igraph and geopandas via pip is often problematic, particularly on Windows OS. It may be possible
to do so using conda, or to manually install from the wheelfiles, as shown in this tutorial:
https://geoffboeing.com/2014/09/using-geopandas-windows/
N.B. If following this method for installation of geopandas, it is then possible to simply pip install osmnx
Alternatively, it may be more convenient to use windows subsystem for linux.
---------
Geoserv consists for four main modules:
postcode_setup -> This module contains all the functions required to import and save a graph for a given area of
interest, taking the map data from the Open Street Map APIs.
Given a csv file containing postcode data for the same area (for the UK available from:
https://www.doogal.co.uk/), a database can be created and shortest path analysis performed.
analyse -> This contains functions to calculate very basic statistics regarding the shortest path analysis completed
such as average distances, total person-meters in an area, and the gini coefficient for the entire area
maps -> This uses the data generated in the analyse module to create high quality visualisations of the data on
choropleth maps using folium, and saves these as html files. The boundaries for use in this must be downloaded
as shapefiles (for UK these are available from: http://geoportal.statistics.gov.uk/ or https://data.gov.uk/)
N.B. The shapefiles used must have a column entitled "name" containing the same sub-area names as are found in
the database. It is likely that these will require some degree of cleaning in order to match
---------
ACKNOWLEDGEMENTS:
This package builds upon and integrates the functionality of several much better packages. Much of the
functionality represents only small incremental modifications on the dependencies listed above, in particular osmnx.
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
centresurv-0.1.2.tar.gz
(29.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file centresurv-0.1.2.tar.gz.
File metadata
- Download URL: centresurv-0.1.2.tar.gz
- Upload date:
- Size: 29.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/1.0.0 urllib3/1.26.17 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce7b1ab528e8ddd3565615dff662c8428ae8db4747bc5e785ef1648338988287
|
|
| MD5 |
6997651a38bbf79867644e6c24025496
|
|
| BLAKE2b-256 |
6b0de71a234bc6c36157df462e6e06a5b4592aed06cb88b19e52e2af85ea1926
|
File details
Details for the file centresurv-0.1.2-py3-none-any.whl.
File metadata
- Download URL: centresurv-0.1.2-py3-none-any.whl
- Upload date:
- Size: 30.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/1.0.0 urllib3/1.26.17 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b3fb04e0df5c3cb1028463b8b89449edb56a6e4513b6a880086a1b9ce9d4b564
|
|
| MD5 |
4bc48e4e3952edde434adceb76df0e93
|
|
| BLAKE2b-256 |
3b6d9795341bed52545584bec1de7ea2ec8f6db69af654857b67b6eab45a231a
|