[Qgis-user] Qgis2threejs: Error using Polygon Layer Extrusion

beroubt beroubt at gmail.com
Thu Nov 27 08:11:01 PST 2014


Hallo,

 

I got an error when using a polygon layer in the Qgis2threejs-plugin (Qgis
2.6.0, Plugin 0.7.2).

 

Traceback (most recent call last):
File
"C:/Users/berounba/.qgis2/python/plugins\Qgis2threejs\qgis2threejsdialog.py"
, line 369, in run
    htmlfilename = exportToThreeJS(htmlfilename, context, self.progress)
  File "C:/Users/
berounba/.qgis2/python/plugins\Qgis2threejs\qgis2threejsmain.py", line 366,
in exportToThreeJS
    writeVectors(writer)
  File "C:/Users/
berounba/.qgis2/python/plugins\Qgis2threejs\qgis2threejsmain.py", line 984,
in writeVectors
    geom_type == geom.type()
AttributeError: 'NoneType' object has no attribute 'type'

 

 

What is the reason, are there experiences?
Is there a necessity to define a type-attribute anywhere or something
special?

 

P.S.: Anything is working well using a Point Layer.

 

Thanks a lot.

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20141127/a798b0a7/attachment.html>


More information about the Qgis-user mailing list