| Jheald added a comment. |
See this query: tinyurl.com/y76l2bft for an example of how to draw lines on a WDQS results map, based on values from variables in a WDQS query (in this case, drawing the bounding boxes of some maps)
The trick is to use CONCAT( ) to write the relevant data you want into a string of the right format, and then STRDT ( ) to promote the string to type geo:wktLiteral
See :en:Well-known text for some of the geometric shapes this makes available, eg lines, polygons, curves, etc.
TASK DETAIL
EMAIL PREFERENCES
To: Jheald
Cc: Jheald, Mholloway, Lucas_Werkmeister_WMDE, Jonas, Fnielsen, Smalyshev, debt, mxn, Multichill, Aklapper, Jane023, Nandana, Lahi, Gq86, Looniverse, GoranSMilovanovic, QZanden, EBjune, Orienteerix, merbst, LawExplorer, Salgo60, JGirault, phabyogi, Xmlizer, Susannaanas, lxbarth, jkroll, Planemad, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Lydia_Pintscher, Yurik, Mbch331, Jay8g
Cc: Jheald, Mholloway, Lucas_Werkmeister_WMDE, Jonas, Fnielsen, Smalyshev, debt, mxn, Multichill, Aklapper, Jane023, Nandana, Lahi, Gq86, Looniverse, GoranSMilovanovic, QZanden, EBjune, Orienteerix, merbst, LawExplorer, Salgo60, JGirault, phabyogi, Xmlizer, Susannaanas, lxbarth, jkroll, Planemad, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Lydia_Pintscher, Yurik, Mbch331, Jay8g
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
