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
IndexedFacetDistance #71
Conversation
|
@strk is this failure related to the PR? I'm unable to reproduce it. |
Uhm, you seem to be right, Travis is also happy (someone please kill AppVeyor!) |
I've removed the appveyor webhook, could you please rebase and force-push ? |
Can you please:
|
Oh, and make sure to reference a trac ticket in your commit log (and this PR) |
6699b2a
to
c049edb
Compare
You were right, it was my fault.
Committed as r4295 = ff501d3 (refs/remotes/trunk)
|
Actually, I just noticed that the new unit test was not enabled.
I'll do it, but please make sure the tests run in the buildbots.
|
The patch to enable the test:
Maybe you can rebase your branch against svn-trunk and keep force-pushing |
Actually, it's best if you take care of this, as it doesn't build:
tests/unit/tut/tut.hpp:273: multiple definition of `tut::test_capigeosdistance_group'
|
Sorry, I just realized the test was enabled already, so the
error were triggered by my duplicating them (guess sorting
those entries in Makefile.am might help reducing this confusion)
|
Please fix memory leaks exposed by running the test:
Here is the report I got:
|
Could you please squash-rebase this ? |
@strk did that work? |
More or less, except the commit is attributed to me ... try |
(I just realized it's not a big deal, as authorship info is going to be lost anyway) |
Worked, no more leaks exposed by test: |
This PR ports the IndexedFacetDistance class from JTS, which can massively speed up distance calculations. It adds a
GEOSDistanceIndexed
method to the C API which can take advantage of this. There is currently no way in the C API to reuse anIndexedFacetDistance
for multiple calculations, although this could be added in the future.