Skip to content

Commit

Permalink
update docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
elisalle committed Jan 2, 2025
1 parent 61cbc66 commit 0f00e4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions threedi_schema/application/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,11 +215,11 @@ def upgrade_spatialite_version(self):

def convert_to_geopackage(self):
"""
Convert spatialite to geopackage using gdal's ogr2ogr.
Convert spatialite to geopackage using gdal.VectorTranslate.
Does nothing if the current database is already a geopackage.
Raises UpgradeFailedError if the conversion of spatialite to geopackage with ogr2ogr fails.
Raises UpgradeFailedError if the conversion of spatialite to geopackage with VectorTranslate fails.
"""

handler = GdalErrorHandler()
Expand Down

0 comments on commit 0f00e4c

Please sign in to comment.