mirror of
https://github.com/Alex38Lyon/Synthese-PSM_LARRA.git
synced 2026-11-30 04:08:35 +00:00
[skip ci] Auto-généré par ScriptPython - 2026-11-02 17:45:23 GMT
This commit is contained in:
1 parent
2e6c99354b
commit
3ba8d2caef
29 files changed
+157661
-177817
No files matched your search
@@ -1066,3 +1066,206 @@ on 3860: 2026-10-30 22:24:07,238 - WARNING - Any intersection issue
|
||||
2026-10-30 22:24:14,386 - WARNING - Any intersection issue
|
||||
Attributes: _SCRAP_ID=33580, _TYPE=contour, _SCRAP=SP-AP7_Aval_01, _CLIP=on, _TAGS=6144, _SUBTYPE=None, _SCALE=4, _TEXT=None
|
||||
2026-10-30 22:24:14,386 - WARNING - ══════════════════════════════════════════════════════════════════════════════════════════════════
|
||||
2026-11-02 17:45:57,996 - INFO - ╔═══════════════════════════════════════════════════════════════════════════════════════════════════╗
|
||||
2026-11-02 17:45:57,996 - INFO - ║ Script to generate QGis (.gpkg) files from Therion (.shp) files with auto-correction if possible ║
|
||||
2026-11-02 17:45:57,996 - INFO - ║ original written by X. Robert, ISTerre : October 2022 ║
|
||||
2026-11-02 17:45:57,997 - INFO - ║ updated by : alexandre.pont@yahoo.fr ║
|
||||
2026-11-02 17:45:57,997 - INFO - ║ version : 2026.10.26 ║
|
||||
2026-11-02 17:45:57,997 - INFO - ║ mode : commande line mode ║
|
||||
2026-11-02 17:45:57,997 - INFO - ║ input folder : ~/Synthese-PSM_LARRA/Outputs/SHP ║
|
||||
2026-11-02 17:45:57,997 - INFO - ║ output folder : ~/Outputs/SHP/QGis_GPKG_Files ║
|
||||
2026-11-02 17:45:57,998 - INFO - ║ log file : ~/SHP/QGis_GPKG_Files/pyThtoQgis.log ║
|
||||
2026-11-02 17:45:57,998 - INFO - ╚═══════════════════════════════════════════════════════════════════════════════════════════════════╝
|
||||
2026-11-02 17:45:57,998 - INFO - Step 1 : test files and convert to GPKG format in the folder: ~/Outputs/SHP/QGis_GPKG_Files
|
||||
2026-11-02 17:45:57,998 - INFO - ═════════════════════════════════════════════════════════════════════════════════════════════════════
|
||||
2026-11-02 17:45:57,998 - INFO - Process with file (1/7): points2d.shp
|
||||
2026-11-02 17:45:57,998 - INFO - Bilan file : ~/Outputs/SHP/points2d.shp
|
||||
2026-11-02 17:46:00,855 - INFO - All geometry are valid, nbr : 18133
|
||||
2026-11-02 17:46:00,856 - INFO - Geometric types :
|
||||
2026-11-02 17:46:00,856 - INFO - POINT : 18133
|
||||
2026-11-02 17:46:00,856 - INFO - Bounding box :
|
||||
2026-11-02 17:46:00,856 - INFO - xmin = 675380.844 xmax = 688038.566
|
||||
2026-11-02 17:46:00,856 - INFO - ymin = 4752180.977 ymax = 4763951.350
|
||||
2026-11-02 17:46:00,856 - INFO - Dimensions, Z present : True M present : True
|
||||
2026-11-02 17:46:00,861 - INFO - ─────────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
2026-11-02 17:46:00,865 - INFO - SHP file conversion : points2d.shp with 18133 objets
|
||||
2026-11-02 17:46:03,927 - INFO - GPKG conversion completed file : points2d, 18133 converted objects
|
||||
2026-11-02 17:46:03,927 - INFO - Bilan file : ~/SHP/QGis_GPKG_Files/points2d.gpkg
|
||||
2026-11-02 17:46:06,709 - INFO - All geometry are valid, nbr : 18133
|
||||
2026-11-02 17:46:06,714 - INFO - ─────────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
2026-11-02 17:46:06,717 - INFO - Conversion of 18133 features in file ~/Outputs/SHP/QGis_GPKG_Filespoints2d.gpkg without issue
|
||||
2026-11-02 17:46:06,717 - INFO - ═════════════════════════════════════════════════════════════════════════════════════════════════════
|
||||
2026-11-02 17:46:06,717 - INFO - Process with file (2/7): lines2d.shp
|
||||
2026-11-02 17:46:06,717 - INFO - Bilan file : ~/Outputs/SHP/lines2d.shp
|
||||
2026-11-02 17:46:09,982 - INFO - All geometry are valid, nbr : 38719
|
||||
2026-11-02 17:46:09,982 - WARNING - Warning geometries : 1130
|
||||
2026-11-02 17:46:09,982 - WARNING - Too few points : 1130
|
||||
2026-11-02 17:46:09,982 - INFO - Geometric types :
|
||||
2026-11-02 17:46:09,982 - INFO - LINESTRING : 38719
|
||||
2026-11-02 17:46:09,982 - INFO - Bounding box :
|
||||
2026-11-02 17:46:09,982 - INFO - xmin = 675378.404 xmax = 688036.426
|
||||
2026-11-02 17:46:09,982 - INFO - ymin = 4752172.720 ymax = 4763957.369
|
||||
2026-11-02 17:46:09,982 - INFO - Dimensions, Z present : True M present : True
|
||||
2026-11-02 17:46:09,986 - INFO - ─────────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
2026-11-02 17:46:09,989 - INFO - SHP file conversion : lines2d.shp with 38719 objets
|
||||
2026-11-02 17:46:14,471 - INFO - GPKG conversion completed file : lines2d_fixed, 38719 converted objects
|
||||
2026-11-02 17:46:14,471 - INFO - Bilan file : ~/SHP/QGis_GPKG_Files/lines2d_fixed.gpkg
|
||||
2026-11-02 17:46:17,807 - INFO - All geometry are valid, nbr : 38719
|
||||
2026-11-02 17:46:17,811 - INFO - ─────────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
2026-11-02 17:46:17,814 - INFO - Conversion of 38719 features in file ~/Outputs/SHP/QGis_GPKG_Fileslines2d_fixed.gpkg without issue
|
||||
2026-11-02 17:46:17,814 - INFO - ═════════════════════════════════════════════════════════════════════════════════════════════════════
|
||||
2026-11-02 17:46:17,815 - INFO - Process with file (3/7): outline2d.shp
|
||||
2026-11-02 17:46:17,815 - INFO - Bilan file : ~/Outputs/SHP/outline2d.shp
|
||||
2026-11-02 17:46:17,953 - INFO - All geometry are valid, nbr : 512
|
||||
2026-11-02 17:46:17,953 - WARNING - Warning geometries : 329
|
||||
2026-11-02 17:46:17,953 - WARNING - Unknown error (1) : 328
|
||||
2026-11-02 17:46:17,953 - WARNING - Self-intersection : 1
|
||||
2026-11-02 17:46:17,953 - INFO - Geometric types :
|
||||
2026-11-02 17:46:17,953 - INFO - POLYGON : 512
|
||||
2026-11-02 17:46:17,953 - INFO - Bounding box :
|
||||
2026-11-02 17:46:17,953 - INFO - xmin = 675391.336 xmax = 688036.426
|
||||
2026-11-02 17:46:17,953 - INFO - ymin = 4752178.645 ymax = 4763953.204
|
||||
2026-11-02 17:46:17,953 - INFO - Dimensions, Z present : True M present : True
|
||||
2026-11-02 17:46:17,954 - INFO - ─────────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
2026-11-02 17:46:17,954 - INFO - SHP file conversion : outline2d.shp with 512 objets
|
||||
on 112: 2026-11-02 17:46:18,002 - ERROR - !!! Invalid geometry in file : outline2d,
|
||||
Geometry type: POLYGON,
|
||||
FID: 112,
|
||||
Message code: 1, Self-intersection at or near point 681913.60339805228 4761950.1868241094,
|
||||
Attributes: _ID=45867, _NAME=SP-Explo_01_1985_08_01_06, _TITLE=None, _MAP_ID=86695, _MAP_LEVEL=1,
|
||||
_MAP_TITLE=Synthèse générale des réseaux de la Pierre Saint-Martin Larra, _SURVEY=Explo_01_1985_08_01.BT006.Complexe_Soudet.Synthese-PSM_LARRA, _Z=1057.0995789
|
||||
on 401: 2026-11-02 17:46:18,132 - ERROR - !!! Invalid geometry in file : outline2d,
|
||||
Geometry type: POLYGON,
|
||||
FID: 401,
|
||||
Message code: 1, Self-intersection at or near point 675642.0840890446 4763121.9745405512,
|
||||
Attributes: _ID=75367, _NAME=SP-Explo_01_2009_08_01_01, _TITLE=None, _MAP_ID=86695, _MAP_LEVEL=1,
|
||||
_MAP_TITLE=Synthèse générale des réseaux de la Pierre Saint-Martin Larra, _SURVEY=Explo_01_2009_08_01.Laminako_Ziloa_Illamina.Synthese-PSM_LARRA, _Z=402.89686275
|
||||
2026-11-02 17:46:18,187 - INFO - GPKG conversion completed file : outline2d, 512 converted objects
|
||||
2026-11-02 17:46:18,188 - INFO - Bilan file : ~/SHP/QGis_GPKG_Files/outline2d.gpkg
|
||||
2026-11-02 17:46:18,297 - INFO - All geometry are valid, nbr : 512
|
||||
2026-11-02 17:46:18,298 - INFO - ─────────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
2026-11-02 17:46:18,299 - INFO - Conversion of 512 features in file ~/Outputs/SHP/QGis_GPKG_Filesoutline2d.gpkg without issue
|
||||
2026-11-02 17:46:18,299 - INFO - ═════════════════════════════════════════════════════════════════════════════════════════════════════
|
||||
2026-11-02 17:46:18,299 - INFO - Process with file (4/7): areas2d.shp
|
||||
2026-11-02 17:46:18,299 - INFO - Bilan file : ~/Outputs/SHP/areas2d.shp
|
||||
2026-11-02 17:46:18,361 - INFO - All geometry are valid, nbr : 544
|
||||
2026-11-02 17:46:18,361 - INFO - Geometric types :
|
||||
2026-11-02 17:46:18,361 - INFO - POLYGON : 544
|
||||
2026-11-02 17:46:18,362 - INFO - Bounding box :
|
||||
2026-11-02 17:46:18,362 - INFO - xmin = 675378.404 xmax = 688025.040
|
||||
2026-11-02 17:46:18,362 - INFO - ymin = 4752619.338 ymax = 4763957.369
|
||||
2026-11-02 17:46:18,362 - INFO - Dimensions, Z present : True M present : True
|
||||
2026-11-02 17:46:18,362 - INFO - ─────────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
2026-11-02 17:46:18,363 - INFO - SHP file conversion : areas2d.shp with 544 objets
|
||||
2026-11-02 17:46:18,459 - INFO - GPKG conversion completed file : areas2d_fixed, 544 converted objects
|
||||
2026-11-02 17:46:18,460 - INFO - Bilan file : ~/SHP/QGis_GPKG_Files/areas2d_fixed.gpkg
|
||||
2026-11-02 17:46:18,525 - INFO - All geometry are valid, nbr : 544
|
||||
2026-11-02 17:46:18,526 - INFO - ─────────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
2026-11-02 17:46:18,527 - INFO - Conversion of 544 features in file ~/Outputs/SHP/QGis_GPKG_Filesareas2d_fixed.gpkg without issue
|
||||
2026-11-02 17:46:18,527 - INFO - ═════════════════════════════════════════════════════════════════════════════════════════════════════
|
||||
2026-11-02 17:46:18,527 - INFO - Process with file (5/7): walls3d.shp
|
||||
2026-11-02 17:46:18,527 - INFO - Bilan file : ~/Outputs/SHP/walls3d.shp
|
||||
2026-11-02 17:46:21,446 - INFO - All geometry are valid, nbr : 519
|
||||
2026-11-02 17:46:21,446 - WARNING - Warning geometries : 519
|
||||
2026-11-02 17:46:21,446 - WARNING - Not supported : 519
|
||||
2026-11-02 17:46:21,446 - INFO - Geometric types :
|
||||
2026-11-02 17:46:21,446 - INFO - GEOMETRYCOLLECTION : 519
|
||||
2026-11-02 17:46:21,446 - INFO - Bounding box :
|
||||
2026-11-02 17:46:21,446 - INFO - xmin = 675391.336 xmax = 688036.426
|
||||
2026-11-02 17:46:21,446 - INFO - ymin = 4752178.645 ymax = 4763953.204
|
||||
2026-11-02 17:46:21,446 - INFO - Dimensions, Z present : True M present : False
|
||||
2026-11-02 17:46:21,447 - INFO - ─────────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
2026-11-02 17:46:21,447 - INFO - SHP file conversion : walls3d.shp with 519 objets
|
||||
2026-11-02 17:46:29,229 - INFO - GPKG conversion completed file : walls3d, 519 converted objects
|
||||
2026-11-02 17:46:29,229 - INFO - Bilan file : ~/SHP/QGis_GPKG_Files/walls3d.gpkg
|
||||
2026-11-02 17:46:29,524 - INFO - All geometry are valid, nbr : 519
|
||||
2026-11-02 17:46:29,524 - INFO - ─────────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
2026-11-02 17:46:29,525 - INFO - Conversion of 519 features in file ~/Outputs/SHP/QGis_GPKG_Fileswalls3d.gpkg without issue
|
||||
2026-11-02 17:46:29,525 - INFO - ═════════════════════════════════════════════════════════════════════════════════════════════════════
|
||||
2026-11-02 17:46:29,525 - INFO - Process with file (6/7): stations3d.shp
|
||||
2026-11-02 17:46:29,525 - INFO - Bilan file : ~/Outputs/SHP/stations3d.shp
|
||||
2026-11-02 17:46:37,074 - INFO - All geometry are valid, nbr : 67582
|
||||
2026-11-02 17:46:37,074 - INFO - Geometric types :
|
||||
2026-11-02 17:46:37,074 - INFO - POINT : 67582
|
||||
2026-11-02 17:46:37,074 - INFO - Bounding box :
|
||||
2026-11-02 17:46:37,074 - INFO - xmin = 674000.780 xmax = 688034.880
|
||||
2026-11-02 17:46:37,074 - INFO - ymin = 4752186.580 ymax = 4763951.350
|
||||
2026-11-02 17:46:37,074 - INFO - Dimensions, Z present : True M present : True
|
||||
2026-11-02 17:46:37,086 - INFO - ─────────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
2026-11-02 17:46:37,091 - INFO - SHP file conversion : stations3d.shp with 67582 objets
|
||||
2026-11-02 17:46:45,591 - INFO - GPKG conversion completed file : stations3d, 67582 converted objects
|
||||
2026-11-02 17:46:45,591 - INFO - Bilan file : ~/SHP/QGis_GPKG_Files/stations3d.gpkg
|
||||
2026-11-02 17:46:53,247 - INFO - All geometry are valid, nbr : 67582
|
||||
2026-11-02 17:46:53,258 - INFO - ─────────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
2026-11-02 17:46:53,262 - INFO - Conversion of 67582 features in file ~/Outputs/SHP/QGis_GPKG_Filesstations3d.gpkg without issue
|
||||
2026-11-02 17:46:53,262 - INFO - ═════════════════════════════════════════════════════════════════════════════════════════════════════
|
||||
2026-11-02 17:46:53,262 - INFO - Process with file (7/7): shots3d.shp
|
||||
2026-11-02 17:46:53,263 - INFO - Bilan file : ~/Outputs/SHP/shots3d.shp
|
||||
2026-11-02 17:46:59,788 - INFO - All geometry are valid, nbr : 66047
|
||||
2026-11-02 17:46:59,788 - WARNING - Warning geometries : 4324
|
||||
2026-11-02 17:46:59,789 - WARNING - Too few points : 4324
|
||||
2026-11-02 17:46:59,789 - INFO - Geometric types :
|
||||
2026-11-02 17:46:59,789 - INFO - LINESTRING : 66047
|
||||
2026-11-02 17:46:59,789 - INFO - Bounding box :
|
||||
2026-11-02 17:46:59,789 - INFO - xmin = 674000.780 xmax = 688034.880
|
||||
2026-11-02 17:46:59,789 - INFO - ymin = 4752186.580 ymax = 4763951.350
|
||||
2026-11-02 17:46:59,789 - INFO - Dimensions, Z present : True M present : True
|
||||
2026-11-02 17:46:59,798 - INFO - ─────────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
2026-11-02 17:46:59,801 - INFO - SHP file conversion : shots3d.shp with 66047 objets
|
||||
2026-11-02 17:47:08,158 - INFO - GPKG conversion completed file : shots3d, 66047 converted objects
|
||||
2026-11-02 17:47:08,159 - INFO - Bilan file : ~/SHP/QGis_GPKG_Files/shots3d.gpkg
|
||||
2026-11-02 17:47:14,482 - INFO - All geometry are valid, nbr : 66047
|
||||
2026-11-02 17:47:14,489 - INFO - ─────────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
2026-11-02 17:47:14,493 - INFO - Conversion of 66047 features in file ~/Outputs/SHP/QGis_GPKG_Filesshots3d.gpkg without issue
|
||||
2026-11-02 17:47:14,493 - INFO - Step 2 : adapte drawing files (cut it) for QGis in the folder: ~/Outputs/SHP/QGis_GPKG_Files
|
||||
2026-11-02 17:47:14,494 - INFO - Clipping file : ~/SHP/QGis_GPKG_Files/lines2d_fixed.gpkg to file : ~/SHP/QGis_GPKG_Files/lines2dMasked.gpkg
|
||||
on 3860: 2026-11-02 17:47:16,122 - WARNING - Any intersection issue
|
||||
Attributes: _SCRAP_ID=33580, _TYPE=contour, _SCRAP=SP-AP7_Aval_01, _CLIP=on, _TAGS=6144, _SUBTYPE=None, _SCALE=4, _TEXT=None
|
||||
2026-11-02 17:47:29,611 - INFO - Bilan file : ~/SHP/QGis_GPKG_Files/lines2dMasked.gpkg
|
||||
2026-11-02 17:47:32,875 - INFO - All geometry are valid, nbr : 38718
|
||||
2026-11-02 17:47:32,875 - INFO - Geometric types :
|
||||
2026-11-02 17:47:32,875 - INFO - LINESTRING : 37127
|
||||
2026-11-02 17:47:32,875 - INFO - POINT : 1130
|
||||
2026-11-02 17:47:32,875 - INFO - GEOMETRYCOLLECTION : 9
|
||||
2026-11-02 17:47:32,875 - INFO - MULTILINESTRING : 449
|
||||
2026-11-02 17:47:32,875 - INFO - MULTIPOINT : 3
|
||||
2026-11-02 17:47:32,875 - INFO - Bounding box :
|
||||
2026-11-02 17:47:32,875 - INFO - xmin = 675391.336 xmax = 688036.426
|
||||
2026-11-02 17:47:32,875 - INFO - ymin = 4752172.720 ymax = 4763953.204
|
||||
2026-11-02 17:47:32,875 - INFO - Dimensions, Z present : True M present : True
|
||||
2026-11-02 17:47:32,880 - INFO - ─────────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
2026-11-02 17:47:32,882 - WARNING - 1 deleted geometries need to be verified in lines2dMasked.gpkg file
|
||||
2026-11-02 17:47:32,890 - INFO - Clipping file : ~/SHP/QGis_GPKG_Files/areas2d_fixed.gpkg to file : ~/SHP/QGis_GPKG_Files/areas2dMasked.gpkg
|
||||
2026-11-02 17:47:33,468 - INFO - Bilan file : ~/SHP/QGis_GPKG_Files/areas2dMasked.gpkg
|
||||
2026-11-02 17:47:33,541 - INFO - All geometry are valid, nbr : 544
|
||||
2026-11-02 17:47:33,541 - INFO - Geometric types :
|
||||
2026-11-02 17:47:33,541 - INFO - POLYGON : 514
|
||||
2026-11-02 17:47:33,541 - INFO - MULTIPOLYGON : 30
|
||||
2026-11-02 17:47:33,541 - INFO - Bounding box :
|
||||
2026-11-02 17:47:33,541 - INFO - xmin = 675391.336 xmax = 688024.210
|
||||
2026-11-02 17:47:33,541 - INFO - ymin = 4752619.338 ymax = 4763953.204
|
||||
2026-11-02 17:47:33,541 - INFO - Dimensions, Z present : True M present : True
|
||||
2026-11-02 17:47:33,541 - INFO - ─────────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
2026-11-02 17:47:33,542 - INFO - 544 clipped geometries in areas2d_fixed.gpkg file
|
||||
2026-11-02 17:47:33,543 - INFO - Step 3 : final summary
|
||||
2026-11-02 17:47:33,543 - INFO - Execution completed in 95.56 s
|
||||
2026-11-02 17:47:33,543 - ERROR - !!! ════════════════════════════════════════════════════════════════════════════════════════════════════
|
||||
2026-11-02 17:47:33,543 - ERROR - !!! Execution completed with 2 errors
|
||||
2026-11-02 17:47:33,543 - ERROR - !!! Invalid geometry in file : outline2d,
|
||||
Geometry type: POLYGON,
|
||||
FID: 112,
|
||||
Message code: 1, Self-intersection at or near point 681913.60339805228 4761950.1868241094,
|
||||
Attributes: _ID=45867, _NAME=SP-Explo_01_1985_08_01_06, _TITLE=None, _MAP_ID=86695, _MAP_LEVEL=1,
|
||||
_MAP_TITLE=Synthèse générale des réseaux de la Pierre Saint-Martin Larra, _SURVEY=Explo_01_1985_08_01.BT006.Complexe_Soudet.Synthese-PSM_LARRA, _Z=1057.0995789
|
||||
2026-11-02 17:47:33,543 - ERROR - !!! Invalid geometry in file : outline2d,
|
||||
Geometry type: POLYGON,
|
||||
FID: 401,
|
||||
Message code: 1, Self-intersection at or near point 675642.0840890446 4763121.9745405512,
|
||||
Attributes: _ID=75367, _NAME=SP-Explo_01_2009_08_01_01, _TITLE=None, _MAP_ID=86695, _MAP_LEVEL=1,
|
||||
_MAP_TITLE=Synthèse générale des réseaux de la Pierre Saint-Martin Larra, _SURVEY=Explo_01_2009_08_01.Laminako_Ziloa_Illamina.Synthese-PSM_LARRA, _Z=402.89686275
|
||||
2026-11-02 17:47:33,544 - ERROR - !!! ════════════════════════════════════════════════════════════════════════════════════════════════════
|
||||
2026-11-02 17:47:33,544 - WARNING - ══════════════════════════════════════════════════════════════════════════════════════════════════
|
||||
2026-11-02 17:47:33,544 - WARNING - Execution completed with 1 warning
|
||||
2026-11-02 17:47:33,544 - WARNING - Any intersection issue
|
||||
Attributes: _SCRAP_ID=33580, _TYPE=contour, _SCRAP=SP-AP7_Aval_01, _CLIP=on, _TAGS=6144, _SUBTYPE=None, _SCALE=4, _TEXT=None
|
||||
2026-11-02 17:47:33,544 - WARNING - ══════════════════════════════════════════════════════════════════════════════════════════════════
|
||||
Reference in new issue
Block a user