georust / geo

Geospatial primitives and algorithms for Rust
https://crates.io/crates/geo
Other
1.47k stars 190 forks source link

st_makeline function #1163

Closed kkk25641463 closed 3 months ago

kkk25641463 commented 3 months ago

Does this project include the st_makeline algorithm feature? Can I contribute relevant code?

urschrei commented 3 months ago

makeline has three different core functions; some of them are possible in geo today, and some aren't, so it really depends on your use case. Could you describe what you want to do?

kkk25641463 commented 3 months ago

I want to implement the st_makeline() function described in the Snowflake document. Only including geometry, not including geography. A GEOMETRY object containing the points to connect. This object must be a Point, MultiPoint, or LineString. WX20240319-102004@2x

And the same function in postgis code: