Skip to main content

ObjectNat

Code style: black PyPI version CI codecov License

logo

ObjectNat is an open-source library created for geospatial analysis created by IDU team

Features and how to use

  1. Isochrones and Transport Accessibility — Isochrones represent areas reachable from a starting point within a given time limit along a transport network. This function enables analysis of transport accessibility using pedestrian, automobile, public transport graphs, or their combination.

    The library offers multiple isochrone generation methods:

    • Baseline isochrones: show a single area reachable within a specified time.
    • Stepped isochrones: show accessibility ranges divided into time intervals (e.g., 5, 10, 15 minutes).

    isochrone_ways_15_min isochrone_radius_15_min isochrone_3points_radius_8_min

    stepped_isochrone_ways_15_min stepped_isochrone_radius_15_min stepped_isochrone_separate_15_min

  2. Coverage Zones — Function for generating coverage zones from a set of source points using a transport network. It calculates the area each point can reach based on travel time or distance, then builds polygons via Voronoi diagrams and clips them to a custom boundary if provided.

    coverage_zones_time_10min coverage_zones_distance_600m coverage_zones_distance_radius_voronoi

    stepped_coverage_zones_separate stepped_coverage_zones_voronoi

  3. Service Provision Analysis — Function for evaluating the provision of residential buildings and their population with services (e.g., schools, clinics) that have limited capacity and a defined accessibility threshold (in minutes or distance). The function models demand-supply balance, estimating how well services meet the needs of nearby buildings within the allowed time.

    The library also supports:

    • Recalculation of existing provision results using a new time threshold.
    • Clipping of provision results to a custom analysis area (e.g., administrative boundaries).

    service_provision_initial service_provision_recalculated service_provision_clipped

  4. Visibility Analysis — Function for estimating visibility from a given point or multiple points to nearby buildings within a certain distance. This can be used to assess visual accessibility in urban environments. The library also includes a catchment area calculator for large-scale visibility analysis based on a dense grid of observer points (recommended: ~1000 points spaced 10–20 meters apart). Points can be generated using a road network and distributed along edges.

    The module includes:

    • A fast approximate method for large datasets.
    • A accurate method for detailed local analysis.

    visibility_comparison_methods visibility-catchment-area

  5. Noise Simulation — Simulates noise propagation from a set of source points, taking into account obstacles, vegetation, and environmental factors.

    🔗 See detailed explanation in the Wiki

    noise_simulation_1point

  6. Point Clusterization — Function to generate cluster polygons from a set of input points based on:

    • Minimum distance between points.
    • Minimum number of points per cluster.

    Additionally, the function can calculate the relative ratio of different service types within each cluster, enabling spatial analysis of service composition.

    building_clusters

City graphs

To ensure optimal performance of ObjectNat's geospatial analysis functions, it's recommended to utilize urban graphs sourced from the IduEdu library. IduEdu is an open-source Python library designed for the creation and manipulation of complex city networks derived from OpenStreetMap data.

IduEdu can be installed with pip:

pip install IduEdu

Installation

ObjectNat can be installed with pip:

pip install ObjectNat

Configuration changes

from objectnat import config

config.change_logger_lvl('INFO')  # To mute all debug msgs
config.set_enable_tqdm(False)  # To mute all tqdm's progress bars

Contacts

Publications

Metadata

Release files for ObjectNat 1.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ObjectNat 1.2.0
File Size Uploaded Provenance Actions
objectnat-1.2.0.tar.gz 39.3 kB Without provenance Details for objectnat-1.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ObjectNat 1.2.0
File Interpreter ABI Platform Actions
objectnat-1.2.0-py3-none-any.whl Python 3 none any Details for objectnat-1.2.0-py3-none-any.whl

Total release size: 88.5 kB

Release files / objectnat-1.2.0.tar.gz

Download URL objectnat-1.2.0.tar.gz
Size 39.3 kB
Tags Source
SHA-256 checksum
How to use checksums
7e9b31e084955862c8e679ff86058abe04f339568fbb8fb4bf4cd284e9175b9c
BLAKE2b-256 checksum
How to use checksums
9527c0bf5b3c7ece83b552de5abd211e855ac08d999a9e8ecf6f9f31525d59ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.1 CPython/3.10.11 Windows/10

Release files / objectnat-1.2.0-py3-none-any.whl

Download URL objectnat-1.2.0-py3-none-any.whl
Size 49.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6a03dc9a37d43266f526e65a4a9657a5c90f80398e262375902fa5ff57e58766
BLAKE2b-256 checksum
How to use checksums
7cd0fa6fb1e4099e22ff2078e7046f62828941550107b3bb926d9fc34419b49b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.1 CPython/3.10.11 Windows/10

Security for ObjectNat 1.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.2.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page