NetTopologySuite/NetTopologySuite.IO.PostGis

Empty polygon representation is rejected by PostgreSQL

roji opened this issue · 7 comments

roji commented

When writing:

XX000: WKB structure does not match expected size!
Data:
  Severity: ERROR
  InvariantSeverity: ERROR
  SqlState: XX000
  MessageText: WKB structure does not match expected size!
  File: lwgeom_pg.c
  Line: 250
  Routine: pg_error

Originally flagged in npgsql/npgsql#3467

roji commented

@FObermaier thanks for the quick fix! Hopefully a 2.0.1 nuget can be released soon :)

@airbreather, did you have a look at the latest changes? As some semantics changed I'd go with v2.1 rather than v2.0.1
I didn't care too much about the travis-ci integration, I'd prefer to move to github-actions.

@airbreather, did you have a look at the latest changes?

Looks fine to me, though I don't use PostGIS on a regular basis, so I can easily miss things.

I didn't care too much about the travis-ci integration, I'd prefer to move to github-actions.

I just don't like seeing too much of this, is all:
image

roji commented

@airbreather @FObermaier any chance of getting a 2.0.1 nuget with the fix? It's been a while...

roji commented

Note similarity (possible identity) with NetTopologySuite/NetTopologySuite.IO.SqlServerBytes#14 for SQL Server.

@airbreather @FObermaier any chance of getting a 2.0.1 nuget with the fix? It's been a while...

@roji, it is live.

roji commented

Thanks @FObermaier!