Add Linear Referencing Functions for Spatial extension #496
Replies: 4 comments 1 reply
-
Hi! It was nice talking to you at DuckCon! |
Beta Was this translation helpful? Give feedback.
-
Hi Maxxen (and other maintainers) |
Beta Was this translation helpful? Give feedback.
-
Dear maintainers, I noted that the Spatial extension supports the following functions: but not: In my opinion, it would be great to add support for the latter so that one can also generate fractions of 2d line lengths. What do you think? Thanks and kudos for all the great work! |
Beta Was this translation helpful? Give feedback.
-
Hello! I've added support for these functions in this PR: #645 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Mentioned during DuckCon#6 in Amsterdam to some DuckDB developers.
For this request, "Linear Referencing Functions" I refer to are to fulfill feature parity with PostGIS implementation of spatial functions that make use of the M dimension or fractions of the length of (Sub)Linestrings.
https://postgis.net/docs/manual-3.0/reference.html#Linear_Referencing
Particularly, we are interested in those that can be used to locate and generate geometry subsets based on the value of the M dimension of larger geometries. This is crucial for applications such as railway or roadway engineering as well as logistics.
The only function from the PostGIS manual 3.0 that we wouldn't find a use for would be ST_3DLineInterpolatePoint
For more information of usage of linear referencing see: https://en.m.wikipedia.org/wiki/Linear_referencing
This idea has been moved from other repo on request of a maintainer
duckdb/duckdb#16204
Beta Was this translation helpful? Give feedback.
All reactions