Update pyThtoQGis

This commit is contained in:
Alex38Lyon
2026-03-02 08:48:40 +01:00
parent b0861c544d
commit c53565257e
58 changed files with 22716 additions and 3331 deletions
+3 -13
View File
@@ -1,24 +1,14 @@
{
"cSpell.words": [
"cutareas",
"defn",
"ENDC",
"esri",
"fiona",
"ftype",
"geodf",
"geopandas",
"Ggis",
"gpkg",
"infile",
"Masekd",
"osgeo",
"outputspath",
"pathshp",
"polygonize",
"pygeos",
"Qgis",
"shapefiles",
"thconfig",
"therion",
"writerecords"
"therion"
]
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1 +0,0 @@
ISO-8859-1
Binary file not shown.
Binary file not shown.
@@ -1 +0,0 @@
PROJCS["ED_1950_UTM_Zone_30N",GEOGCS["GCS_European_1950",DATUM["D_European_1950",SPHEROID["International_1924",6378388.0,297.0]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-3.0],PARAMETER["Scale_Factor",0.9996],PARAMETER["Latitude_Of_Origin",0.0],UNIT["Meter",1.0]]
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1 +0,0 @@
ISO-8859-1
Binary file not shown.
@@ -1 +0,0 @@
PROJCS["ED_1950_UTM_Zone_30N",GEOGCS["GCS_European_1950",DATUM["D_European_1950",SPHEROID["International_1924",6378388.0,297.0]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-3.0],PARAMETER["Scale_Factor",0.9996],PARAMETER["Latitude_Of_Origin",0.0],UNIT["Meter",1.0]]
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+7 -8
View File
@@ -1,11 +1,11 @@
"""
!#############################################################################################
# #
# general_fonctions.py for pythStat.py #
# general_fonctions.py for pyThtoQgis.py #
# #
!#############################################################################################
Alex 2026 01 09
Alex 2026 02 26
"""
import os, logging, sys, re, unicodedata
@@ -66,12 +66,11 @@ def colored_help(parser):
# Coloration des différentes parties
colored_help_text = help_text.replace(
'usage:', f'{Colors.ERROR}usage:{Colors.ENDC}'
).replace(
'options:', f'{Colors.GREEN}options:{Colors.ENDC}'
).replace('positional arguments:', f'{Colors.BLUE}positional arguments:{Colors.ENDC}'
).replace(', --help', f'{Colors.BLUE}, --help:{Colors.ENDC}'
).replace('elp:', f'{Colors.BLUE}elp{Colors.ENDC}')
'usage:', f'{Colors.ERROR}Usage:{Colors.ENDC}').replace(
'options:', f'{Colors.ERROR}Options:{Colors.ENDC}').replace(
'--option', f'{Colors.GREEN}--option{Colors.ENDC}').replace(
'-h, --help', f'{Colors.GREEN}-h, --help{Colors.ENDC}').replace(
'positional arguments:', f'{Colors.BLUE}positional arguments:{Colors.ENDC}')
# Surligner les arguments
# for action in parser._actions:
+2 -2
View File
@@ -6,12 +6,12 @@ global_data.py for pyThtoQgis.py
!#############################################################################################!
"""
Version = "2026.01.19"
Version = "2026.03.01"
#################################################################################################
pathshp = ".\\Inputs\\"
outputspath = ".\\Outputs\\"
output_log = ".\\pyThtoQgis.log"
# error_count = 0 # Compteur d'erreurs
debug_log = False
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+10
View File
@@ -0,0 +1,10 @@
Notes
====================
Utiliser msys2 ucrt64
source .venv/bin/activate
python pyThtoQgis.py
python pyThtoQgis.py --help
@@ -7,6 +7,7 @@
"settings": {
"cSpell.words": [
"ENDC",
"esri",
"geopandas",
"Ggis",
"Qgis"
File diff suppressed because it is too large Load Diff