mirror of
https://github.com/Alex38Lyon/Synthese-PSM_LARRA.git
synced 2026-09-30 07:21:55 +00:00
Update pyThtoQgis.py
This commit is contained in:
@@ -422,6 +422,7 @@ def extractVertices(input_gpkg_path, output_gpkg_path):
|
|||||||
|
|
||||||
#################################################################################################
|
#################################################################################################
|
||||||
def diagnostic(file_path):
|
def diagnostic(file_path):
|
||||||
|
try:
|
||||||
|
|
||||||
start_time = time.time()
|
start_time = time.time()
|
||||||
|
|
||||||
@@ -529,6 +530,9 @@ def diagnostic(file_path):
|
|||||||
|
|
||||||
return invalid
|
return invalid
|
||||||
|
|
||||||
|
except RuntimeError as e:
|
||||||
|
log.warning(f"Unable to validate geometry: {e}, Continuing anyway.")
|
||||||
|
|
||||||
#################################################################################################
|
#################################################################################################
|
||||||
def fix_geometry(geom, GetFID):
|
def fix_geometry(geom, GetFID):
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user