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

Grass algorithm outputs do not correctly work within models #25991

Closed
qgib opened this issue Feb 14, 2018 · 2 comments
Closed

Grass algorithm outputs do not correctly work within models #25991

qgib opened this issue Feb 14, 2018 · 2 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! GRASS

Comments

@qgib
Copy link
Contributor

qgib commented Feb 14, 2018

Author Name: Alister Hood (@AlisterH)
Original Redmine Issue: 18095
Affected QGIS version: master
Redmine category:processing/grass
Assignee: Victor Olaya


"Extract layer extent" does not work in processing model in master if input layer is also a "final result".
The attached model is a simple test case. Try changing it so the output of v.to.rast is not a "final result", and everything will work!

Prepare algorithm: qgis:polygonfromlayerextent_2
Running Extract layer extent [2/2]
Input Parameters:
{ INPUT: , OUTPUT: 'memory:' }
Traceback (most recent call last): File "/usr/share/qgis/python/plugins/processing/algs/qgis/ExtentFromLayer.py", line 96, in processAlgorithm fields, QgsWkbTypes.Polygon, layer.crs()) AttributeError: 'NoneType' object has no attribute 'crs' 


@qgib
Copy link
Contributor Author

qgib commented Feb 14, 2018

Author Name: Nyall Dawson (@nyalldawson)


Specific to GRASS algorithms only.


  • category_id was changed from Processing/QGIS to Processing/GRASS
  • subject was changed from "Extract layer extent" does not work in processing model in QGIS 3 if input layer is also a "final result" to Grass algorithm outputs do not correctly work within models

@qgib
Copy link
Contributor Author

qgib commented Sep 25, 2018

Author Name: Nyall Dawson (@nyalldawson)


Fixed in 3.3


  • resolution was changed from to fixed/implemented
  • status_id was changed from Open to Closed

@qgib qgib closed this as completed Sep 25, 2018
@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! GRASS 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! GRASS
Projects
None yet
Development

No branches or pull requests

1 participant