Advertisement
Guest User

Untitled

a guest
Jan 17th, 2017
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. QgsVectorFileWriter.writeAsVectorFormat(layer, output_file_path_str, 'utf-8',
  2. crs, 'SQLite', False, None, ['SPATIALITE=YES', ])
  3.  
  4. options = QgsVectorFileWriter.SaveVectorOptions()
  5. options.actionOnExistingFile = QgsVectorFileWriter.CreateOrOverwriteLayer
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement