Evad37 added a comment.

To clarify, what is wanted is a new external data service that takes in a query, looks up the P625 for each item from the query, and displays these as point features on a map
(in a similar way to how point features are displayed for geoJSON like { "type": "Point", "coordinates": [-150, 64] })

Basically, we should be able to use syntax like

<mapframe>
{
  "type": "ExternalData",
  "service": "geopoint",
  "query": "
// query goes here
"}
</mapframe>

to display point features based on wikidata coordinates, without having to know the wikidata ids in advance.

It would also be nice if there was a way to individually specify the Maki marker image, similar to how the geoshape example can specify fill colours for shapes.

Plus if there was also a way to just specify one or more wikidata ids without a query, then T178321 could be solved without having to use Lua.


TASK DETAIL
https://phabricator.wikimedia.org/T188291

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Evad37
Cc: Evad37, Jonas, Yurik, Aklapper, Ayack, Lahi, Gq86, Darkminds3113, Looniverse, Lucas_Werkmeister_WMDE, GoranSMilovanovic, QZanden, EBjune, Orienteerix, merbst, LawExplorer, Avner, Ddproxy, Gehel, JGirault, phabyogi, FloNight, Xmlizer, GAllegre, Susannaanas, ferdbold, lxbarth, Zache, jkroll, Planemad, Smalyshev, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, MaxSem, Mbch331, Jay8g
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to