mapwarper icon indicating copy to clipboard operation
mapwarper copied to clipboard

Use Structured Data

Open nicolasmaia opened this issue 5 years ago • 3 comments

It would be great if mapwarper directly added structured data statements with the coordinates instead of using unstructured text.

nicolasmaia avatar Dec 29 '20 11:12 nicolasmaia

Thanks for the issue, could you explain a little bit more?

There is an API which returns data in JSON format which might help?

timwaters avatar Dec 29 '20 13:12 timwaters

Much like Wikidata, Commons now allows describing images with structured, machine-readable statements. See the structured data tab on this image, for example: https://commons.wikimedia.org/wiki/File:Comiss%C3%A3o_cient%C3%ADfica_francesa_do_tr%C3%A2nsito_de_Venus_de_1874_destinada_ao_Jap%C3%A3o.png

More details here: https://commons.wikimedia.org/wiki/Commons:Structured_data

Related phabricator ticket: https://phabricator.wikimedia.org/T181145

nicolasmaia avatar Dec 30 '20 00:12 nicolasmaia

Thanks. So the question would be. How to do this, what should it look like, what needs to change.

is this just for the wikimedia mapwarper or for the main one?

In other words, from the title of the phabricator ticket, we need to answer: "Investigate how Wikimaps Warper can benefit from structured data". I currently do not know.

timwaters avatar Dec 30 '20 11:12 timwaters