Lagi

QGIS2Leaf gagal dengan AttributeError: objek 'QgsMarkerLineSymbolLayerV2' tidak memiliki atribut 'penStyle'

QGIS2Leaf gagal dengan AttributeError: objek 'QgsMarkerLineSymbolLayerV2' tidak memiliki atribut 'penStyle'


Adakah yang bisa memberi tahu saya apa artinya ini? dan apa yang harus saya lakukan untuk menyelesaikannya?

Saya ingin mengekspor peta saya dari QGIS untuk digunakan sebagai peta web. Data berasal dari database postGIS.

Fehler bei der Ausführung von Python-Code:

Traceback (panggilan terakhir terakhir): File "/Users/kevin_hh/.qgis2/python/plugins/qgis2leaf/qgis2leafdialog.py", baris 297, di export2leaf qgis2leaf_exec(self.outFileName, self.basemapName, self.basemapMeta, self. basemapAddress, self.width, self.height, self.extent, self.full_screen, self.layer_list, self.visible, self.opacity, self.encode2JSON, self.createcluster, self.webpage_name, self.webmap_head, self.webmap_subhead, self.legend, self.locate, self.address, self.precision, self.labels, self.labelshover, self.matchCRS, self.selected) File "/Users/kevin_hh/.qgis2/python/plugins/qgis2leaf/qgis2leaf_exec. py", baris 575, dalam opacity qgis2leaf_exec: '""" + str(symbol.alpha()) + """', AttributeError: objek 'QgsMarkerLineSymbolLayerV2' tidak memiliki atribut 'penStyle'

Python-Version: 2.7.10 (default, 14 Jul 2015, 19:46:27) [GCC 4.2.1 Kompatibel Apple LLVM 6.0 (clang-600.0.39)]

QGIS-Versi: 2.8.3-Wien Wien,

Python-Pfad: ['/Applications/QGIS_Wien.app/Contents/MacOS/… /Resources/python/plugins/processing', '/Applications/QGIS_Wien.app/Contents/MacOS/… /Resources/python', u'/ Users/kevin_hh/.qgis2/python', u'/Users/kevin_hh/.qgis2/python/plugins', '/Applications/QGIS_Wien.app/Contents/MacOS/… /Resources/python/plugins', '/Library/ Frameworks/SQLite3.framework/Versions/C/Python/2.7', '/Library/Frameworks/GEOS.framework/Versions/3/Python/2.7/site-packages', '/Library/Python/2.7/site-packages/ numpy-override', '/Library/Python/2.7/site-packages/matplotlib-override', '/Library/Frameworks/GDAL.framework/Versions/1.11/Python/2.7/site-packages', '/System/Library /Frameworks/Python.framework/Versions/2.7/lib/python27.zip', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7', '/System/Library/Frameworks/Python .framework/Versions/2.7/lib/python2.7/plat-darwin', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac', '/System/Library /Frameworks/Python.framewo rk/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages', '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python', '/System/Library/ Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old', '/ System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload', '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC', '/Library/Python/2.7/site-packages', u'/Users/kevin_hh/.qgis2//python', '/Users/kevin_hh/.qgis2/python/plugins', '/Applications/QGIS_Wien.app/Contents /Resources/python/plugins/fTools/tools', '/Users/kevin_hh/Desktop/Projekt slowUp Basel-Dreiland']


qgis2leaf tidak mendukung gaya garis Marker. Juga, qgis2leaf tidak lagi dikembangkan. Fungsinya telah disertakan dalam qgis2web, tetapi saya yakin qgis2web juga tidak mendukung gaya garis Marker. Coba, dan laporkan masalah di Github jika gagal.

PEMBARUAN: qgis2web tidak mogok dengan gaya garis Marker. Namun, gaya garis Marker tidak direproduksi - ia gagal menjadi gaya poligon biasa.


Tonton videonya: qgis project exported with qgis2leaf