|
|
|
@@ -44,19 +44,6 @@ input {configPath}config.thc
|
|
|
|
|
## Ici, on peut specifier des choses comme les symboles à utiliser (UIS, etc)
|
|
|
|
|
## ou imprimer des explications des symboles
|
|
|
|
|
|
|
|
|
|
## Début de la définition du Layout "xviexport"
|
|
|
|
|
layout xviexport
|
|
|
|
|
#cs UTM32
|
|
|
|
|
## echelle à laquelle on veut dessiner la topo
|
|
|
|
|
scale 1 {Scale}
|
|
|
|
|
#scale 1 1000
|
|
|
|
|
## taille de la grille
|
|
|
|
|
grid-size 2 2 2 m
|
|
|
|
|
## mettre la grille en arrière plan
|
|
|
|
|
grid bottom
|
|
|
|
|
endlayout
|
|
|
|
|
## fin de la définition du layout "xviexport"
|
|
|
|
|
|
|
|
|
|
## Début de la définition du layout "Layout-Plan"
|
|
|
|
|
layout layout-Plan
|
|
|
|
|
## Call the config settings (Layout config inside the config.thc file)
|
|
|
|
@@ -103,7 +90,7 @@ layout layout-Plan
|
|
|
|
|
|
|
|
|
|
## Couleurs de la topographie
|
|
|
|
|
#colour map-bg [70 90 70]
|
|
|
|
|
#colour map-fg [100 100 80]
|
|
|
|
|
#colour map-fg [100 100 80]
|
|
|
|
|
#colour map-fg altitude
|
|
|
|
|
#colour map-fg explo-date
|
|
|
|
|
#colour map-fg topo-date
|
|
|
|
@@ -120,9 +107,9 @@ layout layout-Plan
|
|
|
|
|
## Auteur
|
|
|
|
|
doc-author "{Author}"
|
|
|
|
|
## Titre
|
|
|
|
|
doc-title "{cavename} Plan - 1:{Scale}"
|
|
|
|
|
doc-subject "{cavename}, topographie en plan"
|
|
|
|
|
doc-keywords "Cave, Survey, {cavename}, Pierre saint Martin - Larra, {map_comment}"
|
|
|
|
|
doc-title "{caveName} Plan - 1:{Scale}"
|
|
|
|
|
doc-subject "{caveName}, topographie en plan"
|
|
|
|
|
doc-keywords "Cave, Survey, {caveName}, {mapComment}"
|
|
|
|
|
|
|
|
|
|
## Maintenant on spécifie la position de la manchette, dont l'intérieur est occupé par le titre, auteurs, etc.
|
|
|
|
|
## Nous pouvons indiquer les cordonnées du point de la topo ou l'on veut la manchette :
|
|
|
|
@@ -144,8 +131,8 @@ layout layout-Plan
|
|
|
|
|
legend-columns 2
|
|
|
|
|
## Un commentaire à ajouter au titre, on pourrait indiquer ici la mairie où est placée la cavité
|
|
|
|
|
## dont le nom est probablement le titre de la topo.
|
|
|
|
|
map-comment "{map_comment}"
|
|
|
|
|
#map-comment "{map_comment}<br>Coordonnées : ({cs}/WGS84) xxx.xxx xxxx.xxx, Alt.: xxxx m"
|
|
|
|
|
map-comment "{mapComment}"
|
|
|
|
|
#map-comment "{mapComment}<br>Coordonnées : ({cs}/WGS84) xxx.xxx xxxx.xxx, Alt.: xxxx m"
|
|
|
|
|
|
|
|
|
|
## Afficher les statistiques d'explo/topo par équipe/nom. C'est lourd
|
|
|
|
|
## si la cavité est importante et qu'il y a beaucoup d'explorateurs/topographes.
|
|
|
|
@@ -159,7 +146,7 @@ layout layout-Plan
|
|
|
|
|
# symbol-hide point station
|
|
|
|
|
# symbol-hide line survey
|
|
|
|
|
# symbol-hide group
|
|
|
|
|
# symbol-show line wall
|
|
|
|
|
# symbol-show line wall
|
|
|
|
|
# symbol-hide point station-name
|
|
|
|
|
# symbol-hide point u:symbol_plan
|
|
|
|
|
# symbol-hide point u:symbol_extend
|
|
|
|
@@ -176,19 +163,19 @@ layout layout-Plan
|
|
|
|
|
\legendtextheadersize={\size[28]} %%% Taille du titre
|
|
|
|
|
\legendtextsectionsize={\size[14]} %%% Taille du titre
|
|
|
|
|
%\legendtextcolor={\color[0 0 110]} %# RGB values 0--100
|
|
|
|
|
% Output map title as determined by Therion is stored in cavename, défini par la une Map.
|
|
|
|
|
% Output map title as determined by Therion is stored in caveName, défini par la une Map.
|
|
|
|
|
% It will be empty if there are multiple maps selected for any one projection
|
|
|
|
|
% AND there are multiple source surveys identified in the thconfig file
|
|
|
|
|
% ie Therion can not infer a unique title from the input data given.
|
|
|
|
|
% This code allows you to define an output map title {cavename} if it happens to be empty
|
|
|
|
|
\edef\temp{\the\cavename} % cavename from Therion
|
|
|
|
|
% This code allows you to define an output map title {caveName} if it happens to be empty
|
|
|
|
|
\edef\temp{\the\caveName} % caveName from Therion
|
|
|
|
|
\edef\nostring{} % empty string
|
|
|
|
|
\ifx\temp\nostring % test if cavename is empty
|
|
|
|
|
\ifx\temp\nostring % test if caveName is empty
|
|
|
|
|
% if empty
|
|
|
|
|
reassign cavename to describe selected maps as a group
|
|
|
|
|
\else % if not empty keep the value set by therion, or assign an override cavename here
|
|
|
|
|
reassign caveName to describe selected maps as a group
|
|
|
|
|
\else % if not empty keep the value set by therion, or assign an override caveName here
|
|
|
|
|
\fi
|
|
|
|
|
\cavename={{cavename}, Plan 1:{Scale}} % Note Alex : Bug avec certains fichiers ?
|
|
|
|
|
\caveName={{caveName}, Plan 1:{Scale}} % Note Alex : Bug avec certains fichiers ?
|
|
|
|
|
\newtoks\club \club={{club}}
|
|
|
|
|
%\newtoks\thanksto \thanksto={{thanksto}}
|
|
|
|
|
\newtoks\wpage \wpage={{wpage}}
|
|
|
|
@@ -198,6 +185,7 @@ layout layout-Plan
|
|
|
|
|
endcode
|
|
|
|
|
|
|
|
|
|
endlayout
|
|
|
|
|
## fin de la définition du layout
|
|
|
|
|
|
|
|
|
|
##debut de la definition du layout "layout-Extended"
|
|
|
|
|
layout layout-Extended
|
|
|
|
@@ -244,7 +232,7 @@ layout layout-Extended
|
|
|
|
|
|
|
|
|
|
## Couleurs de la topographie
|
|
|
|
|
#colour map-bg [70 90 70]
|
|
|
|
|
#colour map-fg [100 100 80]
|
|
|
|
|
#colour map-fg [100 100 80]
|
|
|
|
|
#colour map-fg altitude
|
|
|
|
|
#colour map-fg explo-date
|
|
|
|
|
#colour map-fg topo-date
|
|
|
|
@@ -261,10 +249,10 @@ layout layout-Extended
|
|
|
|
|
## Auteur
|
|
|
|
|
doc-author "{Author}"
|
|
|
|
|
## Titre
|
|
|
|
|
doc-title "{cavename} Coupe développée - 1:{Scale}"
|
|
|
|
|
doc-title "{caveName} Coupe développée - 1:{Scale}"
|
|
|
|
|
|
|
|
|
|
doc-subject "{cavename}, topographie en coupe développée"
|
|
|
|
|
doc-keywords "Cave, Survey, {cavename}, Pierre saint Martin - Larra, Coupe développée, {map_comment}"
|
|
|
|
|
doc-subject "{caveName}, topographie en coupe développée"
|
|
|
|
|
doc-keywords "Cave, Survey, {caveName}, {mapComment}"
|
|
|
|
|
|
|
|
|
|
## Maintenant on spécifie la position de la manchette, dont l'intérieur est occupé par le titre, auteurs, etc.
|
|
|
|
|
## Nous pouvons indiquer les cordonnées du point de la topo ou l'on veut la manchette :
|
|
|
|
@@ -285,8 +273,8 @@ layout layout-Extended
|
|
|
|
|
legend-columns 2
|
|
|
|
|
## Un commentaire à ajouter au titre, on pourrait indiquer ici la mairie où est placée la cavité
|
|
|
|
|
## dont le nom est probablement le titre de la topo.
|
|
|
|
|
map-comment "{map_comment}"
|
|
|
|
|
#map-comment "{map_comment}<br>Coordonnées : ({cs}/WGS84) xxx.xxx xxxx.xxx, Alt.: xxxx m"
|
|
|
|
|
map-comment "{mapComment}"
|
|
|
|
|
#map-comment "{mapComment}<br>Coordonnées : ({cs}/WGS84) xxx.xxx xxxx.xxx, Alt.: xxxx m"
|
|
|
|
|
|
|
|
|
|
## Afficher les statistiques d'explo/topo par équipe/nom. C'est lourd
|
|
|
|
|
## si la cavité est importante et qu'il y a beaucoup d'explorateurs/topographes.
|
|
|
|
@@ -300,7 +288,7 @@ layout layout-Extended
|
|
|
|
|
# symbol-hide point station
|
|
|
|
|
# symbol-hide line survey
|
|
|
|
|
# symbol-hide group
|
|
|
|
|
# symbol-show line wall
|
|
|
|
|
# symbol-show line wall
|
|
|
|
|
# symbol-hide point u:symbol_plan
|
|
|
|
|
# symbol-hide point u:symbol_extend
|
|
|
|
|
# debug scrap-names
|
|
|
|
@@ -317,19 +305,19 @@ layout layout-Extended
|
|
|
|
|
\legendtextheadersize={\size[28]} %%% Taille du titre
|
|
|
|
|
\legendtextsectionsize={\size[14]} %%% Taille du titre
|
|
|
|
|
%\legendtextcolor={\color[0 0 110]} %# RGB values 0--100
|
|
|
|
|
% Output map title as determined by Therion is stored in cavename, défini par la une Map.
|
|
|
|
|
% Output map title as determined by Therion is stored in caveName, défini par la une Map.
|
|
|
|
|
% It will be empty if there are multiple maps selected for any one projection
|
|
|
|
|
% AND there are multiple source surveys identified in the thconfig file
|
|
|
|
|
% ie Therion can not infer a unique title from the input data given.
|
|
|
|
|
% This code allows you to define an output map title {cavename} if it happens to be empty
|
|
|
|
|
\edef\temp{\the\cavename} % cavename from Therion
|
|
|
|
|
% This code allows you to define an output map title {caveName} if it happens to be empty
|
|
|
|
|
\edef\temp{\the\caveName} % caveName from Therion
|
|
|
|
|
\edef\nostring{} % empty string
|
|
|
|
|
\ifx\temp\nostring % test if cavename is empty
|
|
|
|
|
\ifx\temp\nostring % test if caveName is empty
|
|
|
|
|
% if empty
|
|
|
|
|
reassign cavename to describe selected maps as a group
|
|
|
|
|
\else % if not empty keep the value set by therion, or assign an override cavename here
|
|
|
|
|
reassign caveName to describe selected maps as a group
|
|
|
|
|
\else % if not empty keep the value set by therion, or assign an override caveName here
|
|
|
|
|
\fi
|
|
|
|
|
\cavename={{cavename}, Coupe développée 1:{Scale}} % Note Alex : Bug avec certains fichiers ?
|
|
|
|
|
\caveName={{caveName}, Coupe développée 1:{Scale}} % Note Alex : Bug avec certains fichiers ?
|
|
|
|
|
\newtoks\club \club={{club}}
|
|
|
|
|
%\newtoks\thanksto \thanksto={{thanksto}}
|
|
|
|
|
\newtoks\wpage \wpage={{wpage}}
|
|
|
|
@@ -339,8 +327,9 @@ layout layout-Extended
|
|
|
|
|
endcode
|
|
|
|
|
|
|
|
|
|
endlayout
|
|
|
|
|
## Fin de la definition du Layout "normal"
|
|
|
|
|
## Fin de la definition du Layout
|
|
|
|
|
|
|
|
|
|
## Début de la définition du Layout "layout-kml"
|
|
|
|
|
layout layout-kml
|
|
|
|
|
## Définition du système de projection du plan
|
|
|
|
|
cs EPSG:2154
|
|
|
|
@@ -352,39 +341,56 @@ layout layout-kml
|
|
|
|
|
color map-fg [0 0 100]
|
|
|
|
|
endlayout
|
|
|
|
|
|
|
|
|
|
## Début de la définition du Layout "xviexport"
|
|
|
|
|
layout xviexport
|
|
|
|
|
# cs UTM32
|
|
|
|
|
## echelle à laquelle on veut dessiner la topo
|
|
|
|
|
scale 1 {Scale}
|
|
|
|
|
# scale 1 1000
|
|
|
|
|
## taille de la grille
|
|
|
|
|
grid-size 2 2 2 m
|
|
|
|
|
## mettre la grille en arrière plan
|
|
|
|
|
grid bottom
|
|
|
|
|
endlayout
|
|
|
|
|
## fin de la définition du layout
|
|
|
|
|
|
|
|
|
|
###############################################################################################
|
|
|
|
|
# 3-EXPORT
|
|
|
|
|
###############################################################################################
|
|
|
|
|
|
|
|
|
|
## Export des xvi pour le dessin si besoin
|
|
|
|
|
# export map -proj plan -layout xviexport -fmt xvi -o Data/{fileName}-Plan.xvi
|
|
|
|
|
# export map -proj extended -layout xviexport -fmt xvi -o Data/{fileName}-Extended.xvi
|
|
|
|
|
## Export des xvi pour le dessin si besoin
|
|
|
|
|
# export map -proj plan -layout xviexport -fmt xvi -o Data/{fileName}-Plan.xvi
|
|
|
|
|
# export map -proj extended -layout xviexport -fmt xvi -o Data/{fileName}-Extended.xvi
|
|
|
|
|
|
|
|
|
|
## Selection des Maps à exporter
|
|
|
|
|
# select MP-{fileName}-Plan-tot@{fileName}
|
|
|
|
|
# select MC-{fileName}-Extended-tot@{fileName}
|
|
|
|
|
## Selection des Maps à exporter
|
|
|
|
|
# select MP-{fileName}-Plan-tot@{fileName}
|
|
|
|
|
# select MC-{fileName}-Extended-tot@{fileName}
|
|
|
|
|
|
|
|
|
|
## Export des fichiers pdf, plan et coupe.
|
|
|
|
|
## ATTENTION, la topo étant énorme, il faut mettre l'option ne traçant pas la centerline !
|
|
|
|
|
## Export des fichiers pdf, plan et coupe.
|
|
|
|
|
## ATTENTION, la topo étant énorme, il faut mettre l'option ne traçant pas la centerline !
|
|
|
|
|
# export map -projection plan -fmt pdf -layout layout-Plan -o Outputs/{fileName}-Plan.pdf
|
|
|
|
|
# export map -projection extended -fmt pdf -layout layout-Extended -o Outputs/{fileName}-Extended.pdf
|
|
|
|
|
|
|
|
|
|
# export map -projection plan -fmt pdf -layout layout-Plan -o Outputs/{fileName}-Plan.pdf
|
|
|
|
|
# export map -projection extended -fmt pdf -layout layout-Extended -o Outputs/{fileName}-Extended.pdf
|
|
|
|
|
## Export du fichier 3d pour Loch
|
|
|
|
|
export model -enable all -o Outputs/{fileName}.lox
|
|
|
|
|
# export model -enable all -o Outputs/{fileName}.kml
|
|
|
|
|
# export model -enable all -o Outputs/{fileName}.plt
|
|
|
|
|
|
|
|
|
|
## Export du fichier 3d pour Loch
|
|
|
|
|
export model -enable all -o Outputs/{fileName}.lox
|
|
|
|
|
export model -enable all -o Outputs/{fileName}.kml
|
|
|
|
|
## Export des fichiers ESRI
|
|
|
|
|
# export map -proj plan -fmt esri -o Outputs/{fileName}
|
|
|
|
|
# export model -fmt esri -o Outputs/SHP/therion -enc UTF-8
|
|
|
|
|
|
|
|
|
|
## Export des fichiers ESRI
|
|
|
|
|
# export map -proj plan -fmt esri -o Outputs/{fileName}
|
|
|
|
|
## Autres exports
|
|
|
|
|
# export map -proj plan -fmt kml -o Outputs/{fileName}.kml -layout layout-kml
|
|
|
|
|
# export model -fmt kml -o Outputs/{fileName}-model.kml -enable all
|
|
|
|
|
# export model -enable all -o Outputs/{fileName}-3D.kml
|
|
|
|
|
# export cave-list -location on -o Outputs/{fileName}-Cave-list.html
|
|
|
|
|
# export survey-list -location on -o Outputs/{fileName}-Surveys.html
|
|
|
|
|
# export database -fmt sql -o Outputs/{fileName}-database.sql
|
|
|
|
|
# export continuation-list -o Outputs/{fileName}-Continuations.html
|
|
|
|
|
|
|
|
|
|
## Export des fichiers kml
|
|
|
|
|
# export map -proj plan -fmt kml -o Outputs/{fileName}.kml -layout layout-kml
|
|
|
|
|
# export model -fmt kml -o Outputs/{fileName}-model.kml -enable all
|
|
|
|
|
# export model -enable all -o Outputs/{fileName}-3D.kml
|
|
|
|
|
# export cave-list -location on -o Outputs/{fileName}-Cave-list.html
|
|
|
|
|
# export survey-list -location on -o Outputs/{fileName}-Surveys.html
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
###############################################################################################
|
|
|
|
|
## END
|
|
|
|
|
## END FILE
|
|
|
|
|
###############################################################################################
|