Wicri:PercaV1/Paramètres, génération des cartes : Différence entre versions
De Wicri Eau
imported>Jacques Ducloy m (1 révision importée) |
(→Commandes de génération) |
||
(2 révisions intermédiaires par le même utilisateur non affichées) | |||
Ligne 10 : | Ligne 10 : | ||
</source> | </source> | ||
<source lang="sh" dilib:file="PercaV1/bin/generPagesWiki.sh"> | <source lang="sh" dilib:file="PercaV1/bin/generPagesWiki.sh"> | ||
− | + | MediaWikiExportCommand -c fileBegin > $EXPLOR_AREA/exportMaps.xml | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
HfdCat $EXPLOR_AREA/Data/Main/Exploration/AffRegion.i.hfd \ | HfdCat $EXPLOR_AREA/Data/Main/Exploration/AffRegion.i.hfd \ | ||
Ligne 23 : | Ligne 17 : | ||
-m France -f "France location map-Regions.svg" -s 650 \ | -m France -f "France location map-Regions.svg" -s 650 \ | ||
-a PercaV1 -t "Carte France" \ | -a PercaV1 -t "Carte France" \ | ||
− | - | + | -h https://wicri-demo.istex.fr/Wicri/Eau/explor \ |
− | >> $EXPLOR_AREA/ | + | >> $EXPLOR_AREA/exportMaps.xml |
HfdCat $EXPLOR_AREA/Data/Main/Exploration/AffPays.i.hfd \ | HfdCat $EXPLOR_AREA/Data/Main/Exploration/AffPays.i.hfd \ | ||
Ligne 31 : | Ligne 25 : | ||
-m Europe -f "Europe laea location map.svg" -s 650 \ | -m Europe -f "Europe laea location map.svg" -s 650 \ | ||
-a PercaV1 -t "Carte Europe" \ | -a PercaV1 -t "Carte Europe" \ | ||
− | - | + | -h https://wicri-demo.istex.fr/Wicri/Eau/explor -I AffPays.i \ |
− | >> $EXPLOR_AREA/ | + | >> $EXPLOR_AREA/exportMaps.xml |
HfdCat $EXPLOR_AREA/Data/Main/Exploration/AffPays.i.hfd \ | HfdCat $EXPLOR_AREA/Data/Main/Exploration/AffPays.i.hfd \ | ||
Ligne 43 : | Ligne 37 : | ||
-m Monde -f "1000pxWorld location map (equirectangular 180).svg.png" -s 1000 \ | -m Monde -f "1000pxWorld location map (equirectangular 180).svg.png" -s 1000 \ | ||
-a PercaV1 -t "Carte Monde" \ | -a PercaV1 -t "Carte Monde" \ | ||
− | - | + | -h https://wicri-demo.istex.fr/Wicri/Eau/explor -I AffPays.i \ |
− | >> $EXPLOR_AREA/ | + | >> $EXPLOR_AREA/exportMaps.xml |
− | + | MediaWikiExportCommand -c fileEnd >> $EXPLOR_AREA/exportMaps.xml | |
− | + | ||
− | |||
</source> | </source> |
Version actuelle datée du 8 mars 2024 à 20:55
Cette page introduit les paramètres de génération des cartes avec géolocalisaton pour la version PercaV1 du « Serveur d'exploration perca ».
Voir aussi :
- Wicri:PercaV1/Paramètres, data - génération des données,
- Wicri:PercaV1/Paramètres, fr - paramètres de navigation.
Commandes de génération
- Définition $EXPLOR_AREA
EXPLOR_AREA=$WICRI_ROOT/Wicri/Eau/corpus/Perca.storage/PercaV1
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 PercaV1 -t "Carte France" \
-h https://wicri-demo.istex.fr/Wicri/Eau/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 PercaV1 -t "Carte Europe" \
-h https://wicri-demo.istex.fr/Wicri/Eau/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 PercaV1 -t "Carte Monde" \
-h https://wicri-demo.istex.fr/Wicri/Eau/explor -I AffPays.i \
>> $EXPLOR_AREA/exportMaps.xml
MediaWikiExportCommand -c fileEnd >> $EXPLOR_AREA/exportMaps.xml