Skip to content

v2.1.0

Latest
Compare
Choose a tag to compare
@FObermaier FObermaier released this 16 Feb 11:08
ddbd857
Add and wire CheckZMFilter in SqlSeverBytesWriter (#24)

The filter checks if a geometry can carry z- and/or m-ordinate values and sets emitZ and emitM values accordingly based of _emitZ and _emitM.

This removes the necessity of filling and removing values from ZValues and MValues.

The drawback is, that the default value for WKTReader.IsOldNtsCoordinateSyntaxAllowed is true always creates sequences with a dimension of 3 (=>can carry z), even though these values might all be Double.NaN. Therefor I had to adjust the unit tests.