Page MenuHomePhabricator

Show geoshapes in Map view
Closed, ResolvedPublic

Description

It would be awesome if the WDQS UI could show geoshapes on the Map view. @Jheald requested this in a comment, but I don’t think we have a dedicated task for it yet.

Bonus points if it’s possible to assign a particular color to the shape (e. g. for political maps or heatmap-style maps), perhaps using a rgb column similar to the Bubble Chart and Graph views.

Requires T160535, of course.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

I believe there is a more fundamental problem, that statements of this datatype are missing from WDQS results

These two queries using P3896: geoshape produce 0 results, but Q11299: Manhattan uses it:

http://tinyurl.com/y832zmfr

SELECT ?item
WHERE
{
	?item wdt:P3896 ?geoshape
}
SELECT ?geoshape
WHERE
{
	wd:Q11299 wdt:P3896 ?geoshape
}

It is not yet in the rdf export that is why.

Jonas raised the priority of this task from Medium to High.Jun 21 2017, 9:20 AM

Change 382168 had a related patch set uploaded (by Lucas Werkmeister (WMDE); owner: Lucas Werkmeister (WMDE)):
[wikidata/query/gui@master] WIP: show geoshapes in Map view

https://gerrit.wikimedia.org/r/382168

Change 383372 had a related patch set uploaded (by Lucas Werkmeister (WMDE); owner: Lucas Werkmeister (WMDE)):
[wikidata/query/gui@master] Add support for per-result colors in map view

https://gerrit.wikimedia.org/r/383372

Change 383372 merged by jenkins-bot:
[wikidata/query/gui@master] Add support for per-result colors in map view

https://gerrit.wikimedia.org/r/383372

Jonas raised the priority of this task from High to Needs Triage.Oct 12 2017, 11:46 AM
Jonas moved this task from Backlog to Doing on the Wikidata Query UI board.

Change 382168 merged by jenkins-bot:
[wikidata/query/gui@master] Show geoshapes in Map view

https://gerrit.wikimedia.org/r/382168