Skip to content
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

Implement Default trait for Point types #33

Open
EvanCarroll opened this issue May 1, 2022 · 0 comments
Open

Implement Default trait for Point types #33

EvanCarroll opened this issue May 1, 2022 · 0 comments

Comments

@EvanCarroll
Copy link

EvanCarroll commented May 1, 2022

It would be nice if Default was implemented for Point. Without it migration from geo_types is that much harder. Moreover, we can't use crates like derive-builder which require Default.

The obvious choice for postgis::ewkb::Point is (0,0) with an SRID of None

@EvanCarroll EvanCarroll changed the title Impl default Impl Default for Point types May 2, 2022
@EvanCarroll EvanCarroll changed the title Impl Default for Point types Implement Default trait for Point types May 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant