[skip ci] Auto-généré par ScriptPython - 2026-11-20 16:14:03 GMT

This commit is contained in:
github-actions[bot] committed 2026-11-20 16:20:21 +00:00
1 parent 00a948af31
commit ef61db7977
31 files changed
+178366 -176846

No files matched your search

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+198
View File
@@ -3707,3 +3707,201 @@ Attributes: _SCRAP_ID=79873, _TYPE=border, _SCRAP=SP-Explo_01_1982_01_01_01, _CL
2026-11-20 10:51:25,865 - WARNING - Any intersection issue
Attributes: _SCRAP_ID=80711, _TYPE=border, _SCRAP=SP-Explo_09_1994_08_01_01, _CLIP=on, _TAGS=2048, _SUBTYPE=visible, _SCALE=4, _TEXT=None
2026-11-20 10:51:25,865 - WARNING - ══════════════════════════════════════════════════════════════════════════════════════════════════
2026-11-20 16:15:04,581 - INFO - ╔═══════════════════════════════════════════════════════════════════════════════════════════════════╗
2026-11-20 16:15:04,581 - INFO - ║ Script to generate QGis (.gpkg) files from Therion (.shp) files with auto-correction if possible ║
2026-11-20 16:15:04,581 - INFO - ║ original written by X. Robert, ISTerre : October 2022 ║
2026-11-20 16:15:04,581 - INFO - ║ updated by : alexandre.pont@yahoo.fr ║
2026-11-20 16:15:04,581 - INFO - ║ version : 2026.10.26 ║
2026-11-20 16:15:04,581 - INFO - ║ mode : commande line mode ║
2026-11-20 16:15:04,581 - INFO - ║ input folder : ~/Synthese-PSM_LARRA/Outputs/SHP ║
2026-11-20 16:15:04,582 - INFO - ║ output folder : ~/Outputs/SHP/QGis_GPKG_Files ║
2026-11-20 16:15:04,582 - INFO - ║ log file : ~/SHP/QGis_GPKG_Files/pyThtoQgis.log ║
2026-11-20 16:15:04,582 - INFO - ╚═══════════════════════════════════════════════════════════════════════════════════════════════════╝
2026-11-20 16:15:04,582 - INFO - Step 1 : test files and convert to GPKG format in the folder: ~/Outputs/SHP/QGis_GPKG_Files
2026-11-20 16:15:04,582 - INFO - ═════════════════════════════════════════════════════════════════════════════════════════════════════
2026-11-20 16:15:04,582 - INFO - Process with file (1/7): points2d.shp
2026-11-20 16:15:04,582 - INFO - Bilan file : ~/Outputs/SHP/points2d.shp
2026-11-20 16:15:06,627 - INFO - All geometry are valid, nbr : 19604
2026-11-20 16:15:06,627 - INFO - Geometric types :
2026-11-20 16:15:06,627 - INFO - POINT : 19604
2026-11-20 16:15:06,627 - INFO - Bounding box :
2026-11-20 16:15:06,627 - INFO - xmin = 675380.844 xmax = 688038.566
2026-11-20 16:15:06,627 - INFO - ymin = 4752180.977 ymax = 4763951.350
2026-11-20 16:15:06,627 - INFO - Dimensions, Z present : True M present : True
2026-11-20 16:15:06,631 - INFO - ─────────────────────────────────────────────────────────────────────────────────────────────────────
2026-11-20 16:15:06,633 - INFO - SHP file conversion : points2d.shp with 19604 objets
2026-11-20 16:15:08,768 - INFO - GPKG conversion completed file : points2d, 19604 converted objects
2026-11-20 16:15:08,768 - INFO - Bilan file : ~/SHP/QGis_GPKG_Files/points2d.gpkg
2026-11-20 16:15:10,775 - INFO - All geometry are valid, nbr : 19604
2026-11-20 16:15:10,779 - INFO - ─────────────────────────────────────────────────────────────────────────────────────────────────────
2026-11-20 16:15:10,781 - INFO - Conversion of 19604 features in file ~/Outputs/SHP/QGis_GPKG_Filespoints2d.gpkg without issue
2026-11-20 16:15:10,781 - INFO - ═════════════════════════════════════════════════════════════════════════════════════════════════════
2026-11-20 16:15:10,781 - INFO - Process with file (2/7): lines2d.shp
2026-11-20 16:15:10,781 - INFO - Bilan file : ~/Outputs/SHP/lines2d.shp
2026-11-20 16:15:13,129 - INFO - All geometry are valid, nbr : 42076
2026-11-20 16:15:13,129 - WARNING - Warning geometries : 1252
2026-11-20 16:15:13,129 - WARNING - Too few points : 1252
2026-11-20 16:15:13,129 - INFO - Geometric types :
2026-11-20 16:15:13,129 - INFO - LINESTRING : 42076
2026-11-20 16:15:13,129 - INFO - Bounding box :
2026-11-20 16:15:13,129 - INFO - xmin = 675378.404 xmax = 688036.426
2026-11-20 16:15:13,129 - INFO - ymin = 4752172.720 ymax = 4763957.369
2026-11-20 16:15:13,129 - INFO - Dimensions, Z present : True M present : True
2026-11-20 16:15:13,133 - INFO - ─────────────────────────────────────────────────────────────────────────────────────────────────────
2026-11-20 16:15:13,134 - INFO - SHP file conversion : lines2d.shp with 42076 objets
2026-11-20 16:15:16,047 - INFO - GPKG conversion completed file : lines2d_fixed, 42076 converted objects
2026-11-20 16:15:16,048 - INFO - Bilan file : ~/SHP/QGis_GPKG_Files/lines2d_fixed.gpkg
2026-11-20 16:15:18,341 - INFO - All geometry are valid, nbr : 42076
2026-11-20 16:15:18,345 - INFO - ─────────────────────────────────────────────────────────────────────────────────────────────────────
2026-11-20 16:15:18,346 - INFO - Conversion of 42076 features in file ~/Outputs/SHP/QGis_GPKG_Fileslines2d_fixed.gpkg without issue
2026-11-20 16:15:18,346 - INFO - ═════════════════════════════════════════════════════════════════════════════════════════════════════
2026-11-20 16:15:18,346 - INFO - Process with file (3/7): outline2d.shp
2026-11-20 16:15:18,347 - INFO - Bilan file : ~/Outputs/SHP/outline2d.shp
2026-11-20 16:15:18,449 - INFO - All geometry are valid, nbr : 558
2026-11-20 16:15:18,449 - WARNING - Warning geometries : 363
2026-11-20 16:15:18,449 - WARNING - Unknown error (1) : 363
2026-11-20 16:15:18,449 - INFO - Geometric types :
2026-11-20 16:15:18,449 - INFO - POLYGON : 558
2026-11-20 16:15:18,449 - INFO - Bounding box :
2026-11-20 16:15:18,449 - INFO - xmin = 675391.336 xmax = 688036.426
2026-11-20 16:15:18,449 - INFO - ymin = 4752178.645 ymax = 4763953.204
2026-11-20 16:15:18,449 - INFO - Dimensions, Z present : True M present : True
2026-11-20 16:15:18,450 - INFO - ─────────────────────────────────────────────────────────────────────────────────────────────────────
2026-11-20 16:15:18,450 - INFO - SHP file conversion : outline2d.shp with 558 objets
2026-11-20 16:15:18,596 - INFO - GPKG conversion completed file : outline2d, 558 converted objects
2026-11-20 16:15:18,596 - INFO - Bilan file : ~/SHP/QGis_GPKG_Files/outline2d.gpkg
2026-11-20 16:15:18,671 - INFO - All geometry are valid, nbr : 558
2026-11-20 16:15:18,671 - INFO - ─────────────────────────────────────────────────────────────────────────────────────────────────────
2026-11-20 16:15:18,672 - INFO - Conversion of 558 features in file ~/Outputs/SHP/QGis_GPKG_Filesoutline2d.gpkg without issue
2026-11-20 16:15:18,672 - INFO - ═════════════════════════════════════════════════════════════════════════════════════════════════════
2026-11-20 16:15:18,672 - INFO - Process with file (4/7): areas2d.shp
2026-11-20 16:15:18,672 - INFO - Bilan file : ~/Outputs/SHP/areas2d.shp
2026-11-20 16:15:18,718 - INFO - All geometry are valid, nbr : 626
2026-11-20 16:15:18,718 - WARNING - Warning geometries : 1
2026-11-20 16:15:18,718 - WARNING - Ring self-intersection : 1
2026-11-20 16:15:18,718 - INFO - Geometric types :
2026-11-20 16:15:18,718 - INFO - POLYGON : 626
2026-11-20 16:15:18,718 - INFO - Bounding box :
2026-11-20 16:15:18,718 - INFO - xmin = 675378.404 xmax = 688025.040
2026-11-20 16:15:18,718 - INFO - ymin = 4752619.338 ymax = 4763957.369
2026-11-20 16:15:18,718 - INFO - Dimensions, Z present : True M present : True
2026-11-20 16:15:18,718 - INFO - ─────────────────────────────────────────────────────────────────────────────────────────────────────
2026-11-20 16:15:18,719 - INFO - SHP file conversion : areas2d.shp with 626 objets
on 45: 2026-11-20 16:15:18,725 - ERROR - !!! Invalid geometry in file : areas2d,
Geometry type: POLYGON,
FID: 45,
Message code: 1, Ring Self-intersection at or near point 684324.78326362907 4762578.8864569915,
Attributes: _SCRAP_ID=5724, _SCRAP=SP-Explo_12_1998_08_12_01, _TYPE=water, _CLIP=on, _TAGS=6144, _SUBTYPE=None, _SCALE=4
2026-11-20 16:15:18,787 - INFO - GPKG conversion completed file : areas2d_fixed, 626 converted objects
2026-11-20 16:15:18,787 - INFO - Bilan file : ~/SHP/QGis_GPKG_Files/areas2d_fixed.gpkg
2026-11-20 16:15:18,835 - INFO - All geometry are valid, nbr : 626
2026-11-20 16:15:18,835 - INFO - ─────────────────────────────────────────────────────────────────────────────────────────────────────
2026-11-20 16:15:18,836 - INFO - Conversion of 626 features in file ~/Outputs/SHP/QGis_GPKG_Filesareas2d_fixed.gpkg without issue
2026-11-20 16:15:18,836 - INFO - ═════════════════════════════════════════════════════════════════════════════════════════════════════
2026-11-20 16:15:18,836 - INFO - Process with file (5/7): walls3d.shp
2026-11-20 16:15:18,836 - INFO - Bilan file : ~/Outputs/SHP/walls3d.shp
2026-11-20 16:15:21,279 - INFO - All geometry are valid, nbr : 565
2026-11-20 16:15:21,279 - WARNING - Warning geometries : 565
2026-11-20 16:15:21,279 - WARNING - Not supported : 565
2026-11-20 16:15:21,279 - INFO - Geometric types :
2026-11-20 16:15:21,279 - INFO - GEOMETRYCOLLECTION : 565
2026-11-20 16:15:21,279 - INFO - Bounding box :
2026-11-20 16:15:21,279 - INFO - xmin = 675391.336 xmax = 688036.426
2026-11-20 16:15:21,279 - INFO - ymin = 4752178.645 ymax = 4763953.204
2026-11-20 16:15:21,280 - INFO - Dimensions, Z present : True M present : False
2026-11-20 16:15:21,280 - INFO - ─────────────────────────────────────────────────────────────────────────────────────────────────────
2026-11-20 16:15:21,280 - INFO - SHP file conversion : walls3d.shp with 565 objets
2026-11-20 16:15:27,662 - INFO - GPKG conversion completed file : walls3d, 565 converted objects
2026-11-20 16:15:27,662 - INFO - Bilan file : ~/SHP/QGis_GPKG_Files/walls3d.gpkg
2026-11-20 16:15:27,892 - INFO - All geometry are valid, nbr : 565
2026-11-20 16:15:27,892 - INFO - ─────────────────────────────────────────────────────────────────────────────────────────────────────
2026-11-20 16:15:27,893 - INFO - Conversion of 565 features in file ~/Outputs/SHP/QGis_GPKG_Fileswalls3d.gpkg without issue
2026-11-20 16:15:27,893 - INFO - ═════════════════════════════════════════════════════════════════════════════════════════════════════
2026-11-20 16:15:27,893 - INFO - Process with file (6/7): stations3d.shp
2026-11-20 16:15:27,893 - INFO - Bilan file : ~/Outputs/SHP/stations3d.shp
2026-11-20 16:15:33,374 - INFO - All geometry are valid, nbr : 73143
2026-11-20 16:15:33,374 - INFO - Geometric types :
2026-11-20 16:15:33,374 - INFO - POINT : 73143
2026-11-20 16:15:33,374 - INFO - Bounding box :
2026-11-20 16:15:33,374 - INFO - xmin = 674000.780 xmax = 688034.880
2026-11-20 16:15:33,374 - INFO - ymin = 4752186.580 ymax = 4763951.350
2026-11-20 16:15:33,374 - INFO - Dimensions, Z present : True M present : True
2026-11-20 16:15:33,384 - INFO - ─────────────────────────────────────────────────────────────────────────────────────────────────────
2026-11-20 16:15:33,389 - INFO - SHP file conversion : stations3d.shp with 73143 objets
2026-11-20 16:15:39,222 - INFO - GPKG conversion completed file : stations3d, 73143 converted objects
2026-11-20 16:15:39,222 - INFO - Bilan file : ~/SHP/QGis_GPKG_Files/stations3d.gpkg
2026-11-20 16:15:44,636 - INFO - All geometry are valid, nbr : 73143
2026-11-20 16:15:44,645 - INFO - ─────────────────────────────────────────────────────────────────────────────────────────────────────
2026-11-20 16:15:44,650 - INFO - Conversion of 73143 features in file ~/Outputs/SHP/QGis_GPKG_Filesstations3d.gpkg without issue
2026-11-20 16:15:44,650 - INFO - ═════════════════════════════════════════════════════════════════════════════════════════════════════
2026-11-20 16:15:44,650 - INFO - Process with file (7/7): shots3d.shp
2026-11-20 16:15:44,650 - INFO - Bilan file : ~/Outputs/SHP/shots3d.shp
2026-11-20 16:15:49,299 - INFO - All geometry are valid, nbr : 71580
2026-11-20 16:15:49,299 - WARNING - Warning geometries : 4343
2026-11-20 16:15:49,299 - WARNING - Too few points : 4343
2026-11-20 16:15:49,299 - INFO - Geometric types :
2026-11-20 16:15:49,299 - INFO - LINESTRING : 71580
2026-11-20 16:15:49,299 - INFO - Bounding box :
2026-11-20 16:15:49,299 - INFO - xmin = 674000.780 xmax = 688034.880
2026-11-20 16:15:49,299 - INFO - ymin = 4752186.580 ymax = 4763951.350
2026-11-20 16:15:49,299 - INFO - Dimensions, Z present : True M present : True
2026-11-20 16:15:49,306 - INFO - ─────────────────────────────────────────────────────────────────────────────────────────────────────
2026-11-20 16:15:49,309 - INFO - SHP file conversion : shots3d.shp with 71580 objets
2026-11-20 16:15:54,993 - INFO - GPKG conversion completed file : shots3d, 71580 converted objects
2026-11-20 16:15:54,993 - INFO - Bilan file : ~/SHP/QGis_GPKG_Files/shots3d.gpkg
2026-11-20 16:15:59,542 - INFO - All geometry are valid, nbr : 71580
2026-11-20 16:15:59,549 - INFO - ─────────────────────────────────────────────────────────────────────────────────────────────────────
2026-11-20 16:15:59,551 - INFO - Conversion of 71580 features in file ~/Outputs/SHP/QGis_GPKG_Filesshots3d.gpkg without issue
2026-11-20 16:15:59,552 - INFO - Step 2 : adapte drawing files (cut it) for QGis in the folder: ~/Outputs/SHP/QGis_GPKG_Files
2026-11-20 16:15:59,552 - INFO - Clipping file : ~/SHP/QGis_GPKG_Files/lines2d_fixed.gpkg to file : ~/SHP/QGis_GPKG_Files/lines2dMasked.gpkg
on 6134: 2026-11-20 16:16:01,378 - WARNING - Any intersection issue
Attributes: _SCRAP_ID=36389, _TYPE=contour, _SCRAP=SP-AP7_Aval_01, _CLIP=on, _TAGS=6144, _SUBTYPE=None, _SCALE=4, _TEXT=None
on 36737: 2026-11-20 16:16:09,912 - WARNING - Any intersection issue
Attributes: _SCRAP_ID=80193, _TYPE=border, _SCRAP=SP-Explo_01_1982_01_01_01, _CLIP=on, _TAGS=2048, _SUBTYPE=visible, _SCALE=4, _TEXT=None
on 37454: 2026-11-20 16:16:10,114 - WARNING - Any intersection issue
Attributes: _SCRAP_ID=81031, _TYPE=border, _SCRAP=SP-Explo_09_1994_08_01_01, _CLIP=on, _TAGS=2048, _SUBTYPE=visible, _SCALE=4, _TEXT=None
2026-11-20 16:16:11,238 - INFO - Bilan file : ~/SHP/QGis_GPKG_Files/lines2dMasked.gpkg
2026-11-20 16:16:13,581 - INFO - All geometry are valid, nbr : 42073
2026-11-20 16:16:13,581 - INFO - Geometric types :
2026-11-20 16:16:13,581 - INFO - LINESTRING : 40298
2026-11-20 16:16:13,581 - INFO - POINT : 1252
2026-11-20 16:16:13,581 - INFO - GEOMETRYCOLLECTION : 9
2026-11-20 16:16:13,581 - INFO - MULTILINESTRING : 511
2026-11-20 16:16:13,581 - INFO - MULTIPOINT : 3
2026-11-20 16:16:13,581 - INFO - Bounding box :
2026-11-20 16:16:13,581 - INFO - xmin = 675391.336 xmax = 688036.426
2026-11-20 16:16:13,581 - INFO - ymin = 4752172.720 ymax = 4763953.204
2026-11-20 16:16:13,582 - INFO - Dimensions, Z present : True M present : True
2026-11-20 16:16:13,585 - INFO - ─────────────────────────────────────────────────────────────────────────────────────────────────────
2026-11-20 16:16:13,586 - WARNING - 3 deleted geometries need to be verified in lines2dMasked.gpkg file
2026-11-20 16:16:13,593 - INFO - Clipping file : ~/SHP/QGis_GPKG_Files/areas2d_fixed.gpkg to file : ~/SHP/QGis_GPKG_Files/areas2dMasked.gpkg
2026-11-20 16:16:14,070 - INFO - Bilan file : ~/SHP/QGis_GPKG_Files/areas2dMasked.gpkg
2026-11-20 16:16:14,119 - INFO - All geometry are valid, nbr : 626
2026-11-20 16:16:14,119 - INFO - Geometric types :
2026-11-20 16:16:14,119 - INFO - POLYGON : 591
2026-11-20 16:16:14,119 - INFO - MULTIPOLYGON : 35
2026-11-20 16:16:14,119 - INFO - Bounding box :
2026-11-20 16:16:14,119 - INFO - xmin = 675391.336 xmax = 688024.210
2026-11-20 16:16:14,119 - INFO - ymin = 4752619.338 ymax = 4763953.204
2026-11-20 16:16:14,119 - INFO - Dimensions, Z present : True M present : True
2026-11-20 16:16:14,119 - INFO - ─────────────────────────────────────────────────────────────────────────────────────────────────────
2026-11-20 16:16:14,120 - INFO - 626 clipped geometries in areas2d_fixed.gpkg file
2026-11-20 16:16:14,121 - INFO - Step 3 : final summary
2026-11-20 16:16:14,121 - INFO - Execution completed in 69.55 s
2026-11-20 16:16:14,121 - ERROR - !!! ════════════════════════════════════════════════════════════════════════════════════════════════════
2026-11-20 16:16:14,121 - ERROR - !!! Execution completed with 1 errors
2026-11-20 16:16:14,121 - ERROR - !!! Invalid geometry in file : areas2d,
Geometry type: POLYGON,
FID: 45,
Message code: 1, Ring Self-intersection at or near point 684324.78326362907 4762578.8864569915,
Attributes: _SCRAP_ID=5724, _SCRAP=SP-Explo_12_1998_08_12_01, _TYPE=water, _CLIP=on, _TAGS=6144, _SUBTYPE=None, _SCALE=4
2026-11-20 16:16:14,121 - ERROR - !!! ════════════════════════════════════════════════════════════════════════════════════════════════════
2026-11-20 16:16:14,121 - WARNING - ══════════════════════════════════════════════════════════════════════════════════════════════════
2026-11-20 16:16:14,121 - WARNING - Execution completed with 3 warning
2026-11-20 16:16:14,121 - WARNING - Any intersection issue
Attributes: _SCRAP_ID=36389, _TYPE=contour, _SCRAP=SP-AP7_Aval_01, _CLIP=on, _TAGS=6144, _SUBTYPE=None, _SCALE=4, _TEXT=None
2026-11-20 16:16:14,121 - WARNING - Any intersection issue
Attributes: _SCRAP_ID=80193, _TYPE=border, _SCRAP=SP-Explo_01_1982_01_01_01, _CLIP=on, _TAGS=2048, _SUBTYPE=visible, _SCALE=4, _TEXT=None
2026-11-20 16:16:14,121 - WARNING - Any intersection issue
Attributes: _SCRAP_ID=81031, _TYPE=border, _SCRAP=SP-Explo_09_1994_08_01_01, _CLIP=on, _TAGS=2048, _SUBTYPE=visible, _SCALE=4, _TEXT=None
2026-11-20 16:16:14,121 - WARNING - ══════════════════════════════════════════════════════════════════════════════════════════════════
Binary file not shown.
Binary file not shown.
Binary file not shown.