Skip to main content

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


Download files

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

Source Distribution

crmodel-0.4.6.tar.gz (24.2 kB view details)

Uploaded Source

File details

Details for the file crmodel-0.4.6.tar.gz.

File metadata

  • Download URL: crmodel-0.4.6.tar.gz
  • Upload date:
  • Size: 24.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.0

File hashes

Hashes for crmodel-0.4.6.tar.gz
Algorithm Hash digest
SHA256 21d8ccf9674196e41acaae3ca121d7a9c809b5931fcf324c1068ce6eaf982d2f
MD5 f043b5e003b24bddaf8bb1388758332b
BLAKE2b-256 424ab5ac7c0ab19feeb03ae3e9d07ab9e71fb1a288d367a8f5bf2d61a5723c68

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