Skip to main content
Rollback to Revision 1
Source Link
Taras
  • 34k
  • 4
  • 73
  • 148

'DeprecationWarning: QgsVectorFileWriter.writeAsVectorFormat() is deprecated'

'DeprecationWarning: QgsVectorFileWriter.writeAsVectorFormat() is deprecated' is a warning, not an error.

  If you check the the documentationdocumentation for that method you see that using QgsVectorFileWriter.writeAsVectorFormatV3() is recommended instead.

Once you adjust your code to use that method, the "error""error" will disappear.

'DeprecationWarning: QgsVectorFileWriter.writeAsVectorFormat() is deprecated'

is a warning, not an error.

  If you check the documentation for that method you see that using QgsVectorFileWriter.writeAsVectorFormatV3() is recommended instead.

Once you adjust your code to use that method, the "error" will disappear.

'DeprecationWarning: QgsVectorFileWriter.writeAsVectorFormat() is deprecated' is a warning, not an error. If you check the documentation for that method you see that using QgsVectorFileWriter.writeAsVectorFormatV3() is recommended instead.

Once you adjust your code to use that method, the "error" will disappear.

added 15 characters in body
Source Link
Taras
  • 34k
  • 4
  • 73
  • 148

'DeprecationWarning: QgsVectorFileWriter.writeAsVectorFormat() is deprecated'

'DeprecationWarning: QgsVectorFileWriter.writeAsVectorFormat() is deprecated' is a warning, not an error. 

If you check the documentationthe documentation for that method you see that using QgsVectorFileWriter.writeAsVectorFormatV3() is recommended instead.

Once you adjust your code to use that method, the "error""error" will disappear.

'DeprecationWarning: QgsVectorFileWriter.writeAsVectorFormat() is deprecated' is a warning, not an error. If you check the documentation for that method you see that using QgsVectorFileWriter.writeAsVectorFormatV3() is recommended instead.

Once you adjust your code to use that method, the "error" will disappear.

'DeprecationWarning: QgsVectorFileWriter.writeAsVectorFormat() is deprecated'

is a warning, not an error. 

If you check the documentation for that method you see that using QgsVectorFileWriter.writeAsVectorFormatV3() is recommended instead.

Once you adjust your code to use that method, the "error" will disappear.

Source Link
bugmenot123
  • 11.3k
  • 3
  • 38
  • 75

'DeprecationWarning: QgsVectorFileWriter.writeAsVectorFormat() is deprecated' is a warning, not an error. If you check the documentation for that method you see that using QgsVectorFileWriter.writeAsVectorFormatV3() is recommended instead.

Once you adjust your code to use that method, the "error" will disappear.