OpenStreetMap

LogicalViolinist's Diary

Recent diary entries

Vue que ID et Mapbox poussent pour incorporer wikidata dans OSM, je pensais ceci serait le projet parfait pour les catographieurs qui n’ont rien à faire ou dans des moments plus tranquilles.

Le lien wikidata peut aider les dévelopeurs à obtenir des informations vitaux comme la population courrante, le maire, les drapeaux, code d’armes, etc. La liste continue. Il y a beaucoup d’information qui ne peut même pas être encoder dans OSM. Ceci simplifierais l’utilisation des données OSM pour des petits développeurs. Prendre comme exemple l’exemple de Mapbox: Mapbox Data rich map

Les items dans le carré rouge ont tous été obtenu via l’api de wikidata en utilisant le champs wikidata (l’identificateur). Le drapeau dans le carré vert, la population en jaune et le site web en orange ont tous été capté à l’aide d’un champs d’identification

Il y a beaucoup d’autre information de disponible via l’api wikidata, par exemple la liste de filmes qui s’est produit dans cette endroit: Mapbox data rich map 2

Les lieux peuvent être extrait via les qa-tiles avec des extractions par pays de disponible

En utilisant tile-reduce et osm-tag-stats. Les villes peuvent être extrait via ce filtre simple:

[
    "all",
    ["in", "place", "town", "village", "locality"],
    ["==", "@type", "node"]
]

et exécuter via cette commande:

osm-tag-stats --geojson=towns-output.geojson --mbtiles='canada.mbtiles' --filter='towns.json'

J’ai débuté un projet dans le gestionnaire de tâches de OSMCanada ici: http://tasks.osmcanada.ca/project/40

Joignez-vous à améliorer les données au Canada :)

Location: Hull, Gatineau, Outaouais, Québec, Canada

Wikidata in OpenStreetMap

Posted by LogicalViolinist on 11 November 2016 in English.

Seeing as ID and Mapbox are pushing to incorporate wikidata into OSM, I thought it would be a perfect little project when mappers have nothing better to do or in their downtime.

The wikidata link can help developers get vital information like the current population, current mayor, flags, coat of arms,etc. The list goes on. This is a lot of data that can’t necessarily be encoded into OSM. This would help simplify the use of OSM data for small developers. Take for example mapbox’s example: Mapbox Data rich map

The items in the red square have all been obtained via the wikidata api using the wikidata ID. The flag in the green box, the population in the yellow, the website in the orange box.

There is a plethora of other data available via the wikidata api for example list of movies that happened in that location: Mapbox data rich map 2

The places can be extracted via the qa-tiles with country extracts available

Using tile-reduce and osm-tag-stats. The towns can be extracted via a simple filter:

[
    "all",
    ["in", "place", "town", "village", "locality"],
    ["==", "@type", "node"]
]

And run with the following command:

osm-tag-stats --geojson=towns-output.geojson --mbtiles='canada.mbtiles' --filter='towns.json'

I’ve started a project on the OSMCanada Tasking Manager here: http://tasks.osmcanada.ca/project/40

Join in for a more data rich Canada :)

Location: Aylmer, Gatineau, Outaouais, Quebec, Canada