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
+12
View File
@@ -0,0 +1,12 @@
# Ignore files:
**.log
**.backup
.xtherion.dat
# Folders
**/OLD/
**/old/
**/.venv.
**/.vscode/
+1 -1
Submodule Data updated: 94fc344d08...23fc769410
File diff suppressed because it is too large Load Diff
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.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+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
+6 -12
View File
@@ -147,19 +147,11 @@ layout my_layout
symbol-hide line survey
# symbol-hide group water
symbol-hide group speleothems
# symbol-hide group speleothems
# symbol-hide group text
symbol-hide line label
# symbol-hide line label:xs
# symbol-hide line label:s
# symbol-hide line label:m
symbol-hide point label
# symbol-hide point label:xs
# symbol-hide point label:s
# symbol-hide point label:m
# symbol-hide point label:l
# symbol-hide point label:xl
symbol-hide point height
# symbol-hide line label
# symbol-hide point label
# symbol-hide point height
# symbol-hide point dig
# symbol-hide point camp
@@ -194,6 +186,8 @@ layout my_layout
# enddef;
# endcode
# min-symbol-scale S # XL, L, M, S, XS
layers on
overlap 3 cm
+2793 -2744
View File
File diff suppressed because one or more lines are too long