NetTopologySuite.IO.SqlServerBytes
NetTopologySuite.IO.SqlServerBytes copied to clipboard
A SQL Server IO module for NTS which works directly with the serialization format
Currently, `SqlServerByteReader.Read(Stream)`/`SqlServerByteWriter.Write(Geometry, Stream)` will close the underlying stream. It would be nice to have an option to reuse the stream. I propose adding a `leaveOpen= false` parameter to each of...
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...
I've tried using this with SqlBulkCopy but I get the following: System.InvalidOperationException: The given value 'System.Data.SqlTypes.SqlBytes' of type SqlBytes from the data source cannot be converted to type udt for...
This library works for a narrow case where you don't need to use GetFieldType of the DataReader or if you don't need to Fill a DataTable from an adapter. In...
Note, we're also adding EF.Functions.CurveToLine in EF7 for LINQ. (PR https://github.com/dotnet/efcore/pull/28118)
I am getting this error creating my database from scratch in a unit test: > Microsoft.Data.SqlClient.SqlException: 'Column 'MosaicShape' in table 'Location' is of a type that is invalid for use...
This type seems specific to SQL Server. While it probably won't integrate well with the rest of NTS (i.e. it will throw if you try to do anything with it),...
Still needs a lot more work, but I definitely think this is the right direction. Part of #18
I understand CurvePolygons are not supported at this time. I'm creating this issue as a request to at least support CurvePolygons that encode simple circles. Naturally the research lab I...
I have the following code trying to query geography in database: ``` var factory = NtsGeometryServices.Instance.CreateGeometryFactory(4326); var reader = new WKTReader(factory); var polygon = reader.Read("POLYGON(("+ "-45.70072144031528 70.79588950876575,"+ "-45.70072144031528 -32.671894242015554,"+ "-157.3218151903153...