Skip to main content

Computational tools for network-based pedestrian-scale urban analysis

Project description

cityseer

A Python package for pedestrian-scale network-based urban analysis: network analysis, landuse accessibilities and mixed uses, statistical aggregations.

PyPI version

publish package

deploy docs

pdm-managed

Code style: black

Documentation for v2+: https://cityseer.benchmarkurbanism.com/

cityseer code is documented using docstrings: historically tagged releases can be browsed on this repo for associated docs. See v1.2.1 if looking for v1.

Demo Notebooks: https://cityseer.benchmarkurbanism.com/examples/

Issues: https://github.com/benchmark-urbanism/cityseer-api/issues

Questions: https://github.com/benchmark-urbanism/cityseer-api/discussions

Cite as: The cityseer Python package for pedestrian-scale network-based urban analysis

The cityseer-api Python package addresses a range of issues specific to computational workflows for urban analytics from an urbanist's point of view and contributes a combination of techniques to support developments in this field:

  • High-resolution workflows including localised moving-window analysis with strict network-based distance thresholds; spatially precise assignment of land-use or other data points to adjacent street-fronts for improved contextual sensitivity; dynamic aggregation workflows which aggregate and compute distances on-the-fly from any selected point on the network to any accessible land-use or data point within a selected distance threshold; facilitation of workflows eschewing intervening steps of aggregation and associated issues such as ecological correlations; and the optional use of network decomposition to increase the resolution of the analysis.
  • Localised computation of network centralities using either shortest or simplest path heuristics on either primal or dual graphs, including tailored methods such as harmonic closeness centrality (which behaves more suitably than traditional variants of closeness), and segmented versions of centrality (which convert centrality methods from a discretised to an explicitly continuous form). For more information, see "Network centrality measures and their correlation to mixed-uses at the pedestrian-scale".
  • Land-use accessibilities and mixed-use calculations incorporate dynamic and directional aggregation workflows with the optional use of spatial-impedance-weighted forms. These can likewise be applied with either shortest or simplest path heuristics and on either primal or dual graphs. For more information, see "The application of mixed-use measures at the pedestrian-scale".
  • Network centralities dovetailed with land-use accessibilities, mixed-uses, and general statistical aggregations from the same points of analysis to generate multi-scalar and multi-variable datasets facilitating downstream data science and machine learning workflows. For examples, see "Untangling urban data signatures: unsupervised machine learning methods for the detection of urban archetypes at the pedestrian scale" and "Prediction of 'artificial' urban archetypes at the pedestrian-scale through a synthesis of domain expertise with machine learning methods".
  • The inclusion of graph cleaning methods reduce topological distortions for higher quality network analysis and aggregation workflows while accommodating workflows bridging the wider NumPy ecosystem of scientific and geospatial packages. See the Graph Cleaning Guide.
  • Numba JIT compilation of underlying loop-intensive algorithms allows for these methods to be applied to large and, optionally, decomposed graphs, which have greater computational demands.

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

cityseer-2.0.0.tar.gz (43.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cityseer-2.0.0-py3-none-any.whl (99.3 kB view details)

Uploaded Python 3

File details

Details for the file cityseer-2.0.0.tar.gz.

File metadata

  • Download URL: cityseer-2.0.0.tar.gz
  • Upload date:
  • Size: 43.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for cityseer-2.0.0.tar.gz
Algorithm Hash digest
SHA256 655270702e87dc11192c37cdd9e4ea8ce0351587fa1db4c3a248fce43e6cdaf3
MD5 8581a4a37a005f1f63f6fa63962e81a8
BLAKE2b-256 45e81b388ff88aec73c0e7679077188ac3f1fff9ed08b93f8a604f5bd4e9d150

See more details on using hashes here.

File details

Details for the file cityseer-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: cityseer-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 99.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for cityseer-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9e035fb94b963bcbaaa9aea5a475550246dc1eff0c321afbf354be5c4edc7e50
MD5 b7aa6f147f08d2b12f942961bb84ad21
BLAKE2b-256 525ecbe9bf5f76abead884ff236cc470e38b83a1407faf922fcb7cd57232b2e5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page