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

Wrongly tries to use a vector layer if named like a raster layer #2

Open
naoliv opened this issue Aug 26, 2017 · 1 comment · May be fixed by #3
Open

Wrongly tries to use a vector layer if named like a raster layer #2

naoliv opened this issue Aug 26, 2017 · 1 comment · May be fixed by #3

Comments

@naoliv
Copy link

naoliv commented Aug 26, 2017

Have 3 raster layers named as A, B and C + one vector layer named as A
After adding the 3 raster layers to EasyAHP it fails with:

AttributeError: 'QgsVectorLayer' object has no attribute 'bandCount'

Which indicates that it somehow is trying to use a layer that isn't a raster.

ie, instead using the raster layer A it's trying to use the vector layer A

See https://issues.qgis.org/issues/17079 for more info, please.

@naoliv naoliv changed the title Wrongly tries to use a wrong vector layer if named like a raster layer Wrongly tries to use a vector layer if named like a raster layer Aug 26, 2017
naoliv added a commit to naoliv/EasyAHP that referenced this issue Sep 20, 2017
@naoliv naoliv linked a pull request Sep 20, 2017 that will close this issue
@MSBilgin
Copy link
Owner

Thanks for pr, looks great. But I 'll test it in my free time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants