ObjectNat is an open-source library created for geospatial analysis created by IDU team
Project description
ObjectNat - Meta Library
ObjectNat is an open-source library created for geospatial analysis created by IDU team
ObjectNat Components
- IduEdu :
IduEdu
provides graph functions - population-restorator :
restorator
provides city resettlement
Features and how to use
-
City graph from OSM (IduEdu) - Functions to assemble a road, pedestrian, and public transport graph from OpenStreetMap (OSM) and creating Intermodal graph.
-
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.
-
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.
-
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.
-
Service provision - Function for calculating the provision of residential buildings and population with services.
-
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.
-
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.
-
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).
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
- NCCR - National Center for Cognitive Research
- IDU - Institute of Design and Urban Studies
- Natalya Chichkova - project manager
- Danila Oleynikov (Donny) - lead software engineer
Publications
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
Built Distribution
File details
Details for the file objectnat-0.2.5.tar.gz
.
File metadata
- Download URL: objectnat-0.2.5.tar.gz
- Upload date:
- Size: 22.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.9 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54c733ff3984773b7b707499c6fce8f2b3ea19272121e00d688050a18cdea3b1 |
|
MD5 | 2b6df273d5b8b08e7ef79f8e828fece1 |
|
BLAKE2b-256 | e70ce2e8d4a66619edd68ddd0ed5615cb1fc974793c7851abf8227985dc41758 |
File details
Details for the file objectnat-0.2.5-py3-none-any.whl
.
File metadata
- Download URL: objectnat-0.2.5-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9cc9acca371293f4479a15012f2bf6a94eaffc44a55811bfd489a0a3825669f7 |
|
MD5 | bef6c04555e51517c7742c9b80fedfd6 |
|
BLAKE2b-256 | 6b18e2a20388c451e653d30e88afd580ad66a6ace1c7cd946d5d9be1451adea4 |