[Qgis-user] 2.5d webmaps with qgis2web
Anita Graser
anitagraser at gmx.at
Mon Mar 14 13:32:39 PDT 2016
On Mon, Mar 14, 2016 at 9:08 PM, Tom Chadwin <tom.chadwin at nnpa.org.uk>
wrote:
> Hrm. I wonder if Luigi is right. Try running it with the Python console
> open.
> If it still doesn't work, can you try commenting out the print line? It's
> just for debugging. Thanks for testing. Very much appreciated.
>
​Right, with the console open, I get no error in the plugin map preview are
and the following output on the QGIS python console:
Python Console
Use iface to access QGIS API interface or Type help(iface) for more info
Traceback (most recent call last):
File "C:/Users/anita/.qgis2/python/plugins\qgis2web\utils.py", line 219,
in is25d
symbol = renderer.symbolForFeature(feature)
TypeError: Qgs25DRenderer.symbolForFeature(QgsFeature, QgsRenderContext):
not enough arguments
Traceback (most recent call last):
File "C:/Users/anita/.qgis2/python/plugins\qgis2web\utils.py", line 219,
in is25d
symbol = renderer.symbolForFeature(feature)
TypeError: Qgs25DRenderer.symbolForFeature(QgsFeature, QgsRenderContext):
not enough arguments
Traceback (most recent call last):
File "C:/Users/anita/.qgis2/python/plugins\qgis2web\utils.py", line 219,
in is25d
symbol = renderer.symbolForFeature(feature)
TypeError: Qgs25DRenderer.symbolForFeature(QgsFeature, QgsRenderContext):
not enough arguments
Traceback (most recent call last):
File "C:/Users/anita/.qgis2/python/plugins\qgis2web\utils.py", line 219,
in is25d
symbol = renderer.symbolForFeature(feature)
TypeError: Qgs25DRenderer.symbolForFeature(QgsFeature, QgsRenderContext):
not enough arguments
Traceback (most recent call last):
File "C:/Users/anita/.qgis2/python/plugins\qgis2web\utils.py", line 219,
in is25d
symbol = renderer.symbolForFeature(feature)
TypeError: Qgs25DRenderer.symbolForFeature(QgsFeature, QgsRenderContext):
not enough arguments​
Commenting out the print statement also gets rid of the error in the
webview.
These are the errors I get in the plugin webview console:
https://www.dropbox.com/s/7yzx09zeycdi7w9/Screenshot%202016-03-14%2021.30.16.png?dl=0
https://www.dropbox.com/s/fjlvtwykxxq5fdg/Screenshot%202016-03-14%2021.30.12.png?dl=0
Best wishes,
Anita
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20160314/92c7091c/attachment.html>
More information about the Qgis-user
mailing list