We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Is your feature request related to a problem? Please describe.
Similar to #166 there are missing spatial types for MySQL.
Describe the solution you'd like
using the geo crate: https://crates.io/crates/geo
And add geo to the feature list in the Cargo.toml
geo
Describe alternatives you've considered
Alternativly geo-types could be used.
Additional context
https://dev.mysql.com/doc/refman/8.1/en/spatial-types.html
The text was updated successfully, but these errors were encountered:
I prefer to use geo-types, because geo::geometry::* is a re-export of geo_types::geometry::*.
geo-types
geo::geometry::*
geo_types::geometry::*
An additional discussion is whether we need a wrapper structure (or a (Geometry<f64>, i32)) to handle SRID.
(Geometry<f64>, i32)
AFAIK, geo_types::Geometry and subtypes do not contain SRID. Since MySQL 8.0, MySQL server supports SRID for GEOMETRY types.
geo_types::Geometry
GEOMETRY
If wrapper structure is necessary, I prefer to support both native geo_types::Geometry and the wrapper, like json does.
Sorry, something went wrong.
Since geozero already provides integration with SQLx for PostGIS types, I think this should live there.
geozero
Successfully merging a pull request may close this issue.
Is your feature request related to a problem? Please describe.
Similar to #166 there are missing spatial types for MySQL.
Describe the solution you'd like
using the geo crate: https://crates.io/crates/geo
And add
geo
to the feature list in the Cargo.tomlDescribe alternatives you've considered
Alternativly geo-types could be used.
Additional context
https://dev.mysql.com/doc/refman/8.1/en/spatial-types.html
The text was updated successfully, but these errors were encountered: