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

update shard module to use ST_Subdivide #19

Merged
merged 1 commit into from
Jul 16, 2019
Merged

update shard module to use ST_Subdivide #19

merged 1 commit into from
Jul 16, 2019

Conversation

missinglink
Copy link
Member

@missinglink missinglink commented Jul 16, 2019

This is a big refactor of the shard module to use the new ST_Subdivide() functionality only available in spatialite@5.0.0-BETA1
This is a cutting-edge feature which requires building from source in order to get all the latest features in spatialite@5.0.0-BETA1

The major advantages are a 4x speed improvement on build times and increased stability when generating shards for PIP.

More information is available in the documentation:
https://www.gaia-gis.it/fossil/libspatialite/wiki?name=About+ST_Subdivide%28%29

I've removed my home-grown splitting code which splits polygons alternately horizontally/vertically, I don't foresee any reason we would need to bring that code back but it's in the history if we ever need to support older versions of spatialite.

related: #7 #6

…nctionality available in spatialite@5.0.0-BETA1
@missinglink missinglink merged commit 80b18f4 into master Jul 16, 2019
@missinglink missinglink deleted the subdivide branch July 1, 2020 11:01
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.

None yet

1 participant