NetTopologySuite.IO.GeoJSON
NetTopologySuite.IO.GeoJSON copied to clipboard
Use `PrecisionModel` for serializing/deserializing coordinates (STJ)
- Serialization and deserialization of the
Envelope
type moved to it's own converter, so that it easily can use aPrecisionModel
parameter. - Extension methods for
Utf8JsonWriter
andUtf8JsonReader
that uses aPrecisionModel
parameter. - Serialization and deserialization of coordinates uses the extension methods with the current
PrecisionModel
. - Fixes #135
I am not sure if PrecisionModel
should be used for the Z
coordinate. This is something I want, but this is not supported by the Newtonsoft GeoJSON serializer.