-
Notifications
You must be signed in to change notification settings - Fork 184
Support for geospatial types - point, line, box, polygon etc #282
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I'm not sure where the best place is for Postgres Geo functionality. The JDBC driver ships with Geo types ( Feel free to submit a pull request containing this functionality. |
@mp911de , Thanks for your reply. If you could guide me little, I can give it a try. From where should I start? |
What seems required are two things:
Starting with a single codec for |
|
Make Point final and reduce PointCodec visibility. Introduce factory method for Point type. Update documentation. [resolves pgjdbc#283][pgjdbc#282]
Reformat code. Add null guards. Update readme. [pgjdbc#282][closes pgjdbc#300]
Make Point final and reduce PointCodec visibility. Introduce factory method for Point type. Update documentation. [resolves pgjdbc#283][pgjdbc#282]
Add javadoc to factory methods. Add since tags. Use consistently String.format(…) for toString. Fix Path equals and hashCode. Add license headers. Introduce TokenStream to avoid repeated Double.parse(…) calls. Fix binary representation of Path.open as in Postgres the protocol transmits of the Path is closed so we need to negate the flag. [closes #306][#282]
Add javadoc to factory methods. Add since tags. Use consistently String.format(…) for toString. Fix Path equals and hashCode. Add license headers. Introduce TokenStream to avoid repeated Double.parse(…) calls. Fix binary representation of Path.open as in Postgres the protocol transmits of the Path is closed so we need to negate the flag. [closes #306][#282]
We now support al geo-spatial types 🎉 as of 0.8.5. |
Feature Request
Please don't mind as I'm a beginner wrt requesting OSS features.
I would like to have support for geo-spatial types like point, line, polygon etc.
Is your feature request related to a problem? Please describe
Our current project is JDBC based and there we use postgis-jdbc to save our data along with geospatial data in postgresql. we save mostly coordinates (Points) or lines or polygons for some markings done on maps. We were wondering if we can use r2dbc, if it had the support for these data types.
Describe the solution you'd like
I would like to have support for geospatial types of postgresql.
Geometry type support
point
(Add support for point type #283)line
(Support for geospatial types - point, line, box, polygon etc #306)lseg
(Support for geospatial types - point, line, box, polygon etc #306)box
(Support for geospatial types - point, line, box, polygon etc #306)path
(open, closed) (Support for geospatial types - point, line, box, polygon etc #306)polygon
(Support for geospatial types - point, line, box, polygon etc #306)circle
(feature: adding support for circle type #300)The text was updated successfully, but these errors were encountered: