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

    stepped_isochrone_stepped_ways_15_min stepped_isochrone_stepped_radius_15_min stepped_isochrone_stepped_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

  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_test_result

  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.0.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.0.0
File Size Uploaded Provenance Actions
objectnat-1.0.0.tar.gz 35.2 kB Without provenance Details for objectnat-1.0.0.tar.gz

Built distribution (wheel)

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

Total release size: 77.0 kB

Release files / objectnat-1.0.0.tar.gz

Download URL objectnat-1.0.0.tar.gz
Size 35.2 kB
Tags Source
SHA-256 checksum
How to use checksums
7272059b2ce9cfc944ce139e029e2057dfb8ad9f981678c3456aed8b2b77aba4
BLAKE2b-256 checksum
How to use checksums
8e401c4fa465a341e74c9db85698d038183838d702c9af33a3ae600f2326a4a3
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.0.0-py3-none-any.whl

Download URL objectnat-1.0.0-py3-none-any.whl
Size 41.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
76c4c5ca6bc3c63c3c52fa0b5f004320d9c1127ffdfde15adca2897f5cb7440e
BLAKE2b-256 checksum
How to use checksums
f8cd6590a0eccb8813f79583e1f31047871cd552fc476299c1e7b97557253f61
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.0.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.0.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