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

geometry module level default precision control #177

Merged
merged 1 commit into from
May 6, 2022

Conversation

joe-jordan
Copy link
Contributor

Authored by @rogerlew , with their permission I am submitting as a pull request.

Resolves #135

This allows projects to set the default precision that they need, in such a way that it works with geojson.base.GeoJSON.to_instance (i.e. when parsing a large JSON tree of objects using factories, without calling individual constructors.)

IQGeo is submitting this pull request because we are unable to upgrade beyond 2.4 without this fix.

@rayrrr rayrrr merged commit 2776519 into jazzband:master May 6, 2022
@rayrrr rayrrr mentioned this pull request May 7, 2022
@rayrrr rayrrr mentioned this pull request Jan 26, 2023
swastis10 added a commit to swastis10/e-mission-server that referenced this pull request Mar 6, 2023
For more details- jazzband/geojson#135
It should be removed in the next server update, by which time hopefully the new geojson version will incorporate the long-term fix
See - jazzband/geojson#177
Contains fix for the issue:
e-mission/e-mission-docs#856 (comment)
netbsd-srcmastr pushed a commit to NetBSD/pkgsrc that referenced this pull request Sep 2, 2023
3.0.1 (2023-02-15)
------------------

- Add Support for Python 3.11.x minor revisions

  - jazzband/geojson#198


3.0.0 (2023-01-26)
------------------

- Support for Python versions 3.7-3.11 (Python 2 no longer supported)

- Primary development branch renamed from `master` to `main`

- Handle all real numbers as coordinates

  - jazzband/geojson#188

- Default precision improvements

  - jazzband/geojson#177

- CI improvements

  - jazzband/geojson#172
  - jazzband/geojson#155

- utf-8 support added to `geojson.dumps()`

  - jazzband/geojson#165

- Polygons now constrained to bounding box

  - jazzband/geojson#147

- Better GeometryCollection handling in `util.coords()`

  - jazzband/geojson#146

- Improved point validation

  - jazzband/geojson#144
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.

Default Precision Issues
3 participants