User:Benoît Prieur/WikiConvention 2016 Kartographer
WikiConvention 2016, Paris, 19-21 août 2016, #WikiconvFr
Aperçu de l'extension Kartographer
1. Carte géolocalisée sur fr.wikipedia
edit2. Carte géolocalisée sur fr.wikivoyage
edit- Multipoints
- Ébauche polygonale : modèle "MapMask"
- Exemple :
- Pourquoi la disponibilité sur Wikivoyage et pas sur Wikipédia ?
3. Umap, l'exemple à suivre
edit4. Kartographer, ressources utiles
edit- Page d'aide Kartographer
- Modèle MapFrame
- Spécifications geojson
- Vérifier son geojson
- Gestion des styles
5. Kartographer, "P.O.I"
edit<mapframe width=350 height=350 zoom=13 longitude=4.995395 latitude=45.845546>
{
"type": "Feature",
"geometry": { "type":"Point", "coordinates":[ 5.001360, 45.840374] },
"properties": {
"title": "Mairie de Beynost",
"description": "[[File:Mairie de Beynost, juin 2011.JPG|200px]]",
"marker-symbol": "museum",
"marker-size": "large",
"marker-color": "0050d0"
}
}
</mapframe>
6. Kartographer, "LineString" / "MultiLineString"
edit<mapframe width=350 height=350 zoom=12 longitude=4.991057 latitude=45.838205>
{
"type": "Feature",
"properties": {
"title": "La rue Centrale à Beynost",
"description": "[[File:Carte postale - Rue centrale - Beynost (Ain).jpg|200px]]",
"marker-size": "medium",
"marker-symbol": "bus",
"marker-color": "#f00",
"stroke": "#f00",
"stroke-opacity": 1.0,
"stroke-width": 5,
"fill": "#f00",
"fill-opacity": 0.5
},
"geometry": { "type":"MultiLineString", "coordinates":[
[ [4.984577, 45.835130], [4.991058, 45.837597] ],
[ [4.991058, 45.837597], [4.994984, 45.838434] ],
[ [4.994984, 45.838434], [4.998761, 45.839301] ],
[ [4.998761, 45.839301], [5.002323, 45.840064] ]
]}
}
</mapframe>
7. Kartographer, "MultiPolygon"
edit<mapframe width=350 height=350 zoom=23 longitude=4.999306 latitude=45.839105>
{
"type": "Feature",
"properties": {
"title": "[[:fr:w:Maison Delorme|Maison Delorme]] à Beynost",
"description": "[[File:Vue de la Maison Delorme depuis le jardin intérieur.JPG|200px]]",
"marker-size": "medium",
"marker-symbol": "bus",
"marker-color": "#f00",
"stroke": "#f00",
"stroke-opacity": 1.0,
"stroke-width": 5,
"fill": "#f00",
"fill-opacity": 0.5
},
"geometry": { "type":"MultiPolygon", "coordinates": [
[[[4.998946, 45.839034], [4.999013,45.839051], [4.998947, 45.839184], [4.999473, 45.839314], [4.999428,45.839396], [4.998828, 45.839257], [4.998946, 45.839034]]]
]
}
}
</mapframe>
8. Kartographer, "GeometryCollection", on mélange tout !
edit<mapframe width=350 height=350 zoom=23 longitude=4.999306 latitude=45.839105>
{
"type": "GeometryCollection",
"geometries": [
{ "type":"MultiPolygon",
"coordinates": [
[[[4.998946, 45.839034], [4.999013,45.839051], [4.998947, 45.839184], [4.999473, 45.839314], [4.999428,45.839396], [4.998828, 45.839257], [4.998946, 45.839034]]]
]
},
{ "type":"MultiLineString",
"coordinates":[
[ [4.984577, 45.835130], [4.991058, 45.837597] ],
[ [4.991058, 45.837597], [4.994984, 45.838434] ],
[ [4.994984, 45.838434], [4.998761, 45.839301] ],
[ [4.998761, 45.839301], [5.002323, 45.840064] ]
]},
{ "type":"Point",
"coordinates":[4.999251, 45.839143] }
]
}
</mapframe>