pgcentralfoundation / pgrx

Build Postgres Extensions with Rust!
Other
3.7k stars 249 forks source link

Requirements doc for PostGIS? #1265

Open workingjubilee opened 1 year ago

workingjubilee commented 1 year ago

We have "hey can you support PostGIS?" often as a request, but the current maintainer base is more familiar with the text-search side of things. Even if we tried to learn a bit, it may be a pretty uphill battle. If someone can draft a requirements doc for what they would consider full-fledged PostGIS support, it would make it much easier for us to help implement a safe FFI layer that covers more than just the most rudimentary datatype interop.

Alternately, an initial PR for a safe FFI layer would also suffice, even if it needs to be redesigned, but I would hope the idea that PRs are welcome is relatively obvious. We do try to get code merged if it is a fairly clean impl, and we'd be somewhat motivated to help fix up even a very rough draft here.

FreeGIS commented 1 year ago

https://github.com/georust/geo geo-postgis I Think this is useful for you。
Postgis provides some vector graphic objects such as points, lines, and surfaces, and there are many methods that can be called. If pgrx can support these custom graphical objects, it will attract more developers in the GIS field to use them.