Will Deakin on Nostr: For those interested in such things I have had a go at writing a #python module ...
For those interested in such things I have had a go at writing a #python module "parenx" ("pare" + "nx") that simplifies linear networks, such as road and rail, using buffering and either image skeletonization or Voronoi polygons to identify a centre-line
As it is on #PyPi so it is available via #pip
It is beta-code and has a number of limitations but hopefully it might be of interest. Noting that two-dimension areal interpolation problem seems well understood
https://github.com/anisotropi4/parenxPublished at
2024-01-20 12:21:43Event JSON
{
"id": "df993fa69498d2f3e95742204e4d80f1394674b563ec51a2cae2e30f0e3f7bca",
"pubkey": "333bf36ada8d8797013e97049b863c9840888cfede6ac0fd193a39dfcd981469",
"created_at": 1705753303,
"kind": 1,
"tags": [
[
"t",
"python"
],
[
"t",
"pypi"
],
[
"t",
"pip"
],
[
"proxy",
"https://fosstodon.org/users/wnd/statuses/111788248516699877",
"activitypub"
]
],
"content": "For those interested in such things I have had a go at writing a #python module \"parenx\" (\"pare\" + \"nx\") that simplifies linear networks, such as road and rail, using buffering and either image skeletonization or Voronoi polygons to identify a centre-line\n\nAs it is on #PyPi so it is available via #pip\n\nIt is beta-code and has a number of limitations but hopefully it might be of interest. Noting that two-dimension areal interpolation problem seems well understood\n\nhttps://github.com/anisotropi4/parenx",
"sig": "fac9738af3df6056aa2bca13ccb7aa67b30fc2a50e118a2154268c7689373c9b53a4b10f210be7d2fd8ed1e9ae1732be30d2a263e4b6f3beb995e86660903505"
}