I tried to use PostGIS's ST_ApproximateMedialAxis to convert a long skinny area in into a line, but the results weren't very good. Here's the script if anyone's interested



One big problem is that the output geometry that this PostGIS function generates is weird and funny, and no very suitable for direct use in . There's lots of little ways, and the direction changes a lot.

Sign in to participate in the conversation
En OSM Town | Mapstodon for OpenStreetMap

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!