|
|
@ -265,5 +265,9 @@ class GemeindeMessdatenImport():
|
|
|
|
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()
|
|
|
|
|
|
|
|
|