crmodel is a python package that produces the crossroadsdesriber model from OpenStreetMap. See doi.org/10.5194/agile-giss-3-40-2022 for further informations.
Project description
crmodel
crmodel is a python package that produces the crossroadsdesriber model from an OpenStreetMap intersection. See this publication for further informations.
This tool was developed and tested under Ubuntu 20.04.
Dependencies
This tool mainly depends on crseg for the intersection segmentation. All necessary Python libraries can be installed with pip:
pip3 install -r requirements.txt
How to use
You can obtain the model of an intersection this way :
./main -c x y -o output.format
With x and y the coordinates of the targeted intersection. The output will depend on the format precised. Two formats are supported :
- json will give a "raw" output of the model with all classes and attributes.
- geojson will give the intersection as segmented by crseg as a geojson file, complemented with computed elements from crmodel as attributes (ordered branches, islands, sidewalks, crossings, etc.).
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
File details
Details for the file crmodel-0.4.4.tar.gz
.
File metadata
- Download URL: crmodel-0.4.4.tar.gz
- Upload date:
- Size: 24.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d83435331b51bb84275b20ffeece58ae87fd41f7f44d786eb1d53b8af1c66203 |
|
MD5 | 4edf2c8a3a6e77c9ddfe36daa2c8dd4f |
|
BLAKE2b-256 | 5dea3d66cadeefc4ca0c5be6f92cfedac1acf5f1914d498db77e207afaf4e8cd |