-
Notifications
You must be signed in to change notification settings - Fork 41
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 hexWKB in JSON diff/show output #71
Merged
Merged
Commits on May 7, 2020
-
Use hexWKB in JSON diff/show output
This replaces GeoJSON geometries with (little-endian) hex-encoded WKB in `show --json` and `diff --json` commands. `--geojson` output is unaffected. This: * reduces patch/diff size by quite a lot, especially for large geometries * makes patch generation/consumption more efficient; no pass via OGR is required in most circumstances. * improves support for exotic geometries (GeoJSON doesn't support curved geometry types) fixes #62
Configuration menu - View commit details
-
Copy full SHA for f3044e5 - Browse repository at this point
Copy the full SHA f3044e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for fd4ae27 - Browse repository at this point
Copy the full SHA fd4ae27View commit details -
More comprehensive tests for GPKG geom conversion
Including endianness and envelopes
Configuration menu - View commit details
-
Copy full SHA for 95b103a - Browse repository at this point
Copy the full SHA 95b103aView commit details -
Drop 'type' key from json-serialized rows
They're not GeoJSON anymore anyway, because we're using hexWKB geometries, so best not to pretend they are.
Configuration menu - View commit details
-
Copy full SHA for 0399a40 - Browse repository at this point
Copy the full SHA 0399a40View commit details -
Configuration menu - View commit details
-
Copy full SHA for 704b4c8 - Browse repository at this point
Copy the full SHA 704b4c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for b99e0ef - Browse repository at this point
Copy the full SHA b99e0efView commit details -
Configuration menu - View commit details
-
Copy full SHA for ba53ebe - Browse repository at this point
Copy the full SHA ba53ebeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 304c827 - Browse repository at this point
Copy the full SHA 304c827View commit details -
Possibly commented out by accident in b5f7c7c
Configuration menu - View commit details
-
Copy full SHA for cec3a13 - Browse repository at this point
Copy the full SHA cec3a13View commit details -
Generate it from the `geojson` diff rather than the `json` one, because the `json` one now uses hexWKB geometries. Because the layout's a bit different, this means the JS in the HTML template needs to do a bit more work, but it's quite achievable. Yay for ES7
Configuration menu - View commit details
-
Copy full SHA for cb28c3b - Browse repository at this point
Copy the full SHA cb28c3bView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.