I´m using python in QGIS 2.2 and struggling with an error trying this:
# create layer from text_vlayer = QgsVectorLayer(_ur1, "raw", "delimitedtext")works finebut:
# export layer to shape_writer = QgsVectorFileWriter.writeAsVectorFormat\(_vlayer,"hoppla.shp","utf-8",None,"ESRI Shapefile")... ends up wiht error code "3" - according to documentation:"ErrCreateLayer".I really would appriciate a hint.
أكثر...
# create layer from text_vlayer = QgsVectorLayer(_ur1, "raw", "delimitedtext")works finebut:
# export layer to shape_writer = QgsVectorFileWriter.writeAsVectorFormat\(_vlayer,"hoppla.shp","utf-8",None,"ESRI Shapefile")... ends up wiht error code "3" - according to documentation:"ErrCreateLayer".I really would appriciate a hint.
أكثر...