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

 * Les cartes en infobox
 * Les modèles de géolocalisation
 * Exemple

2. Carte géolocalisée sur fr.wikivoyage

 * Multipoints
 * Ébauche polygonale : modèle "MapMask"
 * Exemple :
 * Pourquoi la disponibilité sur Wikivoyage et pas sur Wikipédia ?

3. Umap, l'exemple à suivre

 * Ressources :
 * Guide utilisateur
 * Lien vers Umap
 * Ajouter des points (marqueurs), lignes, polygones
 * Intérêt d'un tel outil à l'intérieur des projets
 * Quelques exemples par typologie ;
 * Points : stations Vélo'v
 * Lignes : ponts
 * Polygones : arrondissements

4. Kartographer, ressources utiles

 * Page d'aide Kartographer
 * Modèle MapFrame
 * Spécifications geojson
 * Vérifier son geojson
 * Gestion des styles

5. Kartographer, "P.O.I"
 { "type": "Feature", "geometry": { "type":"Point", "coordinates":[ 5.001360, 45.840374] }, "properties": { "title": "Mairie de Beynost", "description": "", "marker-symbol": "museum", "marker-size": "large", "marker-color": "0050d0" } }

6. Kartographer, "LineString" / "MultiLineString"
 {           "type": "Feature", "properties": { "title": "La rue Centrale à Beynost", "description": "", "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] ] ]} }

7. Kartographer, "MultiPolygon"
 {           "type": "Feature", "properties": { "title": "Maison Delorme à Beynost", "description": "", "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]     ]    } }

8. Kartographer, "GeometryCollection", on mélange tout !
 {           "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] }

] }

9. Quelques exemples

 * I. Une carte utilisée sur wpfr : Martin Dumollard ; ;

 { "type": "FeatureCollection", "features": [ {     "type": "Feature", "properties": { "marker-symbol": "-number", "marker-color": "302060", "title": "Marie Baday, fin février 1855" },     "geometry": { "type": "Point", "coordinates": [ 4.9681,         45.8783        ]      }    },    {      "type": "Feature", "properties": { "marker-symbol": "-number", "marker-color": "302060", "title": "Olympe Alubert, 4 mars 1855" },     "geometry": { "type": "Point", "coordinates": [ 4.9322,         45.8956        ]      }    },    {      "type": "Feature", "properties": { "marker-symbol": "-number", "marker-color": "302060", "title": "Jeanne-Marie Bourgeois, 31 octobre 1855" },     "geometry": { "type": "Point", "coordinates": [ 4.9173,         45.8968        ]      }    },    {      "type": "Feature", "properties": { "marker-symbol": "-number", "marker-color": "302060", "title": "Victorine Perrin, novembre 1855" },     "geometry": { "type": "Point", "coordinates": [ 4.9305,         45.8136        ]      }    },    {      "type": "Feature", "properties": { "marker-symbol": "-number", "marker-color": "302060", "title": "l'inconnue du bois de Montmain, novembre ou décembre 1855" },     "geometry": { "type": "Point", "coordinates": [ 5.0739,         45.8857        ]      }    },    {      "type": "Feature", "properties": { "marker-symbol": "-number", "marker-color": "302060", "title": "Julie Fargeat, 18 janvier 1859" },     "geometry": { "type": "Point", "coordinates": [ 4.9527,         45.9272        ]      }    },    {      "type": "Feature", "properties": { "marker-symbol": "-number", "marker-color": "302060", "title": "l'inconnue du moulin de Sainte-Croix, 11 décembre 1859" },     "geometry": { "type": "Point", "coordinates": [ 5.0532,         45.8943        ]      }    },    {      "type": "Feature", "properties": { "marker-symbol": "-number", "marker-color": "302060", "title": "la fille de l'auberge Laborde, février 1860" },     "geometry": { "type": "Point", "coordinates": [ 4.8431,         45.7553        ]      }    },    {      "type": "Feature", "properties": { "marker-symbol": "-number", "marker-color": "302060", "title": "Louise Michel, 30 avril 1860" },     "geometry": { "type": "Point", "coordinates": [ 4.8816,         45.9219        ]      }    },    {      "type": "Feature", "properties": { "marker-symbol": "-number", "marker-color": "302060", "title": "Marie-Eulalie Bussod, 25 ou 26 février 1861" },     "geometry": { "type": "Point", "coordinates": [ 5.0736,         45.8772        ]      }    },    {      "type": "Feature", "properties": { "marker-symbol": "-number", "marker-color": "302060", "title": "Marie Pichon (tentative d'assassinat), 26 mai 1861" },     "geometry": { "type": "Point", "coordinates": [ 5.0890,          45.8362        ]      }    },    {      "type": "Feature", "properties": { "marker-symbol": "-letter", "marker-color": "208020", "title": "Exécution de Dumollard" },     "geometry": { "type": "Point", "coordinates": [ 5.0578,          45.8519        ]      }    }  ] }


 * II. Quelques idées en vrac : la carte de la pratique des langues régionales sur le Wiktionnaire ou encore la géolocalisation automatiques des noms de lieux cités dans un ouvrage Wikisource.

10. Pour aller plus loin

 * Wikidata > geojson > Kartographer (exemple)
 * L'exemple de la production de blé par pays et par an