|
|
@ -264,6 +264,10 @@ class GemeindeMessdatenImport():
|
|
|
|
# Import-Tabelle leeren
|
|
|
|
# Import-Tabelle leeren
|
|
|
|
query = """DELETE FROM messdaten_imp;"""
|
|
|
|
query = """DELETE FROM messdaten_imp;"""
|
|
|
|
self.con.executeSql(query)
|
|
|
|
self.con.executeSql(query)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Geometrie gültigkeit herstellen
|
|
|
|
|
|
|
|
query = """UPDATE messdaten SET geom = AsGPB(geom) WHERE IsValidGPB(geom) = 0;"""
|
|
|
|
|
|
|
|
self.con.executeSql(query)
|
|
|
|
|
|
|
|
|
|
|
|
iface.mapCanvas().refreshAllLayers()
|
|
|
|
iface.mapCanvas().refreshAllLayers()
|
|
|
|
|
|
|
|
|