Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use PrecisionModel for serializing/deserializing coordinates (STJ) #136

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

MizardX
Copy link

@MizardX MizardX commented Oct 29, 2023

  • Serialization and deserialization of the Envelope type moved to it's own converter, so that it easily can use a PrecisionModel parameter.
  • Extension methods for Utf8JsonWriter and Utf8JsonReader that uses a PrecisionModel parameter.
  • Serialization and deserialization of coordinates uses the extension methods with the current PrecisionModel.
  • Fixes Serializer ignores the PrecisionModel of geometries (STJ) #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.

@CLAassistant
Copy link

CLAassistant commented Oct 29, 2023

CLA assistant check
All committers have signed the CLA.

@MizardX MizardX changed the title Number precision Use PrecisionModel for serializing/deserializing coordinates (STJ) Oct 29, 2023
@MizardX MizardX force-pushed the number-precision branch from 101b813 to 07f5ae9 Compare June 25, 2024 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Serializer ignores the PrecisionModel of geometries (STJ)
2 participants