Topic on Help talk:Extension:Kartographer

Is it possible to map the coordinates from wikidata without OSM?

2
ScottDavis (talkcontribs)

Is there a way to draw a map on Wikipedia using markers for coordinates from Wikidata (without reference to OSM)? I can build a query in the Wikidata Query Service and display the results there as a map, but haven't worked out how to put it in a Wikipedia article. If this is possible, could an example please be added to the help page?

Sample query:

SELECT ?cave ?caveLabel ?coordinate_location WHERE {
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
  { ?cave wdt:P31 wd:Q35509. }
  UNION
  { ?cave wdt:P31 wd:Q16817. }
  ?cave wdt:P131 wd:Q3224.
  OPTIONAL { ?cave wdt:P625 ?coordinate_location. }
<nowiki>}</nowiki>

Try it!

Thank you. ~~~~

Evad37 (talkcontribs)
Reply to "Is it possible to map the coordinates from wikidata without OSM?"