mirror of
https://github.com/Alex38Lyon/Synthese-PSM_LARRA.git
synced 2026-11-30 04:08:35 +00:00
179 lines
21 KiB
Plaintext
179 lines
21 KiB
Plaintext
2026-10-28 15:29:03,263 - INFO - ╔═══════════════════════════════════════════════════════════════════════════════════════════════════╗
|
|
2026-10-28 15:29:03,263 - INFO - ║ Script to generate QGis (.gpkg) files from Therion (.shp) files with auto-correction if possible ║
|
|
2026-10-28 15:29:03,263 - INFO - ║ original written by X. Robert, ISTerre : October 2022 ║
|
|
2026-10-28 15:29:03,264 - INFO - ║ updated by : alexandre.pont@yahoo.fr ║
|
|
2026-10-28 15:29:03,265 - INFO - ║ version : 2026.10.26 ║
|
|
2026-10-28 15:29:03,266 - INFO - ║ mode : commande line mode ║
|
|
2026-10-28 15:29:03,267 - INFO - ║ input folder : ~\Synthese-PSM_LARRA\Outputs\SHP ║
|
|
2026-10-28 15:29:03,268 - INFO - ║ output folder : ~\Outputs\SHP\QGis_GPKG_Files ║
|
|
2026-10-28 15:29:03,270 - INFO - ║ log file : ~\SHP\QGis_GPKG_Files\pyThtoQgis.log ║
|
|
2026-10-28 15:29:03,270 - INFO - ╚═══════════════════════════════════════════════════════════════════════════════════════════════════╝
|
|
2026-10-28 15:29:03,271 - INFO - Step 1 : test files and convert to GPKG format in the folder: ~\Outputs\SHP\QGis_GPKG_Files
|
|
2026-10-28 15:29:03,272 - INFO - ═════════════════════════════════════════════════════════════════════════════════════════════════════
|
|
2026-10-28 15:29:03,272 - INFO - Process with file (1/7): points2d.shp
|
|
2026-10-28 15:29:03,273 - INFO - Bilan file : ~\Outputs\SHP\points2d.shp
|
|
2026-10-28 15:29:09,099 - INFO - All geometry are valid, nbr : 16601
|
|
2026-10-28 15:29:09,100 - INFO - Geometric types :
|
|
2026-10-28 15:29:09,100 - INFO - POINT : 16601
|
|
2026-10-28 15:29:09,100 - INFO - Bounding box :
|
|
2026-10-28 15:29:09,101 - INFO - xmin = 678699.008 xmax = 688038.566
|
|
2026-10-28 15:29:09,101 - INFO - ymin = 4752601.324 ymax = 4763951.350
|
|
2026-10-28 15:29:09,101 - INFO - Dimensions, Z present : True M present : True
|
|
2026-10-28 15:29:09,110 - INFO - ─────────────────────────────────────────────────────────────────────────────────────────────────────
|
|
2026-10-28 15:29:09,122 - INFO - SHP file conversion : points2d.shp with 16601 objets
|
|
2026-10-28 15:29:16,160 - INFO - GPKG conversion completed file : points2d, 16601 converted objects
|
|
2026-10-28 15:29:16,162 - INFO - Bilan file : ~\SHP\QGis_GPKG_Files\points2d.gpkg
|
|
2026-10-28 15:29:22,157 - INFO - All geometry are valid, nbr : 16601
|
|
2026-10-28 15:29:22,165 - INFO - ─────────────────────────────────────────────────────────────────────────────────────────────────────
|
|
2026-10-28 15:29:22,174 - INFO - Conversion of 16601 features in file ~\Outputs\SHP\QGis_GPKG_Filespoints2d.gpkg without issue
|
|
2026-10-28 15:29:22,174 - INFO - ═════════════════════════════════════════════════════════════════════════════════════════════════════
|
|
2026-10-28 15:29:22,175 - INFO - Process with file (2/7): lines2d.shp
|
|
2026-10-28 15:29:22,175 - INFO - Bilan file : ~\Outputs\SHP\lines2d.shp
|
|
2026-10-28 15:29:30,143 - INFO - All geometry are valid, nbr : 35511
|
|
2026-10-28 15:29:30,143 - WARNING - Warning geometries : 1089
|
|
2026-10-28 15:29:30,143 - WARNING - Too few points : 1089
|
|
2026-10-28 15:29:30,144 - INFO - Geometric types :
|
|
2026-10-28 15:29:30,144 - INFO - LINESTRING : 35511
|
|
2026-10-28 15:29:30,144 - INFO - Bounding box :
|
|
2026-10-28 15:29:30,144 - INFO - xmin = 678697.424 xmax = 688036.426
|
|
2026-10-28 15:29:30,145 - INFO - ymin = 4752610.913 ymax = 4763957.369
|
|
2026-10-28 15:29:30,145 - INFO - Dimensions, Z present : True M present : True
|
|
2026-10-28 15:29:30,152 - INFO - ─────────────────────────────────────────────────────────────────────────────────────────────────────
|
|
2026-10-28 15:29:30,164 - INFO - SHP file conversion : lines2d.shp with 35511 objets
|
|
2026-10-28 15:29:41,385 - INFO - GPKG conversion completed file : lines2d_fixed, 35511 converted objects
|
|
2026-10-28 15:29:41,386 - INFO - Bilan file : ~\SHP\QGis_GPKG_Files\lines2d_fixed.gpkg
|
|
2026-10-28 15:29:48,645 - INFO - All geometry are valid, nbr : 35511
|
|
2026-10-28 15:29:48,650 - INFO - ─────────────────────────────────────────────────────────────────────────────────────────────────────
|
|
2026-10-28 15:29:48,660 - INFO - Conversion of 35511 features in file ~\Outputs\SHP\QGis_GPKG_Fileslines2d_fixed.gpkg without issue
|
|
2026-10-28 15:29:48,661 - INFO - ═════════════════════════════════════════════════════════════════════════════════════════════════════
|
|
2026-10-28 15:29:48,661 - INFO - Process with file (3/7): outline2d.shp
|
|
2026-10-28 15:29:48,662 - INFO - Bilan file : ~\Outputs\SHP\outline2d.shp
|
|
2026-10-28 15:29:48,930 - INFO - All geometry are valid, nbr : 491
|
|
2026-10-28 15:29:48,930 - WARNING - Warning geometries : 318
|
|
2026-10-28 15:29:48,931 - WARNING - Unknown error (1) : 318
|
|
2026-10-28 15:29:48,931 - INFO - Geometric types :
|
|
2026-10-28 15:29:48,932 - INFO - POLYGON : 491
|
|
2026-10-28 15:29:48,932 - INFO - Bounding box :
|
|
2026-10-28 15:29:48,932 - INFO - xmin = 678698.790 xmax = 688036.426
|
|
2026-10-28 15:29:48,932 - INFO - ymin = 4752610.913 ymax = 4763953.204
|
|
2026-10-28 15:29:48,933 - INFO - Dimensions, Z present : True M present : True
|
|
2026-10-28 15:29:48,934 - INFO - ─────────────────────────────────────────────────────────────────────────────────────────────────────
|
|
2026-10-28 15:29:48,937 - INFO - SHP file conversion : outline2d.shp with 491 objets
|
|
2026-10-28 15:29:49,441 - INFO - GPKG conversion completed file : outline2d, 491 converted objects
|
|
2026-10-28 15:29:49,443 - INFO - Bilan file : ~\SHP\QGis_GPKG_Files\outline2d.gpkg
|
|
2026-10-28 15:29:49,718 - INFO - All geometry are valid, nbr : 491
|
|
2026-10-28 15:29:49,719 - INFO - ─────────────────────────────────────────────────────────────────────────────────────────────────────
|
|
2026-10-28 15:29:49,750 - INFO - Conversion of 491 features in file ~\Outputs\SHP\QGis_GPKG_Filesoutline2d.gpkg without issue
|
|
2026-10-28 15:29:49,750 - INFO - ═════════════════════════════════════════════════════════════════════════════════════════════════════
|
|
2026-10-28 15:29:49,751 - INFO - Process with file (4/7): areas2d.shp
|
|
2026-10-28 15:29:49,752 - INFO - Bilan file : ~\Outputs\SHP\areas2d.shp
|
|
2026-10-28 15:29:49,922 - INFO - All geometry are valid, nbr : 501
|
|
2026-10-28 15:29:49,923 - INFO - Geometric types :
|
|
2026-10-28 15:29:49,923 - INFO - POLYGON : 501
|
|
2026-10-28 15:29:49,923 - INFO - Bounding box :
|
|
2026-10-28 15:29:49,924 - INFO - xmin = 678697.424 xmax = 688025.040
|
|
2026-10-28 15:29:49,924 - INFO - ymin = 4752619.338 ymax = 4763957.369
|
|
2026-10-28 15:29:49,924 - INFO - Dimensions, Z present : True M present : True
|
|
2026-10-28 15:29:49,925 - INFO - ─────────────────────────────────────────────────────────────────────────────────────────────────────
|
|
2026-10-28 15:29:49,928 - INFO - SHP file conversion : areas2d.shp with 501 objets
|
|
2026-10-28 15:29:50,229 - INFO - GPKG conversion completed file : areas2d_fixed, 501 converted objects
|
|
2026-10-28 15:29:50,230 - INFO - Bilan file : ~\SHP\QGis_GPKG_Files\areas2d_fixed.gpkg
|
|
2026-10-28 15:29:50,370 - INFO - All geometry are valid, nbr : 501
|
|
2026-10-28 15:29:50,371 - INFO - ─────────────────────────────────────────────────────────────────────────────────────────────────────
|
|
2026-10-28 15:29:50,374 - INFO - Conversion of 501 features in file ~\Outputs\SHP\QGis_GPKG_Filesareas2d_fixed.gpkg without issue
|
|
2026-10-28 15:29:50,374 - INFO - ═════════════════════════════════════════════════════════════════════════════════════════════════════
|
|
2026-10-28 15:29:50,375 - INFO - Process with file (5/7): walls3d.shp
|
|
2026-10-28 15:29:50,376 - INFO - Bilan file : ~\Outputs\SHP\walls3d.shp
|
|
2026-10-28 15:29:56,700 - INFO - All geometry are valid, nbr : 498
|
|
2026-10-28 15:29:56,700 - WARNING - Warning geometries : 498
|
|
2026-10-28 15:29:56,701 - WARNING - Not supported : 498
|
|
2026-10-28 15:29:56,701 - INFO - Geometric types :
|
|
2026-10-28 15:29:56,701 - INFO - GEOMETRYCOLLECTION : 498
|
|
2026-10-28 15:29:56,702 - INFO - Bounding box :
|
|
2026-10-28 15:29:56,702 - INFO - xmin = 678698.810 xmax = 688036.426
|
|
2026-10-28 15:29:56,702 - INFO - ymin = 4752610.915 ymax = 4763953.204
|
|
2026-10-28 15:29:56,702 - INFO - Dimensions, Z present : True M present : False
|
|
2026-10-28 15:29:56,703 - INFO - ─────────────────────────────────────────────────────────────────────────────────────────────────────
|
|
2026-10-28 15:29:56,705 - INFO - SHP file conversion : walls3d.shp with 498 objets
|
|
2026-10-28 15:30:15,240 - INFO - GPKG conversion completed file : walls3d, 498 converted objects
|
|
2026-10-28 15:30:15,242 - INFO - Bilan file : ~\SHP\QGis_GPKG_Files\walls3d.gpkg
|
|
2026-10-28 15:30:15,729 - INFO - All geometry are valid, nbr : 498
|
|
2026-10-28 15:30:15,730 - INFO - ─────────────────────────────────────────────────────────────────────────────────────────────────────
|
|
2026-10-28 15:30:15,733 - INFO - Conversion of 498 features in file ~\Outputs\SHP\QGis_GPKG_Fileswalls3d.gpkg without issue
|
|
2026-10-28 15:30:15,733 - INFO - ═════════════════════════════════════════════════════════════════════════════════════════════════════
|
|
2026-10-28 15:30:15,733 - INFO - Process with file (6/7): stations3d.shp
|
|
2026-10-28 15:30:15,735 - INFO - Bilan file : ~\Outputs\SHP\stations3d.shp
|
|
2026-10-28 15:30:34,014 - INFO - All geometry are valid, nbr : 67580
|
|
2026-10-28 15:30:34,014 - INFO - Geometric types :
|
|
2026-10-28 15:30:34,014 - INFO - POINT : 67580
|
|
2026-10-28 15:30:34,014 - INFO - Bounding box :
|
|
2026-10-28 15:30:34,015 - INFO - xmin = 674000.780 xmax = 688034.880
|
|
2026-10-28 15:30:34,015 - INFO - ymin = 4752186.580 ymax = 4763951.350
|
|
2026-10-28 15:30:34,015 - INFO - Dimensions, Z present : True M present : True
|
|
2026-10-28 15:30:34,032 - INFO - ─────────────────────────────────────────────────────────────────────────────────────────────────────
|
|
2026-10-28 15:30:34,053 - INFO - SHP file conversion : stations3d.shp with 67580 objets
|
|
2026-10-28 15:30:56,187 - INFO - GPKG conversion completed file : stations3d, 67580 converted objects
|
|
2026-10-28 15:30:56,189 - INFO - Bilan file : ~\SHP\QGis_GPKG_Files\stations3d.gpkg
|
|
2026-10-28 15:31:14,323 - INFO - All geometry are valid, nbr : 67580
|
|
2026-10-28 15:31:14,342 - INFO - ─────────────────────────────────────────────────────────────────────────────────────────────────────
|
|
2026-10-28 15:31:14,384 - INFO - Conversion of 67580 features in file ~\Outputs\SHP\QGis_GPKG_Filesstations3d.gpkg without issue
|
|
2026-10-28 15:31:14,384 - INFO - ═════════════════════════════════════════════════════════════════════════════════════════════════════
|
|
2026-10-28 15:31:14,385 - INFO - Process with file (7/7): shots3d.shp
|
|
2026-10-28 15:31:14,388 - INFO - Bilan file : ~\Outputs\SHP\shots3d.shp
|
|
2026-10-28 15:31:29,521 - INFO - All geometry are valid, nbr : 66046
|
|
2026-10-28 15:31:29,522 - WARNING - Warning geometries : 4325
|
|
2026-10-28 15:31:29,522 - WARNING - Too few points : 4325
|
|
2026-10-28 15:31:29,522 - INFO - Geometric types :
|
|
2026-10-28 15:31:29,523 - INFO - LINESTRING : 66046
|
|
2026-10-28 15:31:29,523 - INFO - Bounding box :
|
|
2026-10-28 15:31:29,523 - INFO - xmin = 674000.780 xmax = 688034.880
|
|
2026-10-28 15:31:29,524 - INFO - ymin = 4752186.580 ymax = 4763951.350
|
|
2026-10-28 15:31:29,524 - INFO - Dimensions, Z present : True M present : True
|
|
2026-10-28 15:31:29,539 - INFO - ─────────────────────────────────────────────────────────────────────────────────────────────────────
|
|
2026-10-28 15:31:29,557 - INFO - SHP file conversion : shots3d.shp with 66046 objets
|
|
2026-10-28 15:31:50,879 - INFO - GPKG conversion completed file : shots3d, 66046 converted objects
|
|
2026-10-28 15:31:50,881 - INFO - Bilan file : ~\SHP\QGis_GPKG_Files\shots3d.gpkg
|
|
2026-10-28 15:32:06,218 - INFO - All geometry are valid, nbr : 66046
|
|
2026-10-28 15:32:06,237 - INFO - ─────────────────────────────────────────────────────────────────────────────────────────────────────
|
|
2026-10-28 15:32:06,267 - INFO - Conversion of 66046 features in file ~\Outputs\SHP\QGis_GPKG_Filesshots3d.gpkg without issue
|
|
2026-10-28 15:32:06,268 - INFO - Step 2 : adapte drawing files (cut it) for QGis in the folder: ~\Outputs\SHP\QGis_GPKG_Files
|
|
2026-10-28 15:32:06,271 - INFO - Clipping file : ~\SHP\QGis_GPKG_Files\lines2d_fixed.gpkg to file : ~\SHP\QGis_GPKG_Files\lines2dMasked.gpkg
|
|
on 3629: 2026-10-28 15:32:24,987 - WARNING - Any intersection issue
|
|
Attributes: _SCRAP_ID=33454, _TYPE=contour, _SCRAP=SP-AP7_Aval_01, _CLIP=on, _TAGS=6144, _SUBTYPE=None, _SCALE=4, _TEXT=None
|
|
2026-10-28 15:35:10,089 - INFO - Bilan file : ~\SHP\QGis_GPKG_Files\lines2dMasked.gpkg
|
|
2026-10-28 15:35:17,450 - INFO - All geometry are valid, nbr : 35510
|
|
2026-10-28 15:35:17,450 - INFO - Geometric types :
|
|
2026-10-28 15:35:17,450 - INFO - LINESTRING : 34019
|
|
2026-10-28 15:35:17,451 - INFO - POINT : 1089
|
|
2026-10-28 15:35:17,451 - INFO - GEOMETRYCOLLECTION : 9
|
|
2026-10-28 15:35:17,451 - INFO - MULTILINESTRING : 390
|
|
2026-10-28 15:35:17,452 - INFO - MULTIPOINT : 3
|
|
2026-10-28 15:35:17,452 - INFO - Bounding box :
|
|
2026-10-28 15:35:17,452 - INFO - xmin = 678698.790 xmax = 688036.426
|
|
2026-10-28 15:35:17,453 - INFO - ymin = 4752610.913 ymax = 4763953.204
|
|
2026-10-28 15:35:17,453 - INFO - Dimensions, Z present : True M present : True
|
|
2026-10-28 15:35:17,459 - INFO - ─────────────────────────────────────────────────────────────────────────────────────────────────────
|
|
2026-10-28 15:35:17,469 - WARNING - 1 deleted geometries need to be verified in lines2dMasked.gpkg file
|
|
2026-10-28 15:35:17,480 - INFO - Clipping file : ~\SHP\QGis_GPKG_Files\areas2d_fixed.gpkg to file : ~\SHP\QGis_GPKG_Files\areas2dMasked.gpkg
|
|
2026-10-28 15:35:20,807 - INFO - Bilan file : ~\SHP\QGis_GPKG_Files\areas2dMasked.gpkg
|
|
2026-10-28 15:35:20,972 - INFO - All geometry are valid, nbr : 501
|
|
2026-10-28 15:35:20,973 - INFO - Geometric types :
|
|
2026-10-28 15:35:20,973 - INFO - POLYGON : 474
|
|
2026-10-28 15:35:20,973 - INFO - MULTIPOLYGON : 27
|
|
2026-10-28 15:35:20,974 - INFO - Bounding box :
|
|
2026-10-28 15:35:20,974 - INFO - xmin = 678698.790 xmax = 688024.210
|
|
2026-10-28 15:35:20,975 - INFO - ymin = 4752619.338 ymax = 4763953.204
|
|
2026-10-28 15:35:20,975 - INFO - Dimensions, Z present : True M present : True
|
|
2026-10-28 15:35:20,976 - INFO - ─────────────────────────────────────────────────────────────────────────────────────────────────────
|
|
2026-10-28 15:35:20,979 - INFO - 501 clipped geometries in areas2d_fixed.gpkg file
|
|
2026-10-28 15:35:20,981 - INFO - Step 3 : final summary
|
|
2026-10-28 15:35:20,981 - INFO - Execution completed in 377.79 s
|
|
2026-10-28 15:35:20,982 - INFO - ═════════════════════════════════════════════════════════════════════════════════════════════════════
|
|
2026-10-28 15:35:20,982 - INFO - Execution completed without errors
|
|
2026-10-28 15:35:20,983 - INFO - ═════════════════════════════════════════════════════════════════════════════════════════════════════
|
|
2026-10-28 15:35:20,983 - WARNING - ══════════════════════════════════════════════════════════════════════════════════════════════════
|
|
2026-10-28 15:35:20,984 - WARNING - Execution completed with 1 warning
|
|
2026-10-28 15:35:20,984 - WARNING - Any intersection issue
|
|
Attributes: _SCRAP_ID=33454, _TYPE=contour, _SCRAP=SP-AP7_Aval_01, _CLIP=on, _TAGS=6144, _SUBTYPE=None, _SCALE=4, _TEXT=None
|
|
2026-10-28 15:35:20,984 - WARNING - ══════════════════════════════════════════════════════════════════════════════════════════════════
|