Wicri:ArcheoLaboV2/Génération wiki
De Wicri Archéologie
Révision datée du 25 août 2020 à 23:10 par imported>Jacques Ducloy
Cette page introduit un test de génération de pages wiki contenant des cartes avec géolocalisation.
La carte est visible sur la page France via la modèle Modèle:Explor plateforme ArcheoLaboV2/Carte test
Commandes génération
cat <<... > ArcheoLaboV2/export.xml
<mediawiki xmlns="http://www.mediawiki.org/xml/export-0.8/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.mediawiki.org/xml/export-0.8/ http://www.mediawiki.org/xml/export-0.8.xsd"
version="0.8"
xml:lang="fr">
...
HfdCat ArcheoLaboV2/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 ArcheoLaboV2 -t "Carte test" \
-u ArcheoLabo/ArcheoLaboV2/Site/fr/Main/ExplorationRegion \
>>ArcheoLaboV2/export.xml
cat <<... >> ArcheoLaboV2/export.xml
</mediawiki>
...