Skip to content

Commit

Permalink
Fix #201 QgsVectorLayer loading for spatialite
Browse files Browse the repository at this point in the history
  • Loading branch information
benoitblanc committed Mar 2, 2022
1 parent 5f60acf commit 176dc7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gml_application_schema_toolbox/core/load_gmlas_in_qgis.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def _qgis_layer(
elif provider in ("spatialite"):
# use OGR for spatialite loading
couche = QgsVectorLayer(
"{} table={} {}".format(uri, layer_name, g_column),
"{} table=({}) {}".format(uri, layer_name, g_column),
qgis_layer_name,
"spatialite",
)
Expand Down

0 comments on commit 176dc7d

Please sign in to comment.