diff --git a/.github/workflows/ScriptPython.yml b/.github/workflows/ScriptPython.yml index 3402665..cbe85fa 100644 --- a/.github/workflows/ScriptPython.yml +++ b/.github/workflows/ScriptPython.yml @@ -1,4 +1,4 @@ -# Workflow d'execution automatique des scripts python +# Workflow d'exécution automatique des scripts python et de compilation Therion name: ScriptPython on: push: @@ -35,12 +35,10 @@ jobs: run: | echo "========================================" echo "VÉRIFICATION DES MODIFICATIONS" - echo "========================================" - + echo "========================================" # Date et heure du commit COMMIT_DATE=$(date '+%Y-%m-%d %H:%M:%S') echo "commit_date=$COMMIT_DATE" >> "$GITHUB_OUTPUT" - echo "Date du commit : $COMMIT_DATE" # -------------------------------------------------------- # Lancement manuel @@ -53,34 +51,18 @@ jobs: echo "sql=true" >> "$GITHUB_OUTPUT" exit 0 fi - echo "========================================" echo "Recherche des fichiers modifiés" echo "========================================" - # -------------------------------------------------------- # SHP ajoutés ou modifiés # -------------------------------------------------------- - SHP_FILES=$(git diff-tree \ - --no-commit-id \ - --name-only \ - --diff-filter=AM \ - -r \ - "$GITHUB_SHA" \ - -- 'Outputs/SHP/*.shp') - + SHP_FILES=$(git diff-tree --no-commit-id --name-only --diff-filter=AM -r "$GITHUB_SHA" -- 'Outputs/SHP/*.shp') # -------------------------------------------------------- # SQL ajouté ou modifié # -------------------------------------------------------- SQL_FILE="Outputs/DB_Synthese-PSM_LARRA.sql" - SQL_CHANGED=$(git diff-tree \ - --no-commit-id \ - --name-only \ - --diff-filter=AM \ - -r \ - "$GITHUB_SHA" \ - -- "$SQL_FILE") - + SQL_CHANGED=$(git diff-tree --no-commit-id --name-only --diff-filter=AM -r "$GITHUB_SHA" -- "$SQL_FILE") # -------------------------------------------------------- # Affichage # -------------------------------------------------------- @@ -93,7 +75,6 @@ jobs: echo "Aucun" echo "shp=false" >> "$GITHUB_OUTPUT" fi - echo "" echo "SQL ajouté/modifié :" if [ -n "$SQL_CHANGED" ]; then @@ -103,7 +84,6 @@ jobs: echo "Aucun" echo "sql=false" >> "$GITHUB_OUTPUT" fi - # -------------------------------------------------------- # Décision de poursuivre # -------------------------------------------------------- @@ -116,9 +96,7 @@ jobs: echo "Aucun SHP ni SQL ajouté/modifié." echo "changed=false" >> "$GITHUB_OUTPUT" fi - echo "manual=false" >> "$GITHUB_OUTPUT" - # ============================================================ # 3.1 Arrêt si aucun SHP/SQL et pas de lancement manuel # ============================================================ @@ -128,7 +106,6 @@ jobs: run: | echo "Aucun SHP ou SQL ajouté/modifié." echo "Arrêt du workflow." - # ============================================================ # 3.2 Vérification de la base SQL # ============================================================ @@ -146,7 +123,6 @@ jobs: echo "$SQL_FILE" exit 1 fi - echo "Base SQL trouvée :" ls -lh "$SQL_FILE" @@ -191,8 +167,7 @@ jobs: echo "CONDA_PREFIX=$CONDA_PREFIX" python --version echo "" - conda list | grep -E \ - "python|numpy|sfcgal|geos|proj|sqlite" + conda list | grep -E "python|numpy|sfcgal|geos|proj|sqlite" # ============================================================ # 6. Téléchargement package GDAL @@ -207,20 +182,15 @@ jobs: GDAL_VERSION=3.13.3 PACKAGE_NAME="gdal-${GDAL_VERSION}-sfcgal-2.2-geos-3.14.1-ubuntu-24.04" TAG="gdal-sfcgal-${GDAL_VERSION}" - echo "========================================" echo "GDAL PACKAGE" echo "========================================" echo "Release : $TAG" echo "Package : $PACKAGE_NAME" - gh release download "$TAG" \ - --repo "$GITHUB_REPOSITORY" \ - --pattern "${PACKAGE_NAME}.tar.gz" \ - --dir "$RUNNER_TEMP" + gh release download "$TAG" --repo "$GITHUB_REPOSITORY" --pattern "${PACKAGE_NAME}.tar.gz" --dir "$RUNNER_TEMP" echo "" echo "Package téléchargé :" - ls -lh \ - "$RUNNER_TEMP/${PACKAGE_NAME}.tar.gz" + ls -lh "$RUNNER_TEMP/${PACKAGE_NAME}.tar.gz" # ============================================================ # 7. Installation package GDAL @@ -234,11 +204,9 @@ jobs: PACKAGE_NAME="gdal-${GDAL_VERSION}-sfcgal-2.2-geos-3.14.1-ubuntu-24.04" PACKAGE="$RUNNER_TEMP/${PACKAGE_NAME}.tar.gz" EXTRACT_DIR="$RUNNER_TEMP/gdal-extract" - echo "========================================" echo "INSTALLATION GDAL" echo "========================================" - # ======================================================== # Vérification du package # ======================================================== @@ -247,17 +215,12 @@ jobs: echo "$PACKAGE" exit 1 fi - # ======================================================== # Extraction # ======================================================== rm -rf "$EXTRACT_DIR" mkdir -p "$EXTRACT_DIR" - tar \ - -xzf \ - "$PACKAGE" \ - -C "$EXTRACT_DIR" - + tar -xzf "$PACKAGE" -C "$EXTRACT_DIR" # ======================================================== # Affichage STRUCTURE REELLE # ======================================================== @@ -265,11 +228,7 @@ jobs: echo "========================================" echo "STRUCTURE DU PACKAGE" echo "========================================" - find "$EXTRACT_DIR" \ - -maxdepth 6 \ - -print \ - | sort - + find "$EXTRACT_DIR" -maxdepth 6 -print | sort # ======================================================== # Répertoire racine # ======================================================== @@ -284,7 +243,6 @@ jobs: echo "" echo "GDAL_DIR :" echo "$GDAL_DIR" - # ======================================================== # Vérification structure attendue # ======================================================== @@ -300,35 +258,26 @@ jobs: echo "ERREUR : lib/ absent" exit 1 fi - # ======================================================== # Installation BIN # ======================================================== echo "" echo "Installation bin/..." - cp -av \ - "$GDAL_DIR/bin/." \ - "$CONDA_PREFIX/bin/" - + cp -av "$GDAL_DIR/bin/." "$CONDA_PREFIX/bin/" # ======================================================== # Installation LIB # ======================================================== echo "" echo "Installation lib/..." - cp -av \ - "$GDAL_DIR/lib/." \ - "$CONDA_PREFIX/lib/" + cp -av "$GDAL_DIR/lib/." "$CONDA_PREFIX/lib/" # ======================================================== # Installation SHARE # ======================================================== if [ -d "$GDAL_DIR/share" ]; then echo "" echo "Installation share/..." - cp -av \ - "$GDAL_DIR/share/." \ - "$CONDA_PREFIX/share/" + cp -av "$GDAL_DIR/share/." "$CONDA_PREFIX/share/" fi - # ======================================================== # Vérification GDAL # ======================================================== @@ -370,16 +319,11 @@ jobs: echo "Python GDAL :" python - <<'PY' from osgeo import gdal - print( - gdal.VersionInfo("--version") - ) + print(gdal.VersionInfo("--version")) print() - print( - gdal.VersionInfo("--build-info") - ) + print(gdal.VersionInfo("--build-info")) PY - # ============================================================ # 9. Vérification SFCGAL # ============================================================ @@ -404,11 +348,9 @@ jobs: python - <<'PY' from osgeo import ogr from osgeo import gdal - print("========================================") print("TEST SFCGAL") print("========================================") - print(gdal.VersionInfo("--version")) wkt = """ POLYHEDRALSURFACE Z ( @@ -457,11 +399,7 @@ jobs: echo "========================================" echo "SHP INPUT" echo "========================================" - find Outputs/SHP \ - -maxdepth 1 \ - -type f \ - -name "*.shp" \ - -print + find Outputs/SHP -maxdepth 1 -type f -name "*.shp" -print # ============================================================ # 13. Exécution pyThtoQgis @@ -516,7 +454,6 @@ jobs: uses: stefanzweifel/git-auto-commit-action@v7 env: COMMIT_DATE: ${{ steps.changed.outputs.commit_date }} - with: commit_message: "Auto-generate outputs from ScriptPython - ${{ env.COMMIT_DATE }}" commit_user_name: "github-actions[bot]" diff --git a/.github/workflows/build-gdal.yml b/.github/workflows/build-gdal.yml index c4ea660..e050405 100644 --- a/.github/workflows/build-gdal.yml +++ b/.github/workflows/build-gdal.yml @@ -1,45 +1,32 @@ name: Build GDAL + SFCGAL - on: workflow_dispatch: - permissions: contents: write - jobs: - build-gdal: - runs-on: ubuntu-24.04 - env: GDAL_VERSION: 3.13.3 SFCGAL_VERSION: 2.2 GEOS_VERSION: 3.14.1 PYTHON_VERSION: 3.12 - steps: - # ============================================================ # 1. Checkout # ============================================================ - - name: Checkout repository uses: actions/checkout@v6 with: fetch-depth: 0 - # ============================================================ # 2. Micromamba # ============================================================ - - name: Setup Micromamba uses: mamba-org/setup-micromamba@v3.2.1 with: - environment-name: pyThtoQgis - create-args: >- python=3.12 numpy @@ -57,90 +44,64 @@ jobs: cmake ninja pkg-config - init-shell: bash - cache-environment: true cache-downloads: true - # ============================================================ # 3. Informations environnement # ============================================================ - - name: Environment information shell: bash -el {0} run: | - echo "========================================" echo "ENVIRONMENT" echo "========================================" - echo "CONDA_PREFIX=$CONDA_PREFIX" - python --version - echo "" echo "Packages :" - conda list | grep -E \ "python|numpy|sfcgal|geos|proj|sqlite" - # ============================================================ # 4. Vérification SFCGAL # ============================================================ - - name: Check SFCGAL shell: bash -el {0} run: | - echo "========================================" echo "SFCGAL" echo "========================================" - sfcgal-config --version || true - find "$CONDA_PREFIX" \ \( -iname "*sfcgal*.so*" -o -iname "*SFCGAL*.so*" \) \ -print - # ============================================================ # 5. Téléchargement GDAL # ============================================================ - - name: Download GDAL shell: bash -el {0} run: | - set -e - cd "$RUNNER_TEMP" - git clone \ --depth 1 \ --branch "v${GDAL_VERSION}" \ https://github.com/OSGeo/gdal.git - cd gdal - mkdir build - cd build - # ============================================================ # 6. Configuration CMake # ============================================================ - - name: Configure GDAL shell: bash -el {0} working-directory: ${{ runner.temp }}/gdal/build run: | - set -e - cmake .. \ -GNinja \ -DCMAKE_BUILD_TYPE=Release \ @@ -158,105 +119,75 @@ jobs: -DGDAL_BUILD_OPTIONAL_DRIVERS=ON \ -DBUILD_PYTHON_BINDINGS=ON - # ============================================================ # 7. Compilation # ============================================================ - - name: Build GDAL shell: bash -el {0} working-directory: ${{ runner.temp }}/gdal/build run: | - set -e - echo "========================================" echo "BUILD GDAL" echo "========================================" - ninja -j"$(nproc)" - # ============================================================ # 8. Installation # ============================================================ - - name: Install GDAL shell: bash -el {0} working-directory: ${{ runner.temp }}/gdal/build run: | - set -e - ninja install - # ============================================================ # 9. Vérification GDAL # ============================================================ - - name: Check GDAL shell: bash -el {0} run: | - echo "========================================" echo "GDAL" echo "========================================" - gdalinfo --version - python - <<'PY' - from osgeo import gdal - print("GDAL Python:") print(gdal.VersionInfo("--version")) - print() print("Build info:") print(gdal.VersionInfo("--build-info")) - PY - # ============================================================ # 10. Vérification liaison SFCGAL # ============================================================ - - name: Check GDAL SFCGAL linkage shell: bash -el {0} run: | - echo "========================================" echo "GDAL / SFCGAL" echo "========================================" - echo "" echo "libgdal :" - ls -lh "$CONDA_PREFIX"/lib/libgdal.so* - - echo "" echo "Dépendances :" - ldd "$CONDA_PREFIX/lib/libgdal.so" \ | grep -Ei "sfcgal|geos" - # ============================================================ # 11. Test SFCGAL # ============================================================ - - name: Test SFCGAL via OGR shell: bash -el {0} run: | python -c ' from osgeo import ogr from osgeo import gdal - print("GDAL :", gdal.VersionInfo("--version")) - geom = ogr.CreateGeometryFromWkt(""" POLYHEDRALSURFACE Z ( ( @@ -268,139 +199,92 @@ jobs: ) ) """) - print("Type :", geom.GetGeometryName()) print("Geometry type :", geom.GetGeometryType()) print("Has Z :", ogr.GT_HasZ(geom.GetGeometryType())) print("IsValid() :", geom.IsValid()) - if geom is None: raise RuntimeError("Impossible de créer la géométrie 3D") - print("SFCGAL accessible par OGR : OK") ' # ============================================================ # 12. Création du package GDAL + SFCGAL # ============================================================ - - name: Create GDAL package shell: bash -el {0} run: | - set -e - PACKAGE_NAME="gdal-${GDAL_VERSION}-sfcgal-${SFCGAL_VERSION}-geos-${GEOS_VERSION}-ubuntu-24.04" - PACKAGE_DIR="$RUNNER_TEMP/$PACKAGE_NAME" - mkdir -p "$PACKAGE_DIR" - - echo "========================================" echo "Création du package" echo "========================================" - - # ======================================================== # Structure du package # ======================================================== - mkdir -p "$PACKAGE_DIR/bin" mkdir -p "$PACKAGE_DIR/lib" mkdir -p "$PACKAGE_DIR/lib/python3.12/site-packages" mkdir -p "$PACKAGE_DIR/share" - - # ======================================================== # GDAL executables # ======================================================== - echo "Copie des exécutables GDAL..." - find "$CONDA_PREFIX/bin" \ -maxdepth 1 \ -type f \ -name "gdal*" \ -exec cp -a {} "$PACKAGE_DIR/bin/" \; - - # ======================================================== # GDAL library # ======================================================== - echo "Copie de libgdal..." - cp -a \ "$CONDA_PREFIX"/lib/libgdal.so* \ "$PACKAGE_DIR/lib/" - - # ======================================================== # Python bindings # ======================================================== - echo "Copie des bindings Python..." - if [ ! -d "$CONDA_PREFIX/lib/python3.12/site-packages/osgeo" ]; then - echo "ERREUR : bindings Python osgeo absents" - find "$CONDA_PREFIX/lib" \ -maxdepth 4 \ -type d \ -name osgeo \ -print - exit 1 - fi - - cp -a \ "$CONDA_PREFIX/lib/python3.12/site-packages/osgeo" \ "$PACKAGE_DIR/lib/python3.12/site-packages/" - - # ======================================================== # GDAL data # ======================================================== - echo "Recherche des données GDAL..." - if [ -d "$CONDA_PREFIX/share/gdal" ]; then - cp -a \ "$CONDA_PREFIX/share/gdal" \ "$PACKAGE_DIR/share/" - else - echo "ATTENTION : share/gdal absent" - fi - - # ======================================================== # Bibliothèques SFCGAL # ======================================================== - echo "Copie des bibliothèques SFCGAL..." - find "$CONDA_PREFIX/lib" \ -maxdepth 1 \ \( \ -name "libSFCGAL.so*" \ \) \ -exec cp -a {} "$PACKAGE_DIR/lib/" \; - - # ======================================================== # Bibliothèques GEOS # ======================================================== - echo "Copie des bibliothèques GEOS..." - find "$CONDA_PREFIX/lib" \ -maxdepth 1 \ \( \ @@ -408,148 +292,99 @@ jobs: -o -name "libgeos_c.so*" \ \) \ -exec cp -a {} "$PACKAGE_DIR/lib/" \; - - # ======================================================== # Informations # ======================================================== - cat > "$PACKAGE_DIR/VERSION.txt" <> "$GITHUB_ENV" - - - - # ============================================================ # 13. Test du package # ============================================================ - - name: Test package shell: bash -el {0} run: | - set -e - cd "$RUNNER_TEMP" - mkdir test-package - tar \ -xzf \ "${PACKAGE_NAME}.tar.gz" \ -C test-package - echo "Package testé :" - find test-package \ -maxdepth 2 \ -type f | sort - - + # ============================================================ # 14. Publication Release # ============================================================ - - name: Publish GDAL package shell: bash env: GH_TOKEN: ${{ github.token }} run: | - set -e - TAG="gdal-sfcgal-${GDAL_VERSION}" - PACKAGE="${RUNNER_TEMP}/${PACKAGE_NAME}.tar.gz" - - echo "========================================" echo "Publication" echo "========================================" - echo "Tag : $TAG" echo "Package : $PACKAGE" - - # -------------------------------------------------------- # Suppression éventuelle de l'ancienne release # -------------------------------------------------------- - if gh release view "$TAG" >/dev/null 2>&1; then - echo "Release existante : suppression" - gh release delete "$TAG" \ --yes \ --cleanup-tag - fi - - # -------------------------------------------------------- # Création de la Release # -------------------------------------------------------- - gh release create "$TAG" \ "$PACKAGE" \ --title "GDAL ${GDAL_VERSION} + SFCGAL ${SFCGAL_VERSION}" \ diff --git a/Outputs/DB_Synthese-PSM_LARRA_Stats/DB_Synthese-PSM_LARRA_histo.pdf b/Outputs/DB_Synthese-PSM_LARRA_Stats/DB_Synthese-PSM_LARRA_histo.pdf index 79be1e7..6378e62 100644 Binary files a/Outputs/DB_Synthese-PSM_LARRA_Stats/DB_Synthese-PSM_LARRA_histo.pdf and b/Outputs/DB_Synthese-PSM_LARRA_Stats/DB_Synthese-PSM_LARRA_histo.pdf differ diff --git a/Outputs/DB_Synthese-PSM_LARRA_Stats/DB_Synthese-PSM_LARRA_log.log b/Outputs/DB_Synthese-PSM_LARRA_Stats/DB_Synthese-PSM_LARRA_log.log index 7fe1135..2804d7e 100644 --- a/Outputs/DB_Synthese-PSM_LARRA_Stats/DB_Synthese-PSM_LARRA_log.log +++ b/Outputs/DB_Synthese-PSM_LARRA_Stats/DB_Synthese-PSM_LARRA_log.log @@ -2052,3 +2052,82 @@ on 31934: 2026-10-20 09:02:19,500 - INFO - Jonction à la Station_ID: 25259 entr 2026-10-20 09:03:32,662 - INFO - Table des STATION entrée et fix, nbre: 200 2026-10-20 09:04:10,800 - INFO - Phase 5: Fin de traitement en 03 (m) 59 (s), résultats enregistrés dans ~/Outputs/DB_Synthese-PSM_LARRA_Stats/DB_Synthese-PSM_LARRA_stats 2026-10-20 09:04:10,801 - INFO - Execution terminée sans erreur en 03(m)59(s) +2026-10-20 16:52:24,119 - INFO - ╔════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗ +2026-10-20 16:52:24,120 - INFO - ║ Calcul des statistiques par entrées d'une BD Therion ║ +2026-10-20 16:52:24,120 - INFO - ║ Script pyThStat par : alexandre.pont@yahoo.fr ║ +2026-10-20 16:52:24,120 - INFO - ║ Version : 2026.10.18 ║ +2026-10-20 16:52:24,120 - INFO - ║ Fichier source : ~/Synthese-PSM_LARRA/Outputs/DB_Synthese-PSM_LARRA.sql ║ +2026-10-20 16:52:24,120 - INFO - ║ Dossier destination : ~/Synthese-PSM_LARRA/Outputs/DB_Synthese-PSM_LARRA_Stats ║ +2026-10-20 16:52:24,120 - INFO - ║ Date : 2026-10-20 16h52m24s ║ +2026-10-20 16:52:24,120 - INFO - ║ Mode : sync ║ +2026-10-20 16:52:24,120 - INFO - ╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝ +2026-10-20 16:52:24,120 - INFO - Phase 1: Importation de la base de données Therion ~/Synthese-PSM_LARRA/Outputs/DB_Synthese-PSM_LARRA.sql dans: ~/Outputs/DB_Synthese-PSM_LARRA_Stats/DB_Synthese-PSM_LARRA_stats.db +2026-10-20 16:52:25,022 - INFO - Phase 2: Création des nouvelles tables, indexation +2026-10-20 16:52:25,112 - INFO - Jonction de SHOT equates, nbre: 2579 +2026-10-20 16:53:02,057 - WARNING - Table des SHOT, visée(s) bloquante(s), même départ et arrivée, longueur nulle supprimée(s), nbre: 1685 +2026-10-20 16:53:02,494 - INFO - Table des SHOT, visées dupliquées traités, nbre: 19 +2026-10-20 16:53:02,561 - INFO - Création de l'index des tables principales et optimisation de la mémoire +2026-10-20 16:53:02,596 - INFO - Marquage des visées et des stations d'habillage, nbre: 19177 +2026-10-20 16:53:30,856 - INFO - Phase 3: Remplissage des tables d'après les 64361 entrée(s) +2026-10-20 16:53:30,858 - INFO - Table des STATION entrée et fix, nbre: 200 +2026-10-20 16:53:30,865 - INFO - Phase 4: Remplissage des tables d'après les séries vides jonctionnées aux 200 entrée(s) +on 1423: 2026-10-20 16:53:33,009 - INFO - Jonction à la Station_ID: 49521 entre les entrées 49727 et 49513 +on 2317: 2026-10-20 16:53:34,096 - INFO - Jonction à la Station_ID: 58848 entre les entrées 58868 et 58848 +on 2372: 2026-10-20 16:53:34,200 - INFO - Jonction à la Station_ID: 66039 entre les entrées 66147 et 66039 +on 2396: 2026-10-20 16:53:34,211 - INFO - Jonction à la Station_ID: 66044 entre les entrées 66059 et 66147 +on 2402: 2026-10-20 16:53:34,218 - INFO - Jonction à la Station_ID: 66506 entre les entrées 66516 et 66506 +on 2496: 2026-10-20 16:53:34,394 - INFO - Jonction à la Station_ID: 66429 entre les entrées 66448 et 66424 +on 3372: 2026-10-20 16:53:35,661 - INFO - Jonction à la Station_ID: 229 entre les entrées 218 et 834 +on 3411: 2026-10-20 16:53:35,750 - INFO - Jonction à la Station_ID: 3560 entre les entrées 3490 et 3560 +on 5190: 2026-10-20 16:53:37,996 - INFO - Jonction à la Station_ID: 3455 entre les entrées 3489 et 3446 +on 6446: 2026-10-20 16:53:40,567 - INFO - Jonction à la Station_ID: 3424 entre les entrées 3371 et 3446 +on 9279: 2026-10-20 16:53:45,929 - INFO - Jonction à la Station_ID: 3228 entre les entrées 3238 et 3277 +on 9715: 2026-10-20 16:53:46,836 - INFO - Jonction à la Station_ID: 48279 entre les entrées 49369 et 48290 +on 9743: 2026-10-20 16:53:47,098 - INFO - Jonction à la Station_ID: 50027 entre les entrées 49369 et 49992 +on 10398: 2026-10-20 16:53:47,965 - INFO - Jonction à la Station_ID: 40144 entre les entrées 38326 et 39665 +on 12691: 2026-10-20 16:53:51,099 - INFO - Jonction à la Station_ID: 47582 entre les entrées 48290 et 47546 +on 13166: 2026-10-20 16:53:51,891 - INFO - Jonction à la Station_ID: 9039 entre les entrées 10900 et 8903 +on 15628: 2026-10-20 16:53:56,320 - INFO - Jonction à la Station_ID: 12057 entre les entrées 10900 et 12985 +on 16833: 2026-10-20 16:53:58,946 - INFO - Jonction à la Station_ID: 9335 entre les entrées 14850 et 10900 +on 16833: 2026-10-20 16:53:58,947 - INFO - Jonction à la Station_ID: 9335 entre les entrées 14850 et 10900 +on 16887: 2026-10-20 16:53:59,057 - INFO - Jonction à la Station_ID: 9545 entre les entrées 9882 et 9364 +on 17902: 2026-10-20 16:54:01,719 - INFO - Jonction à la Station_ID: 12775 entre les entrées 10900 et 14850 +on 17903: 2026-10-20 16:54:01,726 - INFO - Jonction à la Station_ID: 9336 entre les entrées 10900 et 14850 +on 17903: 2026-10-20 16:54:01,730 - INFO - Jonction à la Station_ID: 12775 entre les entrées 10900 et 14850 +on 19044: 2026-10-20 16:54:03,023 - INFO - Jonction à la Station_ID: 12769 entre les entrées 14850 et 9364 +on 19118: 2026-10-20 16:54:03,165 - INFO - Jonction à la Station_ID: 17220 entre les entrées 16772 et 10900 +on 21191: 2026-10-20 16:54:06,597 - INFO - Jonction à la Station_ID: 15568 entre les entrées 8903 et 9364 +on 21677: 2026-10-20 16:54:07,864 - INFO - Jonction à la Station_ID: 47263 entre les entrées 49369 et 49275 +on 23132: 2026-10-20 16:54:12,559 - INFO - Jonction à la Station_ID: 15609 entre les entrées 9364 et 8903 +on 23213: 2026-10-20 16:54:12,679 - INFO - Jonction à la Station_ID: 15555 entre les entrées 8903 et 9364 +on 23218: 2026-10-20 16:54:12,683 - INFO - Jonction à la Station_ID: 9475 entre les entrées 8903 et 14850 +on 23220: 2026-10-20 16:54:12,698 - INFO - Jonction à la Station_ID: 9832 entre les entrées 14850 et 11336 +on 25053: 2026-10-20 16:54:15,192 - INFO - Jonction à la Station_ID: 16240 entre les entrées 15663 et 14850 +on 25775: 2026-10-20 16:54:17,449 - INFO - Jonction à la Station_ID: 16257 entre les entrées 10900 et 14850 +on 26060: 2026-10-20 16:54:18,359 - INFO - Jonction à la Station_ID: 50452 entre les entrées 51098 et 50319 +on 28407: 2026-10-20 16:54:23,229 - INFO - Jonction à la Station_ID: 9520 entre les entrées 16787 et 9364 +on 28576: 2026-10-20 16:54:23,690 - INFO - Jonction à la Station_ID: 44848 entre les entrées 49727 et 43814 +on 29987: 2026-10-20 16:54:25,986 - INFO - Jonction à la Station_ID: 45000 entre les entrées 48290 et 49727 +on 31041: 2026-10-20 16:54:28,314 - INFO - Jonction à la Station_ID: 16481 entre les entrées 15663 et 10900 +on 31519: 2026-10-20 16:54:29,243 - INFO - Jonction à la Station_ID: 17451 entre les entrées 19536 et 17665 +on 31934: 2026-10-20 16:54:29,639 - INFO - Jonction à la Station_ID: 25259 entre les entrées 27452 et 24727 +2026-10-20 16:54:49,543 - INFO - Intégrations des visées orphelines (entre 2 stations existantes), nbre: 347 +2026-10-20 16:54:49,915 - INFO - Réseau: 1, entrées jonctionnées: 10, [11336, 14850, 8903, 9364, 10900, 15663, 9882, 16787, 12985, 16772] +2026-10-20 16:54:49,937 - INFO - Réseau: 2, entrées jonctionnées: 2, [3277, 3238] +2026-10-20 16:54:50,024 - INFO - Réseau: 3, entrées jonctionnées: 8, [43814, 49727, 48290, 49513, 47546, 49369, 49275, 49992] +2026-10-20 16:54:50,074 - INFO - Réseau: 4, entrées jonctionnées: 3, [3371, 3446, 3489] +2026-10-20 16:54:50,096 - INFO - Réseau: 5, entrées jonctionnées: 2, [58868, 58848] +2026-10-20 16:54:50,118 - INFO - Réseau: 6, entrées jonctionnées: 2, [3490, 3560] +2026-10-20 16:54:50,148 - INFO - Réseau: 7, entrées jonctionnées: 2, [24727, 27452] +2026-10-20 16:54:50,171 - INFO - Réseau: 8, entrées jonctionnées: 2, [834, 218] +2026-10-20 16:54:50,193 - INFO - Réseau: 9, entrées jonctionnées: 2, [66516, 66506] +2026-10-20 16:54:50,223 - INFO - Réseau: 10, entrées jonctionnées: 3, [66147, 66039, 66059] +2026-10-20 16:54:50,244 - INFO - Réseau: 11, entrées jonctionnées: 2, [66424, 66448] +2026-10-20 16:54:50,266 - INFO - Réseau: 12, entrées jonctionnées: 2, [38326, 39665] +2026-10-20 16:54:50,289 - INFO - Réseau: 13, entrées jonctionnées: 2, [50319, 51098] +2026-10-20 16:54:50,318 - INFO - Réseau: 14, entrées jonctionnées: 2, [17665, 19536] +2026-10-20 16:54:50,489 - INFO - Phase 5: Écriture des statistiques dans le fichier: ~/Synthese-PSM_LARRA/Outputs/readme +2026-10-20 16:54:50,490 - INFO - Table des CENTRELINE, longueur: [(340527.49, 15625.25, 8956.61)] +2026-10-20 16:55:32,944 - INFO - Table des STATION entrée et fix, nbre: 200 +2026-10-20 16:56:04,539 - INFO - Phase 5: Fin de traitement en 03 (m) 40 (s), résultats enregistrés dans ~/Outputs/DB_Synthese-PSM_LARRA_Stats/DB_Synthese-PSM_LARRA_stats +2026-10-20 16:56:04,539 - INFO - Execution terminée sans erreur en 03(m)40(s) diff --git a/Outputs/DB_Synthese-PSM_LARRA_Stats/DB_Synthese-PSM_LARRA_rose.pdf b/Outputs/DB_Synthese-PSM_LARRA_Stats/DB_Synthese-PSM_LARRA_rose.pdf index 547b54c..4feb163 100644 Binary files a/Outputs/DB_Synthese-PSM_LARRA_Stats/DB_Synthese-PSM_LARRA_rose.pdf and b/Outputs/DB_Synthese-PSM_LARRA_Stats/DB_Synthese-PSM_LARRA_rose.pdf differ diff --git a/Outputs/DB_Synthese-PSM_LARRA_Stats/DB_Synthese-PSM_LARRA_stats.csv b/Outputs/DB_Synthese-PSM_LARRA_Stats/DB_Synthese-PSM_LARRA_stats.csv index 929d248..f833269 100644 --- a/Outputs/DB_Synthese-PSM_LARRA_Stats/DB_Synthese-PSM_LARRA_stats.csv +++ b/Outputs/DB_Synthese-PSM_LARRA_Stats/DB_Synthese-PSM_LARRA_stats.csv @@ -4,8 +4,8 @@ ║ Version : 2026.10.18 * ║ Fichier source : ~/Synthese-PSM_LARRA/Outputs/DB_Synthese-PSM_LARRA.sql * ║ Dossier destination : ~/Synthese-PSM_LARRA/Outputs/DB_Synthese-PSM_LARRA_Stats * -║ Date : 2026-10-20 09h00m11s * -* Durée calcul : 03 (m) 59 (s) sans erreur * +║ Date : 2026-10-20 16h52m24s * +* Durée calcul : 03 (m) 40 (s) sans erreur * ╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝* **Développement total centerline (m):** développement: 340527.49 , dupliqué: 15625.25 , surface: 8956.61 Toutes les stations sont comptabilisées et raccordées @@ -68,7 +68,7 @@ Développement total par réseaux Z106 1 503.29 241.69 0.00 0.00 86 - 1383.31 FL386.160 1625.00 Laminako ziloa 1 479.60 120.00 0.00 0.00 52 ILLA13B 318.00 ILLAMI 438.00 Grotte de la cascade 1 474.60 23.51 0.00 0.00 63 CAS_d_1/63 539.66 LAC_d_RD 563.17 - F2 Cuisse de jupiter 1 464.88 294.26 0.00 0.00 49 GDP1050/9 1687.74 M_13 1982.00 + F2 Cuisse de Jupiter 1 464.88 294.26 0.00 0.00 49 GDP1050/9 1687.74 M_13 1982.00 AN109 1 436.21 253.70 0.00 0.00 73 QO2_13 1860.30 AN109 2114.00 Sima de los Burros AN702 Sima de los burros, AN704 2 426.96 216.55 17.01 0.00 80 MHX33 1766.73 CX15 1983.28 E22 1 410.70 312.59 0.00 0.00 43 E22_d_38 1948.41 E22_00 2261.00 @@ -87,7 +87,7 @@ Développement total par réseaux AN73 Gouffre des Grands Frissons 1 248.35 210.40 0.00 38.50 23 ESF1 1861.60 AN73 2072.00 Arphidia 1 243.24 68.25 0.00 0.00 33 ARP100/33 985.75 ROBINET 1054.00 AN107 1 242.97 161.77 0.00 14.50 48 AH6X 1963.23 AN107 2125.00 - ERE80 1 240.75 158.68 0.00 0.00 18 LIN_d_1/10 1697.32 ERE_80 1856.00 + ERE80 Sima de Linza 1 240.75 158.68 0.00 0.00 18 LIN_d_1/10 1697.32 ERE_80 1856.00 BB26 1 227.19 71.56 62.66 4.80 71 32d 1448.44 LT345_79DD 1520.00 AN61 Sima de la confusion 1 224.45 139.93 0.00 2.78 44 XA40 2076.57 AN61 2216.50 E3 TSR3 1 220.56 120.89 0.00 0.00 40 F.44 1809.11 E3_TSR3 1930.00 @@ -113,7 +113,7 @@ Développement total par réseaux AN619 Trou fion 1 122.42 65.84 0.00 0.00 19 QD11 1967.42 QD2 2033.26 AN672 Sima Groselleros 1 116.60 79.29 0.00 0.00 27 RO4 1883.71 AN672 1963.00 AN567 1 112.67 75.18 0.00 0.00 17 FH1 2069.82 A_4 2145.00 - F404 Cuisse de truffin 1 110.42 70.79 0.00 0.00 12 F404_d_2/3 1919.21 LT346_80UH 1990.00 + F404 Cuisse de Truffin 1 110.42 70.79 0.00 0.00 12 F404_d_2/3 1919.21 LT346_80UH 1990.00 AN683 Sima papanatas 1 110.10 67.33 0.00 0.00 14 CK12 2082.67 AN542 2150.00 AN561 1 109.01 88.93 0.00 0.00 17 AX18 2137.07 AN561 2226.00 M108 1 106.39 80.56 0.00 0.00 17 M108_d_1/15 1949.44 M_108 2030.00 diff --git a/Outputs/DB_Synthese-PSM_LARRA_Stats/DB_Synthese-PSM_LARRA_stats.db b/Outputs/DB_Synthese-PSM_LARRA_Stats/DB_Synthese-PSM_LARRA_stats.db index d567a81..56f9173 100644 Binary files a/Outputs/DB_Synthese-PSM_LARRA_Stats/DB_Synthese-PSM_LARRA_stats.db and b/Outputs/DB_Synthese-PSM_LARRA_Stats/DB_Synthese-PSM_LARRA_stats.db differ diff --git a/Outputs/DB_Synthese-PSM_LARRA_Stats/DB_Synthese-PSM_LARRA_year.pdf b/Outputs/DB_Synthese-PSM_LARRA_Stats/DB_Synthese-PSM_LARRA_year.pdf index e4dd62c..b2bf29e 100644 Binary files a/Outputs/DB_Synthese-PSM_LARRA_Stats/DB_Synthese-PSM_LARRA_year.pdf and b/Outputs/DB_Synthese-PSM_LARRA_Stats/DB_Synthese-PSM_LARRA_year.pdf differ diff --git a/Outputs/DB_Synthese-PSM_LARRA_Stats/DB_Synthese-PSM_LARRA_yearCum.pdf b/Outputs/DB_Synthese-PSM_LARRA_Stats/DB_Synthese-PSM_LARRA_yearCum.pdf index 357869d..63ade8e 100644 Binary files a/Outputs/DB_Synthese-PSM_LARRA_Stats/DB_Synthese-PSM_LARRA_yearCum.pdf and b/Outputs/DB_Synthese-PSM_LARRA_Stats/DB_Synthese-PSM_LARRA_yearCum.pdf differ diff --git a/Outputs/SHP/QGis_GPKG_Files/areas2dMasked.gpkg b/Outputs/SHP/QGis_GPKG_Files/areas2dMasked.gpkg index 829f11f..2ed79d6 100644 Binary files a/Outputs/SHP/QGis_GPKG_Files/areas2dMasked.gpkg and b/Outputs/SHP/QGis_GPKG_Files/areas2dMasked.gpkg differ diff --git a/Outputs/SHP/QGis_GPKG_Files/lines2dMasked.gpkg b/Outputs/SHP/QGis_GPKG_Files/lines2dMasked.gpkg index 76e98e7..b0f3e03 100644 Binary files a/Outputs/SHP/QGis_GPKG_Files/lines2dMasked.gpkg and b/Outputs/SHP/QGis_GPKG_Files/lines2dMasked.gpkg differ diff --git a/Outputs/SHP/QGis_GPKG_Files/outline2d.gpkg b/Outputs/SHP/QGis_GPKG_Files/outline2d.gpkg index 1f57925..378af43 100644 Binary files a/Outputs/SHP/QGis_GPKG_Files/outline2d.gpkg and b/Outputs/SHP/QGis_GPKG_Files/outline2d.gpkg differ diff --git a/Outputs/SHP/QGis_GPKG_Files/points2d.gpkg b/Outputs/SHP/QGis_GPKG_Files/points2d.gpkg index 76acf13..ac4f950 100644 Binary files a/Outputs/SHP/QGis_GPKG_Files/points2d.gpkg and b/Outputs/SHP/QGis_GPKG_Files/points2d.gpkg differ diff --git a/Outputs/SHP/QGis_GPKG_Files/pyThtoQgis.log b/Outputs/SHP/QGis_GPKG_Files/pyThtoQgis.log index 64c4a4e..8e8ef51 100644 --- a/Outputs/SHP/QGis_GPKG_Files/pyThtoQgis.log +++ b/Outputs/SHP/QGis_GPKG_Files/pyThtoQgis.log @@ -1265,3 +1265,101 @@ on 21942: 2026-10-20 09:00:01,200 - WARNING - Any intersection issue, attributes 2026-10-20 09:00:10,079 - INFO - ========================================================================================================= 2026-10-20 09:00:10,079 - INFO - Execution completed without errors in 82.95 s 2026-10-20 09:00:10,079 - INFO - ========================================================================================================= +2026-10-20 16:51:28,764 - INFO - ********************************************************************************************************* +2026-10-20 16:51:28,764 - INFO - Script to generate QGis (.gpkg) files from Therion (.shp) files with auto-correction if possible +2026-10-20 16:51:28,764 - INFO - original written by X. Robert, ISTerre : October 2022 +2026-10-20 16:51:28,764 - INFO - updated by : alexandre.pont@yahoo.fr +2026-10-20 16:51:28,764 - INFO - version : 2026.08.31 +2026-10-20 16:51:28,764 - INFO - commande line mode +2026-10-20 16:51:28,764 - INFO - input folder : ~/Synthese-PSM_LARRA/Outputs/SHP +2026-10-20 16:51:28,764 - INFO - output folder : ~/Outputs/SHP/QGis_GPKG_Files +2026-10-20 16:51:28,765 - INFO - log file : ~/SHP/QGis_GPKG_Files/pyThtoQgis.log +2026-10-20 16:51:28,765 - INFO - ********************************************************************************************************* +2026-10-20 16:51:28,765 - INFO - Step 1: test files and convert to GPKG format in the folder: ~/Outputs/SHP/QGis_GPKG_Files +2026-10-20 16:51:28,765 - INFO - Working with file (1/7): points2d.shp +2026-10-20 16:51:28,765 - INFO - ==================== BILAN FILE: ~/Outputs/SHP/points2d.shp =================================== +2026-10-20 16:51:30,456 - INFO - Géométries invalides : 0 sur 16451 +2026-10-20 16:51:30,460 - INFO - ========================================================================================================= +2026-10-20 16:51:30,461 - INFO - SHP file conversion : points2d.shp with 16451 objets +2026-10-20 16:51:32,212 - INFO - Conversion GPKG terminée fichier : points2d, 16451 objets convertis +2026-10-20 16:51:32,212 - INFO - Working with file (2/7): lines2d.shp +2026-10-20 16:51:32,213 - INFO - ==================== BILAN FILE: ~/Outputs/SHP/lines2d.shp =================================== +2026-10-20 16:51:34,136 - WARNING - Géométries invalides : 1075 sur 35186 +2026-10-20 16:51:34,136 - WARNING - Too few points : 1075 +2026-10-20 16:51:34,138 - INFO - ========================================================================================================= +2026-10-20 16:51:34,140 - INFO - SHP file conversion : lines2d.shp with 35186 objets +2026-10-20 16:51:36,519 - INFO - Conversion GPKG terminée fichier : lines2d_fixed, 35186 objets convertis +2026-10-20 16:51:36,519 - INFO - ==================== BILAN FILE: ~/SHP/QGis_GPKG_Files/lines2d_fixed.gpkg =================================== +2026-10-20 16:51:36,521 - WARNING - Erreur lecture feature FID 0 : GetFeature() retourne None +2026-10-20 16:51:38,768 - INFO - Géométries invalides : 0 sur 35185 +2026-10-20 16:51:38,771 - INFO - ========================================================================================================= +2026-10-20 16:51:38,773 - INFO - Working with file (3/7): outline2d.shp +2026-10-20 16:51:38,773 - INFO - ==================== BILAN FILE: ~/Outputs/SHP/outline2d.shp =================================== +2026-10-20 16:51:38,859 - WARNING - Géométries invalides : 313 sur 479 +2026-10-20 16:51:38,859 - WARNING - Unknown (1) : 313 +2026-10-20 16:51:38,859 - INFO - ========================================================================================================= +2026-10-20 16:51:38,859 - INFO - SHP file conversion : outline2d.shp with 479 objets +2026-10-20 16:51:38,982 - INFO - Conversion GPKG terminée fichier : outline2d, 479 objets convertis +2026-10-20 16:51:38,983 - INFO - ==================== BILAN FILE: ~/SHP/QGis_GPKG_Files/outline2d.gpkg =================================== +2026-10-20 16:51:38,984 - WARNING - Erreur lecture feature FID 0 : GetFeature() retourne None +2026-10-20 16:51:39,050 - INFO - Géométries invalides : 0 sur 478 +2026-10-20 16:51:39,051 - INFO - ========================================================================================================= +2026-10-20 16:51:39,051 - INFO - Working with file (4/7): areas2d.shp +2026-10-20 16:51:39,051 - INFO - ==================== BILAN FILE: ~/Outputs/SHP/areas2d.shp =================================== +2026-10-20 16:51:39,087 - INFO - Géométries invalides : 0 sur 499 +2026-10-20 16:51:39,088 - INFO - ========================================================================================================= +2026-10-20 16:51:39,088 - INFO - SHP file conversion : areas2d.shp with 499 objets +2026-10-20 16:51:39,142 - INFO - Conversion GPKG terminée fichier : areas2d_fixed, 499 objets convertis +2026-10-20 16:51:39,142 - INFO - Working with file (5/7): walls3d.shp +2026-10-20 16:51:39,142 - INFO - ==================== BILAN FILE: ~/Outputs/SHP/walls3d.shp =================================== +2026-10-20 16:51:41,167 - WARNING - Géométries invalides : 486 sur 486 +2026-10-20 16:51:41,168 - WARNING - Not supported : 486 +2026-10-20 16:51:41,168 - INFO - ========================================================================================================= +2026-10-20 16:51:41,168 - INFO - SHP file conversion : walls3d.shp with 486 objets +2026-10-20 16:51:46,423 - INFO - Conversion GPKG terminée fichier : walls3d, 486 objets convertis +2026-10-20 16:51:46,423 - INFO - ==================== BILAN FILE: ~/SHP/QGis_GPKG_Files/walls3d.gpkg =================================== +2026-10-20 16:51:46,425 - WARNING - Erreur lecture feature FID 0 : GetFeature() retourne None +2026-10-20 16:51:46,619 - INFO - Géométries invalides : 0 sur 485 +2026-10-20 16:51:46,619 - INFO - ========================================================================================================= +2026-10-20 16:51:46,619 - INFO - Working with file (6/7): stations3d.shp +2026-10-20 16:51:46,620 - INFO - ==================== BILAN FILE: ~/Outputs/SHP/stations3d.shp =================================== +2026-10-20 16:51:51,551 - INFO - Géométries invalides : 0 sur 67580 +2026-10-20 16:51:51,561 - INFO - ========================================================================================================= +2026-10-20 16:51:51,563 - INFO - SHP file conversion : stations3d.shp with 67580 objets +2026-10-20 16:51:56,940 - INFO - Conversion GPKG terminée fichier : stations3d, 67580 objets convertis +2026-10-20 16:51:56,940 - INFO - Working with file (7/7): shots3d.shp +2026-10-20 16:51:56,940 - INFO - ==================== BILAN FILE: ~/Outputs/SHP/shots3d.shp =================================== +2026-10-20 16:52:01,155 - WARNING - Géométries invalides : 4325 sur 66046 +2026-10-20 16:52:01,155 - WARNING - Too few points : 4325 +2026-10-20 16:52:01,161 - INFO - ========================================================================================================= +2026-10-20 16:52:01,164 - INFO - SHP file conversion : shots3d.shp with 66046 objets +2026-10-20 16:52:06,335 - INFO - Conversion GPKG terminée fichier : shots3d, 66046 objets convertis +2026-10-20 16:52:06,336 - INFO - ==================== BILAN FILE: ~/SHP/QGis_GPKG_Files/shots3d.gpkg =================================== +2026-10-20 16:52:06,337 - WARNING - Erreur lecture feature FID 0 : GetFeature() retourne None +2026-10-20 16:52:11,121 - INFO - Géométries invalides : 0 sur 66045 +2026-10-20 16:52:11,128 - INFO - ========================================================================================================= +2026-10-20 16:52:11,130 - INFO - Step 2: adapte drawing files (cut it) for QGis in the folder: ~/Outputs/SHP/QGis_GPKG_Files +2026-10-20 16:52:11,130 - INFO - Clipping file : ~/SHP/QGis_GPKG_Files/lines2d_fixed.gpkg to file : ~/SHP/QGis_GPKG_Files/lines2dMasked.gpkg +on 100: 2026-10-20 16:52:11,209 - WARNING - Any intersection issue, attributes: _SCRAP_ID=3074, _TYPE=rock-edge, _SCRAP=BB26_meandre_entree, _CLIP=on, _TAGS=6144, _SUBTYPE=None, _SCALE=4, _TEXT=None +on 1413: 2026-10-20 16:52:11,550 - WARNING - Any intersection issue, attributes: _SCRAP_ID=73158, _TYPE=border, _SCRAP=SP-Explo_01_2009_08_04_01, _CLIP=on, _TAGS=6144, _SUBTYPE=visible, _SCALE=4, _TEXT=None +on 4857: 2026-10-20 16:52:12,359 - WARNING - Any intersection issue, attributes: _SCRAP_ID=4296, _TYPE=fault, _SCRAP=SP-Explo_01_2013_10_09_02, _CLIP=on, _TAGS=6144, _SUBTYPE=None, _SCALE=4, _TEXT=None +on 4858: 2026-10-20 16:52:12,359 - WARNING - Any intersection issue, attributes: _SCRAP_ID=4296, _TYPE=fault, _SCRAP=SP-Explo_01_2013_10_09_02, _CLIP=on, _TAGS=6144, _SUBTYPE=None, _SCALE=4, _TEXT=None +on 8708: 2026-10-20 16:52:13,454 - WARNING - Any intersection issue, attributes: _SCRAP_ID=33269, _TYPE=rock-border, _SCRAP=SP-AP7_Aval_02, _CLIP=on, _TAGS=6144, _SUBTYPE=None, _SCALE=4, _TEXT=None +on 9122: 2026-10-20 16:52:13,588 - WARNING - Any intersection issue, attributes: _SCRAP_ID=33116, _TYPE=contour, _SCRAP=SP-AP7_Aval_01, _CLIP=on, _TAGS=6144, _SUBTYPE=None, _SCALE=4, _TEXT=None +on 10709: 2026-10-20 16:52:14,043 - WARNING - Any intersection issue, attributes: _SCRAP_ID=38952, _TYPE=pit, _SCRAP=SP-B3_Aval_02E, _CLIP=on, _TAGS=6144, _SUBTYPE=None, _SCALE=4, _TEXT=None +on 13287: 2026-10-20 16:52:14,717 - WARNING - Any intersection issue, attributes: _SCRAP_ID=41326, _TYPE=rock-border, _SCRAP=SP-GL102_Aval_01B, _CLIP=on, _TAGS=6144, _SUBTYPE=None, _SCALE=4, _TEXT=None +on 22199: 2026-10-20 16:52:17,164 - WARNING - Any intersection issue, attributes: _SCRAP_ID=58949, _TYPE=border, _SCRAP=SP-Explo_12_1982_08_05_01, _CLIP=on, _TAGS=6144, _SUBTYPE=invisible, _SCALE=4, _TEXT=None +2026-10-20 16:52:20,682 - INFO - ==================== BILAN FILE: ~/SHP/QGis_GPKG_Files/lines2dMasked.gpkg =================================== +2026-10-20 16:52:20,684 - WARNING - Erreur lecture feature FID 0 : GetFeature() retourne None +2026-10-20 16:52:22,925 - INFO - Géométries invalides : 0 sur 35176 +2026-10-20 16:52:22,928 - INFO - ========================================================================================================= +2026-10-20 16:52:22,930 - WARNING - 10 deleted geometries need to be verified in lines2dMasked.gpkg file +2026-10-20 16:52:22,935 - INFO - Clipping file : ~/SHP/QGis_GPKG_Files/areas2d_fixed.gpkg to file : ~/SHP/QGis_GPKG_Files/areas2dMasked.gpkg +2026-10-20 16:52:23,312 - INFO - ==================== BILAN FILE: ~/SHP/QGis_GPKG_Files/areas2dMasked.gpkg =================================== +2026-10-20 16:52:23,313 - WARNING - Erreur lecture feature FID 0 : GetFeature() retourne None +2026-10-20 16:52:23,356 - INFO - Géométries invalides : 0 sur 498 +2026-10-20 16:52:23,356 - INFO - ========================================================================================================= +2026-10-20 16:52:23,357 - WARNING - 1 Deleted geometries need to be verified in areas2d_fixed.gpkg file +2026-10-20 16:52:23,358 - INFO - ========================================================================================================= +2026-10-20 16:52:23,358 - INFO - Execution completed without errors in 54.60 s +2026-10-20 16:52:23,358 - INFO - ========================================================================================================= diff --git a/Outputs/SHP/QGis_GPKG_Files/shots3d.gpkg b/Outputs/SHP/QGis_GPKG_Files/shots3d.gpkg index d3bf05c..80c6934 100644 Binary files a/Outputs/SHP/QGis_GPKG_Files/shots3d.gpkg and b/Outputs/SHP/QGis_GPKG_Files/shots3d.gpkg differ diff --git a/Outputs/SHP/QGis_GPKG_Files/stations3d.gpkg b/Outputs/SHP/QGis_GPKG_Files/stations3d.gpkg index b135e94..2a1d840 100644 Binary files a/Outputs/SHP/QGis_GPKG_Files/stations3d.gpkg and b/Outputs/SHP/QGis_GPKG_Files/stations3d.gpkg differ diff --git a/Outputs/SHP/QGis_GPKG_Files/walls3d.gpkg b/Outputs/SHP/QGis_GPKG_Files/walls3d.gpkg index 9201199..d6cd399 100644 Binary files a/Outputs/SHP/QGis_GPKG_Files/walls3d.gpkg and b/Outputs/SHP/QGis_GPKG_Files/walls3d.gpkg differ diff --git a/Outputs/readme.md b/Outputs/readme.md index d0d4f09..7943d7d 100644 --- a/Outputs/readme.md +++ b/Outputs/readme.md @@ -71,7 +71,7 @@ Toutes les stations sont comptabilisées et raccordées | | Z106 | 1 | 503,29 | 241,69 | 0,00 | 0,00 | 86 | - | 1 383,31 | FL386.160 | 1 625,00 | | | Laminako ziloa | 1 | 479,60 | 120,00 | 0,00 | 0,00 | 52 | ILLA13B | 318,00 | ILLAMI | 438,00 | | | Grotte de la cascade | 1 | 474,60 | 23,51 | 0,00 | 0,00 | 63 | CAS_d_1/63 | 539,66 | LAC_d_RD | 563,17 | -| | F2 Cuisse de jupiter | 1 | 464,88 | 294,26 | 0,00 | 0,00 | 49 | GDP1050/9 | 1 687,74 | M_13 | 1 982,00 | +| | F2 Cuisse de Jupiter | 1 | 464,88 | 294,26 | 0,00 | 0,00 | 49 | GDP1050/9 | 1 687,74 | M_13 | 1 982,00 | | | AN109 | 1 | 436,21 | 253,70 | 0,00 | 0,00 | 73 | QO2_13 | 1 860,30 | AN109 | 2 114,00 | | Sima de los Burros | AN702 Sima de los burros, AN704 | 2 | 426,96 | 216,55 | 17,01 | 0,00 | 80 | MHX33 | 1 766,73 | CX15 | 1 983,28 | | | E22 | 1 | 410,70 | 312,59 | 0,00 | 0,00 | 43 | E22_d_38 | 1 948,41 | E22_00 | 2 261,00 | @@ -90,7 +90,7 @@ Toutes les stations sont comptabilisées et raccordées | | AN73 Gouffre des Grands Frissons | 1 | 248,35 | 210,40 | 0,00 | 38,50 | 23 | ESF1 | 1 861,60 | AN73 | 2 072,00 | | | Arphidia | 1 | 243,24 | 68,25 | 0,00 | 0,00 | 33 | ARP100/33 | 985,75 | ROBINET | 1 054,00 | | | AN107 | 1 | 242,97 | 161,77 | 0,00 | 14,50 | 48 | AH6X | 1 963,23 | AN107 | 2 125,00 | -| | ERE80 | 1 | 240,75 | 158,68 | 0,00 | 0,00 | 18 | LIN_d_1/10 | 1 697,32 | ERE_80 | 1 856,00 | +| | ERE80 Sima de Linza | 1 | 240,75 | 158,68 | 0,00 | 0,00 | 18 | LIN_d_1/10 | 1 697,32 | ERE_80 | 1 856,00 | | | BB26 | 1 | 227,19 | 71,56 | 62,66 | 4,80 | 71 | 32d | 1 448,44 | LT345_79DD | 1 520,00 | | | AN61 Sima de la confusion | 1 | 224,45 | 139,93 | 0,00 | 2,78 | 44 | XA40 | 2 076,57 | AN61 | 2 216,50 | | | E3 TSR3 | 1 | 220,56 | 120,89 | 0,00 | 0,00 | 40 | F.44 | 1 809,11 | E3_TSR3 | 1 930,00 | @@ -116,7 +116,7 @@ Toutes les stations sont comptabilisées et raccordées | | AN619 Trou fion | 1 | 122,42 | 65,84 | 0,00 | 0,00 | 19 | QD11 | 1 967,42 | QD2 | 2 033,26 | | | AN672 Sima Groselleros | 1 | 116,60 | 79,29 | 0,00 | 0,00 | 27 | RO4 | 1 883,71 | AN672 | 1 963,00 | | | AN567 | 1 | 112,67 | 75,18 | 0,00 | 0,00 | 17 | FH1 | 2 069,82 | A_4 | 2 145,00 | -| | F404 Cuisse de truffin | 1 | 110,42 | 70,79 | 0,00 | 0,00 | 12 | F404_d_2/3 | 1 919,21 | LT346_80UH | 1 990,00 | +| | F404 Cuisse de Truffin | 1 | 110,42 | 70,79 | 0,00 | 0,00 | 12 | F404_d_2/3 | 1 919,21 | LT346_80UH | 1 990,00 | | | AN683 Sima papanatas | 1 | 110,10 | 67,33 | 0,00 | 0,00 | 14 | CK12 | 2 082,67 | AN542 | 2 150,00 | | | AN561 | 1 | 109,01 | 88,93 | 0,00 | 0,00 | 17 | AX18 | 2 137,07 | AN561 | 2 226,00 | | | M108 | 1 | 106,39 | 80,56 | 0,00 | 0,00 | 17 | M108_d_1/15 | 1 949,44 | M_108 | 2 030,00 | @@ -255,7 +255,7 @@ Toutes les stations sont comptabilisées et raccordées | Version | 2026.10.18 | | Fichier source | ~/Synthese-PSM_LARRA/Outputs/DB_Synthese-PSM_LARRA.sql | | Dossier destination | ~/Synthese-PSM_LARRA/Outputs/DB_Synthese-PSM_LARRA_Stats | -| Date | 2026-10-20 09h00m11s | -| Durée calcul |03 (m) 59 (s) sans erreur | +| Date | 2026-10-20 16h52m24s | +| Durée calcul |03 (m) 40 (s) sans erreur | -------------- diff --git a/Scripts/pyThStat/Lib/__pycache__/general_fonctions.cpython-312.pyc b/Scripts/pyThStat/Lib/__pycache__/general_fonctions.cpython-312.pyc index 17f7aab..a0c5dee 100644 Binary files a/Scripts/pyThStat/Lib/__pycache__/general_fonctions.cpython-312.pyc and b/Scripts/pyThStat/Lib/__pycache__/general_fonctions.cpython-312.pyc differ diff --git a/Scripts/pyThStat/Lib/__pycache__/global_data.cpython-312.pyc b/Scripts/pyThStat/Lib/__pycache__/global_data.cpython-312.pyc index 7c13619..5b37eaf 100644 Binary files a/Scripts/pyThStat/Lib/__pycache__/global_data.cpython-312.pyc and b/Scripts/pyThStat/Lib/__pycache__/global_data.cpython-312.pyc differ diff --git a/Scripts/pyThtoQgis/Lib/__pycache__/general_fonctions.cpython-312.pyc b/Scripts/pyThtoQgis/Lib/__pycache__/general_fonctions.cpython-312.pyc index 6fe61dc..7a5ad51 100644 Binary files a/Scripts/pyThtoQgis/Lib/__pycache__/general_fonctions.cpython-312.pyc and b/Scripts/pyThtoQgis/Lib/__pycache__/general_fonctions.cpython-312.pyc differ diff --git a/Scripts/pyThtoQgis/Lib/__pycache__/global_data.cpython-312.pyc b/Scripts/pyThtoQgis/Lib/__pycache__/global_data.cpython-312.pyc index 3e1a3af..221f0aa 100644 Binary files a/Scripts/pyThtoQgis/Lib/__pycache__/global_data.cpython-312.pyc and b/Scripts/pyThtoQgis/Lib/__pycache__/global_data.cpython-312.pyc differ