Wicri:ChocolateV1/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="ChocolateV1/bin/generPagesWiki.sh"> | <source lang="sh" dilib:file="ChocolateV1/bin/generPagesWiki.sh"> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | HfdCat | + | MediaWikiExportCommand -c fileBegin > $EXPLOR_AREA/exportMaps.xml |
+ | |||
+ | 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 \ | ||
Ligne 20 : | Ligne 15 : | ||
-a ChocolateV1 -t "Carte France" \ | -a ChocolateV1 -t "Carte France" \ | ||
-u Chocolate/ChocolateV1/Site/fr/Main/ExplorationRegion \ | -u Chocolate/ChocolateV1/Site/fr/Main/ExplorationRegion \ | ||
− | >> | + | >> $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 28 : | Ligne 23 : | ||
-a ChocolateV1 -t "Carte Europe" \ | -a ChocolateV1 -t "Carte Europe" \ | ||
-u Chocolate/ChocolateV1/Site/fr/Main/ExplorationPays \ | -u Chocolate/ChocolateV1/Site/fr/Main/ExplorationPays \ | ||
− | >> | + | >> $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 40 : | Ligne 35 : | ||
-a ChocolateV1 -t "Carte Monde" \ | -a ChocolateV1 -t "Carte Monde" \ | ||
-u Chocolate/ChocolateV1/Site/fr/Main/ExplorationPays \ | -u Chocolate/ChocolateV1/Site/fr/Main/ExplorationPays \ | ||
− | >> | + | >> $EXPLOR_AREA/exportMaps.xml |
+ | |||
+ | MediaWikiExportCommand -c fileEnd >> $EXPLOR_AREA/exportMaps.xml | ||
− | |||
− | |||
− | |||
</source> | </source> |
Version du 11 mars 2024 à 20:38
Cette page introduit les paramètres de génération des cartes avec géolocalisaton pour la version ChocolateV1 du « Serveur d'exploration sur le chocolat ».
Voir aussi :
- Wicri:ChocolateV1/Paramètres, data - génération des données,
- Wicri:ChocolateV1/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 ChocolateV1 -t "Carte France" \
-u Chocolate/ChocolateV1/Site/fr/Main/ExplorationRegion \
>> $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 ChocolateV1 -t "Carte Europe" \
-u Chocolate/ChocolateV1/Site/fr/Main/ExplorationPays \
>> $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 ChocolateV1 -t "Carte Monde" \
-u Chocolate/ChocolateV1/Site/fr/Main/ExplorationPays \
>> $EXPLOR_AREA/exportMaps.xml
MediaWikiExportCommand -c fileEnd >> $EXPLOR_AREA/exportMaps.xml