Wicri:ExplorPubmed/Modèles/Paramètres, maps : Différence entre versions
De Wicri Outils
imported>Jacques Ducloy |
imported>Jacques Ducloy |
||
Ligne 5 : | Ligne 5 : | ||
*[[Wicri:%areaCode/Paramètres, size]] - ''génération des modèles liés aux valeurs numériques'' | *[[Wicri:%areaCode/Paramètres, size]] - ''génération des modèles liés aux valeurs numériques'' | ||
*[[Wicri:%areaCode/Paramètres, include]] - ''génération du modèle d'affichage des résultats bruts'' | *[[Wicri:%areaCode/Paramètres, include]] - ''génération du modèle d'affichage des résultats bruts'' | ||
+ | ==Commandes de génération== | ||
+ | ;Définition $EXPLOR_AREA: | ||
+ | <source lang="sh"> | ||
+ | EXPLOR_AREA=$WICRI_ROOT/Sante/explor/Sras.storage/%areaCode | ||
+ | export EXPLOR_AREA | ||
+ | export LC_ALL='C' | ||
+ | </source> | ||
+ | <source lang="sh" dilib:file="SrasV1/bin/generPagesWiki.sh"> | ||
+ | |||
+ | MediaWikiExportCommand -c fileBegin > $EXPLOR_AREA/exportMaps.xml | ||
+ | |||
+ | |||
+ | HfdCat $EXPLOR_AREA/Data/Main/Exploration/AffRegion.i.hfd \ | ||
+ | | SxmlCut idx/l \ | ||
+ | | MediaWikiGeoStatMap -o w -g $DILIB/data/Wicri/France/localisationRegionFrance.dict \ | ||
+ | -m France -f "France location map-Regions.svg" -s 650 \ | ||
+ | -a SrasV1 -t "Carte France" \ | ||
+ | -h https://lorexplor.istex.fr/Wicri/Sante/explor \ | ||
+ | >> $EXPLOR_AREA/exportMaps.xml | ||
+ | |||
+ | HfdCat $EXPLOR_AREA/Data/Main/Exploration/AffRegion.i.hfd \ | ||
+ | | SxmlCut idx/l \ | ||
+ | | MediaWikiGeoStatMap -o w -g $DILIB/data/Wicri/France/localisationRegionFrance2016.dict \ | ||
+ | -m France -f "France location map-Regions-2016.svg" -s 650 \ | ||
+ | -a SrasV1 -t "Carte France Regions 2016" \ | ||
+ | -h https://lorexplor.istex.fr/Wicri/Sante/explor \ | ||
+ | >> $EXPLOR_AREA/exportMaps.xml | ||
+ | |||
+ | HfdCat $EXPLOR_AREA/Data/Main/Exploration/AffPays.i.hfd \ | ||
+ | | SxmlCut idx/l \ | ||
+ | | MediaWikiGeoStatMap -o w -g $DILIB/data/Wicri/Europe/localisationPaysEurope.dict \ | ||
+ | -m Europe -f "Europe laea location map.svg" -s 650 \ | ||
+ | -a SrasV1 -t "Carte Europe" \ | ||
+ | -h https://lorexplor.istex.fr/Wicri/Sante/explor -I AffPays.i \ | ||
+ | >> $EXPLOR_AREA/exportMaps.xml | ||
+ | |||
+ | HfdCat $EXPLOR_AREA/Data/Main/Exploration/AffPays.i.hfd \ | ||
+ | | SxmlCut idx/l \ | ||
+ | | MediaWikiGeoStatMap -o w -g $DILIB/data/Wicri/Europe/localisationPaysEurope.dict \ | ||
+ | -g $DILIB/data/Wicri/Amerique/localisationPaysAmerique.dict \ | ||
+ | -g $DILIB/data/Wicri/Asie/localisationPaysAsie.dict \ | ||
+ | -g $DILIB/data/Wicri/Afrique/localisationPaysAfrique.dict \ | ||
+ | -g $DILIB/data/Wicri/Oceanie/localisationPaysOceanie.dict \ | ||
+ | -m Monde -f "1000pxWorld location map (equirectangular 180).svg.png" -s 1000 \ | ||
+ | -a SrasV1 -t "Carte Monde" \ | ||
+ | -h https://lorexplor.istex.fr/Wicri/Sante/explor -I AffPays.i \ | ||
+ | >> $EXPLOR_AREA/exportMaps.xml | ||
+ | |||
+ | HfdCat $EXPLOR_AREA/Data/Main/Exploration/AffPays.i.hfd \ | ||
+ | | SxmlCut idx/l \ | ||
+ | | MediaWikiGeoStatMap -o w -g $DILIB/data/Wicri/Europe/localisationPaysEurope.dict \ | ||
+ | -g $DILIB/data/Wicri/Amerique/localisationPaysAmerique.dict \ | ||
+ | -g $DILIB/data/Wicri/Asie/localisationPaysAsie.dict \ | ||
+ | -g $DILIB/data/Wicri/Afrique/localisationPaysAfrique.dict \ | ||
+ | -g $DILIB/data/Wicri/Oceanie/localisationPaysOceanie.dict \ | ||
+ | -m Monde -f "1000pxWorld location map (equirectangular 180).svg.png" -s 1000 \ | ||
+ | -r $DILIB/data/Wicri/Europe/paysEurope.dict \ | ||
+ | -a SrasV1 -t "Carte Monde Europe réunie" \ | ||
+ | -h https://lorexplor.istex.fr/Wicri/Sante/explor -I AffPays.i \ | ||
+ | >> $EXPLOR_AREA/exportMaps.xml | ||
+ | |||
+ | MediaWikiExportCommand -c fileEnd >> $EXPLOR_AREA/exportMaps.xml | ||
+ | </source> | ||
==Voir aussi== | ==Voir aussi== | ||
Cette page est générée à partir de | Cette page est générée à partir de | ||
* [[wicri-outils.fr:Dilib, module Nlm, Commande NlmPubMedExplorCorpus]] | * [[wicri-outils.fr:Dilib, module Nlm, Commande NlmPubMedExplorCorpus]] |
Version du 20 juillet 2020 à 13:55
Cette page introduit les paramètres de génération des cartes avec géolocalisation pour la version %areaCode du « %areaTitle ». Voir aussi :
- Wicri:%areaCode/Paramètres, data - génération des données
- Wicri:%areaCode/Paramètres, fr - paramètres de navigation.
- Wicri:%areaCode/Paramètres, size - génération des modèles liés aux valeurs numériques
- Wicri:%areaCode/Paramètres, include - génération du modèle d'affichage des résultats bruts
Commandes de génération
- Définition $EXPLOR_AREA
EXPLOR_AREA=$WICRI_ROOT/Sante/explor/Sras.storage/%areaCode
export EXPLOR_AREA
export LC_ALL='C'
MediaWikiExportCommand -c fileBegin > $EXPLOR_AREA/exportMaps.xml
HfdCat $EXPLOR_AREA/Data/Main/Exploration/AffRegion.i.hfd \
| SxmlCut idx/l \
| MediaWikiGeoStatMap -o w -g $DILIB/data/Wicri/France/localisationRegionFrance.dict \
-m France -f "France location map-Regions.svg" -s 650 \
-a SrasV1 -t "Carte France" \
-h https://lorexplor.istex.fr/Wicri/Sante/explor \
>> $EXPLOR_AREA/exportMaps.xml
HfdCat $EXPLOR_AREA/Data/Main/Exploration/AffRegion.i.hfd \
| SxmlCut idx/l \
| MediaWikiGeoStatMap -o w -g $DILIB/data/Wicri/France/localisationRegionFrance2016.dict \
-m France -f "France location map-Regions-2016.svg" -s 650 \
-a SrasV1 -t "Carte France Regions 2016" \
-h https://lorexplor.istex.fr/Wicri/Sante/explor \
>> $EXPLOR_AREA/exportMaps.xml
HfdCat $EXPLOR_AREA/Data/Main/Exploration/AffPays.i.hfd \
| SxmlCut idx/l \
| MediaWikiGeoStatMap -o w -g $DILIB/data/Wicri/Europe/localisationPaysEurope.dict \
-m Europe -f "Europe laea location map.svg" -s 650 \
-a SrasV1 -t "Carte Europe" \
-h https://lorexplor.istex.fr/Wicri/Sante/explor -I AffPays.i \
>> $EXPLOR_AREA/exportMaps.xml
HfdCat $EXPLOR_AREA/Data/Main/Exploration/AffPays.i.hfd \
| SxmlCut idx/l \
| MediaWikiGeoStatMap -o w -g $DILIB/data/Wicri/Europe/localisationPaysEurope.dict \
-g $DILIB/data/Wicri/Amerique/localisationPaysAmerique.dict \
-g $DILIB/data/Wicri/Asie/localisationPaysAsie.dict \
-g $DILIB/data/Wicri/Afrique/localisationPaysAfrique.dict \
-g $DILIB/data/Wicri/Oceanie/localisationPaysOceanie.dict \
-m Monde -f "1000pxWorld location map (equirectangular 180).svg.png" -s 1000 \
-a SrasV1 -t "Carte Monde" \
-h https://lorexplor.istex.fr/Wicri/Sante/explor -I AffPays.i \
>> $EXPLOR_AREA/exportMaps.xml
HfdCat $EXPLOR_AREA/Data/Main/Exploration/AffPays.i.hfd \
| SxmlCut idx/l \
| MediaWikiGeoStatMap -o w -g $DILIB/data/Wicri/Europe/localisationPaysEurope.dict \
-g $DILIB/data/Wicri/Amerique/localisationPaysAmerique.dict \
-g $DILIB/data/Wicri/Asie/localisationPaysAsie.dict \
-g $DILIB/data/Wicri/Afrique/localisationPaysAfrique.dict \
-g $DILIB/data/Wicri/Oceanie/localisationPaysOceanie.dict \
-m Monde -f "1000pxWorld location map (equirectangular 180).svg.png" -s 1000 \
-r $DILIB/data/Wicri/Europe/paysEurope.dict \
-a SrasV1 -t "Carte Monde Europe réunie" \
-h https://lorexplor.istex.fr/Wicri/Sante/explor -I AffPays.i \
>> $EXPLOR_AREA/exportMaps.xml
MediaWikiExportCommand -c fileEnd >> $EXPLOR_AREA/exportMaps.xml
Voir aussi
Cette page est générée à partir de