-
Notifications
You must be signed in to change notification settings - Fork 822
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
Trying to insert/get EMPTY geometry (Polygon.Empty or similar), throwing error #3467
Comments
Which version of EF are you using? |
Using Microsoft.EntityFrameworkCore, version 5.0.2. Faced the issue in version 3.1.9 , and updated to check if still exists. |
I can see an issue, will investigate. |
Note: opened NetTopologySuite/NetTopologySuite.IO.PostGis#14 as this seems to be an issue there. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Database has a column with type geometry (nullable). We are facing error when trying to insert Empty geometry, or try to get same from DB.
Error (when try to insert):
Message: XX000: WKB structure does not match expected size!
Sample Code:
Stacktrace:
Error (When try to get):
Please let me know if needed more details.
The text was updated successfully, but these errors were encountered: