Skip to main content

Skeletron generalizes collections of lines to a specific spherical mercator zoom level and pixel precision, using a polygon buffer and voronoi diagram as described in a 1996 paper by Alnoor Ladak and Roberto B. Martinez, “Automated Derivation of High Accuracy Road Centrelines Thiessen Polygons Technique” (http://proceedings.esri.com/library/userconf/proc96/TO400/PAP370/P370.HTM).

Required dependencies:

You’d typically use it via one of the provided utility scripts, currently just these two:

skeletron-osm-streets.py

Accepts OpenStreetMap XML input and generates GeoJSON output for streets using the “name” and “highway” tags to group collections of ways.

skeletron-osm-route-rels.py

Accepts OpenStreetMap XML input and generates GeoJSON output for routes using the “network”, “ref” and “modifier” tags to group relations. More on route relations: http://wiki.openstreetmap.org/wiki/Relation:route

The Name

The first two implementations of Skeletron used the “straight skeleton” of a polygon to find a generalized center, and ultimately didn’t work very well.

The straight skeleton:

http://twak.blogspot.com/2009/01/that-straight-skeleton-again.html

How it’s useful for maps:

http://aci.ign.fr/Leicester/paper/Haunert-v2-ICAWorkshop.pdf

Metadata

Release files for Skeletron 0.10.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 Skeletron 0.10.0
File Size Uploaded
Skeletron-0.10.0.tar.gz 16.0 kB Details

Release files / Skeletron-0.10.0.tar.gz

Download URL Skeletron-0.10.0.tar.gz
Size 16.0 kB
Tags Source
SHA-256 checksum
How to use checksums
e72c6216aec0ea6c31a207ba1e4cef59ae501b8af2f291ab39865fd3d70bda09
BLAKE2b-256 checksum
How to use checksums
40eeff4198353eda82c9c63e564aea11ec0cde27d530322b50fa99bffee5988f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.10.0 This release

1 release file

0.9.3

1 release file

0.9.2

1 release file

0.9.1

1 release file

0.9.0

1 release file

0.8.0

1 release file

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