Wicri:ChocolateV2/Paramètres, génération des cartes : Différence entre versions
De Wicri Agronomie
imported>Jacques Ducloy m (1 révision importée) |
(→Commandes de génération) |
||
Ligne 6 : | Ligne 6 : | ||
==Commandes de génération== | ==Commandes de génération== | ||
<source lang="sh" dilib:file="ChocolateV2/bin/generPagesWiki.sh"> | <source lang="sh" dilib:file="ChocolateV2/bin/generPagesWiki.sh"> | ||
− | + | MediaWikiExportCommand -c fileBegin > $EXPLOR_AREA/exportMaps.xml | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | HfdCat | + | HfdCat $EXPLOR_AREA/Data/Main/Exploration/AffRegion.i.hfd \ |
| SxmlCut idx/l \ | | SxmlCut idx/l \ | ||
| MediaWikiGeoStatMap -o w -g $DILIB/data/Wicri/France/localisationRegionFrance.dict \ | | MediaWikiGeoStatMap -o w -g $DILIB/data/Wicri/France/localisationRegionFrance.dict \ | ||
-m France -f "France location map-Regions.svg" -s 650 \ | -m France -f "France location map-Regions.svg" -s 650 \ | ||
-a ChocolateV2 -t "Carte France" \ | -a ChocolateV2 -t "Carte France" \ | ||
− | - | + | -h https://wicri-demo.istex.fr/Wicri/Agronomie/explor \ |
− | >> | + | >> $EXPLOR_AREA/exportMaps.xml |
− | HfdCat | + | HfdCat $EXPLOR_AREA/Data/Main/Exploration/AffPays.i.hfd \ |
| SxmlCut idx/l \ | | SxmlCut idx/l \ | ||
| MediaWikiGeoStatMap -o w -g $DILIB/data/Wicri/Europe/localisationPaysEurope.dict \ | | MediaWikiGeoStatMap -o w -g $DILIB/data/Wicri/Europe/localisationPaysEurope.dict \ | ||
-m Europe -f "Europe laea location map.svg" -s 650 \ | -m Europe -f "Europe laea location map.svg" -s 650 \ | ||
-a ChocolateV2 -t "Carte Europe" \ | -a ChocolateV2 -t "Carte Europe" \ | ||
− | - | + | -h https://wicri-demo.istex.fr/Wicri/Agronomie/explor -I AffPays.i \ |
− | >> | + | >> $EXPLOR_AREA/exportMaps.xml |
− | HfdCat | + | HfdCat $EXPLOR_AREA/Data/Main/Exploration/AffPays.i.hfd \ |
| SxmlCut idx/l \ | | SxmlCut idx/l \ | ||
| MediaWikiGeoStatMap -o w -g $DILIB/data/Wicri/Europe/localisationPaysEurope.dict \ | | MediaWikiGeoStatMap -o w -g $DILIB/data/Wicri/Europe/localisationPaysEurope.dict \ | ||
Ligne 39 : | Ligne 33 : | ||
-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 ChocolateV2 -t "Carte Monde" \ | -a ChocolateV2 -t "Carte Monde" \ | ||
− | - | + | -h https://wicri-demo.istex.fr/Wicri/Agronomie/explor -I AffPays.i \ |
− | >> | + | >> $EXPLOR_AREA/exportMaps.xml |
− | + | MediaWikiExportCommand -c fileEnd >> $EXPLOR_AREA/exportMaps.xml | |
</mediawiki> | </mediawiki> | ||
... | ... | ||
</source> | </source> |
Version actuelle datée du 11 mars 2024 à 21:11
Cette page introduit les paramètres de génération des cartes avec géolocalisaton pour la version ChocolateV2 du « Serveur d'exploration sur le chocolat ».
Voir aussi :
- Wicri:ChocolateV2/Paramètres, data - génération des données,
- Wicri:ChocolateV2/Paramètres, fr - paramètres de navigation.
Commandes de génération
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 ChocolateV2 -t "Carte France" \
-h https://wicri-demo.istex.fr/Wicri/Agronomie/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 ChocolateV2 -t "Carte Europe" \
-h https://wicri-demo.istex.fr/Wicri/Agronomie/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 ChocolateV2 -t "Carte Monde" \
-h https://wicri-demo.istex.fr/Wicri/Agronomie/explor -I AffPays.i \
>> $EXPLOR_AREA/exportMaps.xml
MediaWikiExportCommand -c fileEnd >> $EXPLOR_AREA/exportMaps.xml
</mediawiki>
...