NetTopologySuite / NetTopologySuite.IO.SqlServerBytes

A SQL Server IO module for NTS which works directly with the serialization format
BSD 3-Clause "New" or "Revised" License
16 stars 12 forks source link

SqlServerBytesWriter.Write() generates invalid byte sequence in specific case #31

Closed andre9349 closed 4 months ago

andre9349 commented 8 months ago

I have geometrycollection with two elements: MULTILINESTRING and POLYGON There is an exception while i'm trying to generate SqlGeometry from bytes However, if polygon goes before multilinestring, there are no problems Sample project attached TestSqlServerBytesWriter.zip

FObermaier commented 4 months ago

This is not valid with the current codebase