-
Notifications
You must be signed in to change notification settings - Fork 90
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
Dissolve GeoJSON : Please have a talk with w8r/martinez #14
Comments
Just re-reading this -- you should be using the core API to calculate a more efficient union. There is an example of literally what you describe in the docs, if you want to union a lot of shapes together. That will speed things up, not sure by how much. |
I've had a brief look at both implementations, and it looks like there are other difference that affect performance:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In here we are trying to "dissolve" a huge mass of geojson Polygons / MultiPolygons.
We followed the documentation, and did this :
This works perfectly, but it takes like 20 seconds to process the whole stuff...
On the other side, w8r/martinez process it in less than 400ms... but produces aberrations, like this :
(The base "larger" polygon has many holes, and you can see some are respected, others are curiously understood as other polygons, witch comes "over" the first)
I cannot really provide any dataset, because this one is huge, and I could not reproduce on a smaller one.
Sooo, is there a chance we can engage in a discussion between the 2 repos, to come up with a solution fully working, in less than 400ms? 😄
(Note: I duplicated the issue there)
The text was updated successfully, but these errors were encountered: