duckdb_spatial icon indicating copy to clipboard operation
duckdb_spatial copied to clipboard

Add ST_ClipByRect

Open bradh opened this issue 4 months ago • 0 comments

This currently falls back to a GEOS implementation for anything more complex than points. I had originally intended to do the linestring implementation too, but it became ugly.

This is a step in the implementation for the MVT geometry conversion, but wanted to avoid that getting too complicated, and it seems like useful functionality as a standalone function.

I'm not especially happy with the "GeosOperations" bridge code, but unsure of a better way. Would definitely appreciate review comments on that.

bradh avatar Aug 21 '25 10:08 bradh