Content deleted Content added
Tacsipacsi (talk | contribs) →Add compatibility for use with wdqs within mapframe: reply, add link to Phabricator task |
|||
Line 757:
:This looks like it would be an excellent addition, and would fill one of the gaps that the graph version used to offer. Not knowing how to use SPARQL, I have not managed to test anything yet. Do you have a working version anywhere? (Many thanks for engaging with my rustic LUA and finding the right place to add the query stuff!) [[User:RobinLeicester|RobinLeicester]] ([[User talk:RobinLeicester|talk]]) 12:21, 19 June 2025 (UTC)
::{{reply to|RobinLeicester|Seddon}} The examples are on the /doc page linked above. I’ve cleaned up the addition a bit to fix a bug (missing comma) and avoid manual escaping. (RobinLeicester, I suggest you to make more widespread use of [[mw:LUAREF#mw.text.jsonEncode|mw.text.jsonEncode()]]; I didn’t do so because I don’t know the module well enough to be able to test it.) —[[User:Tacsipacsi|Tacsipacsi]] ([[User talk:Tacsipacsi|talk]]) 12:45, 19 June 2025 (UTC)
:::Can not help at moment as I suspect the data you are loading is geojson (great) but I have almost always got this into OSM-maps (maplink) using the raw parameter as your solution only works I think with data that justifies an ID number like outline of a lake , river or political boundary or feature (and is available under a compatible license) but not the sort of thing I am interested in mapping like mountain peaks in a range, fault lines and geological formations which stores the data if not inline in [[Wikipedia:Map data]] pages.
:::If you gave me a raw parameter as used in {{T|Maplink}} or {{T|mapframe}} I could understand and do good things, with data already in Wikipedia:Map data which is compatible with Wikipedia's CC-BY-SA-3.0 licencing (e.g. as CC-BY licences) which are far less restrictive. [[User:ChaseKiwi|ChaseKiwi]] ([[User talk:ChaseKiwi|talk]]) 20:38, 20 June 2025 (UTC)
|