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

fix the SAGA Points Distances tool #8443

Merged
merged 1 commit into from Dec 2, 2018

Conversation

gioman
Copy link
Contributor

@gioman gioman commented Nov 8, 2018

Description

  1. The "Points Distances" tool had wrong parameters
  2. This "Points Distances" tool is the real "Distance Matrix" in SAGA, as no "Distance Matrix" tool exist in SAGA
  3. The deleted "Distance Matrix" tool was moreover a copy of the "Minimum Distance Analysis" that does a different thing

Note:

It seems there is a bug the way the SAGA provider outputs to tables:

when the output type is a table and the output is a temp one then it returns always an error like

Cannot open /tmp/processing_15aceb9bb22a4a719ab200d6b673a637/5d7c3d2d4db043259315b26dd65e6748/DISTANCES.shp.()

that ".shp.()" looks suspicious.

Also when electing to save the output to a specific location the default format is SHP (same error as above if chosen) rather than DBF (works ok if chosen).

Checklist

Reviewing is a process done by project maintainers, mostly on a volunteer basis. We try to keep the overhead as small as possible and appreciate if you help us to do so by completing the following items. Feel free to ask in a comment if you have troubles with any of them.

  • Commit messages are descriptive and explain the rationale for changes
  • Commits which fix bugs include fixes #11111 in the commit message next to the description
  • Commits which add new features are tagged with [FEATURE] in the commit message
  • Commits which change the UI or existing user workflows are tagged with [needs-docs] in the commit message and contain sufficient information in the commit message to be documented
  • I have read the QGIS Coding Standards and this PR complies with them
  • This PR passes all existing unit tests (test results will be reported by travis-ci after opening this PR)
  • New unit tests have been added for core changes
  • I have run the scripts/prepare-commit.sh script before each commit

@stale
Copy link

stale bot commented Nov 25, 2018

The QGIS project highly values your contribution and would love to see this work merged! Unfortunately this PR has not had any activity in the last 14 days and is being automatically marked as "stale". If you think this pull request should be merged, please check

  • that all unit tests are passing

  • that all comments by reviewers have been addressed

  • that there is enough information for reviewers, in particular

    • link to any issues which this pull request fixes

    • add a description of workflows which this pull request fixes

    • add screenshots if applicable

  • that you have written unit tests where possible
    In case you should have any uncertainty, please leave a comment and we will be happy to help you proceed with this pull request.
    If there is no further activity on this pull request, it will be closed in a week.

@stale stale bot added the stale Uh oh! Seems this work is abandoned, and the PR is about to close. label Nov 25, 2018
@stale
Copy link

stale bot commented Dec 2, 2018

While we hate to see this happen, this PR has been automatically closed because it has not had any activity in the last 21 days. If this pull request should be reconsidered, please follow the guidelines in the previous comment and reopen this pull request. Or, if you have any further questions, just ask! We love to help, and if there's anything the QGIS project can do to help push this PR forward please let us know how we can assist.

@stale stale bot closed this Dec 2, 2018
@luipir luipir reopened this Dec 2, 2018
@stale stale bot removed the stale Uh oh! Seems this work is abandoned, and the PR is about to close. label Dec 2, 2018
@luipir
Copy link
Contributor

luipir commented Dec 2, 2018

as done with other similar PR on SAGA algorithm without tests... I'll merge it. IMHO It's almost safe.

@nyalldawson
Copy link
Collaborator

See #8588 for a fix to the dbf issue and a unit test for this alg

This was referenced May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants