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

Plugin stops arranging layers when there are rasters or OpenLayers loaded #4

Open
amsantac opened this issue Apr 21, 2016 · 2 comments

Comments

@amsantac
Copy link

Nice plugin. Great idea. Thanks for your work. I found the following issue:

The plugin stops arranging layers when there are rasters or OpenLayers loaded. See below. Could this be fixed?

2016-04-21T14:00:18 1 Traceback (most recent call last):
File "C:/Users/Guest/.qgis2/python/plugins\Layer_arranger\layer_arranger.py", line 196, in run
if layer.geometryType() == QGis.Point:
AttributeError: 'QgsRasterLayer' object has no attribute 'geometryType'

2016-04-21T14:01:08 1 Traceback (most recent call last):
File "C:/Users/Guest/.qgis2/python/plugins\Layer_arranger\layer_arranger.py", line 196, in run
if layer.geometryType() == QGis.Point:
AttributeError: 'OpenlayersLayer' object has no attribute 'geometryType'

@abhijitgujar86
Copy link
Owner

i looked up for it found this documents will try it and update the plugin . thanks :)

document: https://qgis.org/api/classQGis.html

@amsantac
Copy link
Author

amsantac commented May 2, 2016

Great! Thanks for contributing to QGIS community

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

No branches or pull requests

2 participants