Skip to content

Instantly share code, notes, and snippets.

@amandasaurus
amandasaurus / make.sh
Created October 24, 2021 13:46
convert OSM ways into long skinny skeletons with ST_Approxipat
#! /bin/bash
# Purpose of this is to try to convert long skinny rivers like
# https://www.openstreetmap.org/way/119339404#map=17/16.32108/-61.77254 into
# regular OSM ways
#
# This code is licenced Affero GPL v3+
#
# Alas, this does not appear to work very well, with the new OSM ways being
# very disconnected and disjoined. This should be viewed as an experiment, and
### Keybase proof
I hereby claim:
* I am rory on github.
* I am ebel (https://keybase.io/ebel) on keybase.
* I have a public key whose fingerprint is 6102 4C32 77E9 5E12 B3B1 CEBC EAD6 7667 998A FBF6
To claim this, I am signing this object: