{"id":15560764,"url":"https://github.com/tyrasd/tortuosmity","last_synced_at":"2025-04-23T21:20:58.250Z","repository":{"id":66191399,"uuid":"51038115","full_name":"tyrasd/tortuosmity","owner":"tyrasd","description":":turtle: tortuOSMity","archived":false,"fork":false,"pushed_at":"2023-11-18T16:26:48.000Z","size":12920,"stargazers_count":12,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"gh-pages","last_synced_at":"2025-03-30T03:41:10.169Z","etag":null,"topics":["openstreetmap","openstreetmap-data","visualization"],"latest_commit_sha":null,"homepage":"https://tyrasd.github.io/tortuosmity/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tyrasd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-02-03T23:22:41.000Z","updated_at":"2023-11-18T16:19:46.000Z","dependencies_parsed_at":"2023-11-18T18:01:13.186Z","dependency_job_id":null,"html_url":"https://github.com/tyrasd/tortuosmity","commit_stats":{"total_commits":12,"total_committers":3,"mean_commits":4.0,"dds":0.5833333333333333,"last_synced_commit":"1d3197f7acdc21c27ffa22b6ccfe9c4e8f5c91af"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyrasd%2Ftortuosmity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyrasd%2Ftortuosmity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyrasd%2Ftortuosmity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyrasd%2Ftortuosmity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tyrasd","download_url":"https://codeload.github.com/tyrasd/tortuosmity/tar.gz/refs/heads/gh-pages","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250515297,"owners_count":21443365,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["openstreetmap","openstreetmap-data","visualization"],"created_at":"2024-10-02T16:02:48.037Z","updated_at":"2025-04-23T21:20:58.230Z","avatar_url":"https://github.com/tyrasd.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"tortuOSMity\n===========\n\nCalculates road-curviness from OpenStreetMap data using [osm-qa-tiles](http://osmlab.github.io/osm-qa-tiles/) and [tile-reduce](https://github.com/mapbox/tile-reduce).\n\nHere, the curviness is defined as the average quotient between road length and end-to-end beeline distance of each osm way tagged as a highway (primary, …, residential) in each zoom-level 12 mercator tile. Each pixel in the output corresponds to one of these tiles and is colored according from violet (where the length quotient is near 1 which means almost straight roads) to red (quotient \u003e= 2).\n\nhow to\n------\n\n    $ npm install\n    \u003cinstall gnuplot, parallel, optipng, imagemagick\u003e\n    $ node index.js \"path to planet.mbtiles\" \u003e world.txt\n    $ gnuplot plot.gp\n    $ cd tiles\n    $ for i in {0..15}; do mkdir $i; done\n    $ convert ../world.png -crop 256x256 -set filename:tile \"%[fx:page.x/256]/%[fx:page.y/256]\" +repage +adjoin \"%[filename:tile].png\"\n    $ find -type f | parallel optipng\n\nresult\n------\n\n[![](https://raw.githubusercontent.com/tyrasd/tortuosmity/gh-pages/thumb.png)](https://tyrasd.github.io/tortuosmity/)\n\n[(click for world map)](https://tyrasd.github.io/tortuosmity/)\n\nsee also\n--------\n\n* https://github.com/rory/openstreetmap-bendy-roads\n* https://github.com/adamfranco/curvature\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftyrasd%2Ftortuosmity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftyrasd%2Ftortuosmity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftyrasd%2Ftortuosmity/lists"}