[Qgis-user] QGIS2WEB plugin cannot convert points?

Edi Piqoni edi.piqoni at idra.al
Tue Apr 19 08:17:34 PDT 2016


Hi everybody,

When trying to convert simple points (markers) in *qgis2web *plugin 
(*leaflet*) and the following error appears:

KeyError: -2147483647
Traceback (most recent call last):
   File 
"C:/Users/username/.qgis2/python/plugins\qgis2web\maindialog.py", line 
141, in saveMap
     MainDialog.saveLeaf(self)
   File 
"C:/Users/username/.qgis2/python/plugins\qgis2web\maindialog.py", line 
326, in saveLeaf
     cluster, json, params, popup)
   File 
"C:/Users/username/.qgis2/python/plugins\qgis2web\leafletWriter.py", 
line 94, in writeLeaflet
     layerFileName, safeLayerName, minify, canvas)
   File 
"C:/Users/username/.qgis2/python/plugins\qgis2web\leafletLayerScripts.py", 
line 15, in exportJSONLayer
     cleanedLayer = writeTmpLayer(i, eachPopup)
   File "C:/Users/username/.qgis2/python/plugins\qgis2web\utils.py", 
line 73, in writeTmpLayer
     uri = TYPE_MAP[layer.wkbType()]
KeyError: -2147483647

*Other kind of layers work fine, poligons, lines. **Am I doing something 
wrong or is it a limitation of the plugin?
*Googled the error but to no avail.

Best
Edi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20160419/3dc63bbf/attachment.html>


More information about the Qgis-user mailing list