Skip to main content

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

Project description

ObjectNat - Meta Library

Code style: black PyPI version

logo

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

ObjectNat Components

Features and how to use

  1. City graph from OSM (IduEdu) - Functions to assemble a road, pedestrian, and public transport graph from OpenStreetMap (OSM) and creating Intermodal graph.

    IntermodalGraph
  2. Adjacency matrix - Calculate adjacency matrix based on the provided graph and edge weight type (time or distance). The intermodal graph can be obtained using the previous example.

  3. Isochrones,transport accessibility - Function for generating isochrones to analyze transportation accessibility from specified starting coordinates. Isochrones can be constructed based on pedestrian, automobile, or public transport graphs, or a combination thereof.

    isochrones
  4. Population restoration - Function for resettling population into the provided layer of residential buildings. This function distributes people among dwellings based on the total city population and the living area of each house.

  5. Service provision - Function for calculating the provision of residential buildings and population with services.

    ProvisionSchools
  6. Visibility analysis - Function to get a quick estimate of visibility from a given point(s) to buildings within a given distance. Also, there is a visibility catchment area calculator for a large urban area. This function is designed to work with at least 1000 points spaced 10-20 meters apart for optimal results. Points can be generated using a road graph and random point distribution along edges.

    visibility-from-point visibility-catchment-area
  7. Point clusterization - Function to generate cluster polygons for given points based on a specified minimum distance and minimum points per cluster. Optionally, calculate the relative ratio between types of services within the clusters.

    service-clusterization
  8. Living buildings from OSM - This function downloads building geometries from OpenStreetMap (OSM) for a specified territory and assigns attributes to each building. Specifically, it determines whether a building is residential (is_living attribute) and estimates the approximate number of inhabitants (approximate_pop attribute).

    Living buildings

Installation

ObjectNat can be installed with pip:

pip install ObjectNat

Configuration changes

from objectnat import config

config.set_timeout(10)  # Timeout for overpass queries
config.change_logger_lvl('INFO')  # To mute all debug msgs
config.set_enable_tqdm(False)  # To mute all tqdm's progress bars
config.set_overpass_url('http://your.overpass-api.de/interpreter/URL')

Contacts

Publications

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

objectnat-0.2.3.tar.gz (22.6 kB view details)

Uploaded Source

Built Distribution

objectnat-0.2.3-py3-none-any.whl (25.9 kB view details)

Uploaded Python 3

File details

Details for the file objectnat-0.2.3.tar.gz.

File metadata

  • Download URL: objectnat-0.2.3.tar.gz
  • Upload date:
  • Size: 22.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.9 Windows/10

File hashes

Hashes for objectnat-0.2.3.tar.gz
Algorithm Hash digest
SHA256 3ad38cdd61805172753733d02778c7e5805c3aa36f6b468725131604da65a930
MD5 ac17f4ec7e7d3e4147bc6d9158175f69
BLAKE2b-256 802936a4ba995fbecac37eb6b6f89784e9a3b58fe0926a91f869cc89a8225d4e

See more details on using hashes here.

File details

Details for the file objectnat-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: objectnat-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 25.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.9 Windows/10

File hashes

Hashes for objectnat-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 befb18491886fca6d80ed397e3c662bc0bd39d77c808eb97df8d59d6dc1dd64a
MD5 41b6022cd2c9b7d5c54ca4b9c73a7f0d
BLAKE2b-256 27729e984f646cc035dee559e3f087e89db51fde4db2657ee91046a80286fafb

See more details on using hashes here.

Supported by

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