Discussion:Serveur d'exploration sur la grippe en Allemagne/Version 3 : Différence entre versions

De Wicri Santé
imported>Jacques Ducloy
(Génération des cartes)
imported>Jacques Ducloy
(Génération des cartes)
Ligne 13 : Ligne 13 :
 
   | MediaWikiGeoStatMap -o w -g $DILIB/data/Wicri/Allemagne/localisationLandsAllemagne.dict \
 
   | MediaWikiGeoStatMap -o w -g $DILIB/data/Wicri/Allemagne/localisationLandsAllemagne.dict \
 
                         -m Allemagne -f "Germany location map.svg" -s 650  \
 
                         -m Allemagne -f "Germany location map.svg" -s 650  \
                         -a MozartV1 -t "Carte Allemagne Lands"                        \
+
                         -a GrippeAllemagneV2 -t "Carte Allemagne Lands"                        \
 
                         -h https://lorexplor.istex.fr/Wicri/Sante/explor \
 
                         -h https://lorexplor.istex.fr/Wicri/Sante/explor \
 
     >> $EXPLOR_AREA/exportMapsGermany.xml
 
     >> $EXPLOR_AREA/exportMapsGermany.xml
Ligne 21 : Ligne 21 :
 
     | MediaWikiGeoStatMap -o w -g $DILIB/data/Wicri/Allemagne/localisationRegionAllemagneNuts2.dict \
 
     | MediaWikiGeoStatMap -o w -g $DILIB/data/Wicri/Allemagne/localisationRegionAllemagneNuts2.dict \
 
                           -m Allemagne -f "Germany (+districts) location map.svg" -s 650  \
 
                           -m Allemagne -f "Germany (+districts) location map.svg" -s 650  \
                           -a MozartV1 -t "Carte Allemagne NUTS2"                        \
+
                           -a GrippeAllemagneV2 -t "Carte Allemagne NUTS2"                        \
 
                           -h https://lorexplor.istex.fr/Wicri/Sante/explor \
 
                           -h https://lorexplor.istex.fr/Wicri/Sante/explor \
 
     >> $EXPLOR_AREA/exportMapsGermany.xml
 
     >> $EXPLOR_AREA/exportMapsGermany.xml

Version du 30 juin 2020 à 18:24

Génération des cartes

EXPLOR_AREA=$WICRI_ROOT/Sante/explor/GrippeAllemagne.storage/GrippeAllemagneV2
export EXPLOR_AREA
export LC_ALL='C'
MediaWikiExportCommand -c fileBegin > $EXPLOR_AREA/exportMapsGermany.xml

HfdCat $EXPLOR_AREA/Data/Main/Exploration/AffRegion.i.hfd \
   | SxmlCut idx/l        \
   | MediaWikiGeoStatMap -o w -g $DILIB/data/Wicri/Allemagne/localisationLandsAllemagne.dict \
                         -m Allemagne -f "Germany location map.svg" -s 650  \
                         -a GrippeAllemagneV2 -t "Carte Allemagne Lands"                        \
                         -h https://lorexplor.istex.fr/Wicri/Sante/explor \
     >> $EXPLOR_AREA/exportMapsGermany.xml

HfdCat $EXPLOR_AREA/Data/Main/Exploration/AffRegion.i.hfd \
    | SxmlCut idx/l        \
    | MediaWikiGeoStatMap -o w -g $DILIB/data/Wicri/Allemagne/localisationRegionAllemagneNuts2.dict \
                          -m Allemagne -f "Germany (+districts) location map.svg" -s 650  \
                          -a GrippeAllemagneV2 -t "Carte Allemagne NUTS2"                        \
                           -h https://lorexplor.istex.fr/Wicri/Sante/explor \
     >> $EXPLOR_AREA/exportMapsGermany.xml

MediaWikiExportCommand -c fileEnd >> $EXPLOR_AREA/exportMapsGermany.xml