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

Bug in executing clip with polygon from another layer for Digitizing Toolbar #27622

Closed
qgib opened this issue Sep 7, 2018 · 6 comments
Closed
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Editing

Comments

@qgib
Copy link
Contributor

qgib commented Sep 7, 2018

Author Name: KL Higgins (KL Higgins)
Original Redmine Issue: 19797
Affected QGIS version: 3.0.1
Redmine category:editing


As reported on stackexchange, I have run into issues with the clip with polygon from another layer tool with the Digitizing toolbar.

https://gis.stackexchange.com/questions/295037/error-in-executing-clip-with-polygon-from-another-layer/295073#295073

Here is the error report:

TypeError: QgsCoordinateTransform(): arguments did not match any overloaded call: overload 1: too many arguments overload 2: argument 1 has unexpected type 'int' overload 3: argument 1 has unexpected type 'int' overload 4: argument 1 has unexpected type 'int' overload 5: argument 1 has unexpected type 'int'

Traceback (most recent call last): File "C:\Users\Kellina\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\DigitizingTools\tools\dtclipper.py", line 107, in process clipperCRSSrsid, projectCRSSrsid TypeError: QgsCoordinateTransform(): arguments did not match any overloaded call: overload 1: too many arguments overload 2: argument 1 has unexpected type 'int' overload 3: argument 1 has unexpected type 'int'
overload 4: argument 1 has unexpected type 'int' overload 5: argument 1 has unexpected type 'int'

Version de Python : 3.6.0 (v3.6.0:41df79263a11, Dec 23 2016, 08:06:12) [MSC v.1900 64 bit (AMD64)] Version de QGIS : 3.0.1-Girona Girona, a86bec2

Chemin Python : C:/PROGRA1/QGIS31.0/apps/qgis/./python C:/Users/Kellina/AppData/Roaming/QGIS/QGIS3\profiles\default/python C:/Users/Kellina/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins C:/PROGRA1/QGIS31.0/apps/qgis/./python/plugins C:\Program Files\QGIS 3.0\bin\python36.zip C:\PROGRA1\QGIS31.0\apps\Python36\DLLs C:\PROGRA1\QGIS31.0\apps\Python36\lib C:\Program Files\QGIS 3.0\bin C:\PROGRA1\QGIS31.0\apps\Python36 C:\PROGRA1\QGIS31.0\apps\Python36\lib\site-packages C:/Users/Kellina/AppData/Roaming/QGIS/QGIS3\profiles\default/python C:\Users\Kellina\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\DigitizingTools\tools J:/MRC Granit/identification des MHH

@qgib
Copy link
Contributor Author

qgib commented Sep 7, 2018

Author Name: Harrissou Santanna (@DelazJ)


This seems to be a bug with the Digitizing tools plugin, in which case it should be reported in the plugin repo.


  • status_id was changed from Open to Feedback

@qgib
Copy link
Contributor Author

qgib commented Sep 7, 2018

Author Name: Harrissou Santanna (@DelazJ)


This seems to be a bug with the Digitizing tools plugin, in which case it should be reported in the plugin repo.
OK I see that you've been already said that. The place to report is https://github.com/bstroebl/DigitizingTools/issues (seen in the plugin description) but I invited the author to this discussion.

@qgib
Copy link
Contributor Author

qgib commented Sep 8, 2018

Author Name: Nyall Dawson (@nyalldawson)


This belongs on https://github.com/bstroebl/DigitizingTools/issues -- we have enough issues on this tracker without adding 3rd party plugin issues ;)


  • resolution was changed from to invalid
  • status_id was changed from Feedback to Rejected

@qgib qgib closed this as completed Sep 8, 2018
@qgib
Copy link
Contributor Author

qgib commented Sep 10, 2018

Author Name: Bernhard Ströbl (Bernhard Ströbl)


@Harrisou: thanks informing me

@kl Higgins: I will try to fix this problem today. However as a rule of thumb you should use the same CRS for your project and the layers you are editing.

@qgib
Copy link
Contributor Author

qgib commented Sep 10, 2018

Author Name: Bernhard Ströbl (Bernhard Ströbl)


Problem fixed in new release 1.2.0 of the plugin

@qgib
Copy link
Contributor Author

qgib commented Sep 11, 2018

Author Name: KL Higgins (KL Higgins)


Great for the quick fix! Sorry for my misuse of this platform. Digitizing tools is such a standard toolbar that I had thought it was part of the main build of QGIS.

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Editing labels May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Editing
Projects
None yet
Development

No branches or pull requests

1 participant