Skip to content

Node a set of LineString and retain reference to original inputs - #1445

Closed
pramsey wants to merge 3 commits into
libgeos:mainfrom
pramsey:main-nodewin
Closed

Node a set of LineString and retain reference to original inputs#1445
pramsey wants to merge 3 commits into
libgeos:mainfrom
pramsey:main-nodewin

Conversation

@pramsey

@pramsey pramsey commented Jun 12, 2026

Copy link
Copy Markdown
Member

This feature is in support of the idea of an ST_NodeWin() PostGIS feature, that would allow a table of LineString to be noded while retaining the associated attributes. Would look like

SELECT ST_NodeWin(geom) AS noded_geom, foo, bar, baz 
FROM mygeomtable

Along the same lines as the ST_CoverageSimplify() implementation, providing 1:1 input/output guarantee.

This code is from my friend Claude. This PR is to make the changes reviewable by me (human) and also to get any other feedback that can improve this work.

@pramsey pramsey added the WIP Work in progress, do not merge. label Jun 12, 2026
@dbaston

dbaston commented Jun 15, 2026

Copy link
Copy Markdown
Member

Is there a particular barrier to integrating this into the existing GeometryNoder ? Or, putting the inputs into OverlayNG and extracting the noded edges?

@robe2 robe2 added this to the 3.16.0 milestone Jun 17, 2026
@pramsey

pramsey commented Jun 26, 2026

Copy link
Copy Markdown
Member Author

@dbaston have a look at #1460 as a potential replacement, using GeometryNoder. Only kind of ugly thing, I do want to keep an option to snap inputs, but that means that curved geometries end up disabling the snapping behaviour when they are present.

@pramsey pramsey closed this Jun 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

WIP Work in progress, do not merge.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants