I will extend this question to:
- So I can ignore "unit" - keys in quantity values too (at least as for
now)?
- will "wikibase-entityid"s (in the WDTK: EntityIdValue) only be of
"entity-type" "item" (WDTK: ItemIdValue)?
example:
["value",57,
"wikibase-entityid",{"entity-type":"item","numeric-id":353501}]
I have not encountered other versions so far…
On 26.02.2014 16:34, Markus Krötzsch wrote:
Hi Fredo,
On 26/02/14 16:18, Fredo Erxleben wrote:
Hey there,
When I parse the JSON from the dumpfiles, I find coordinates like
{"latitude":51.835,
"longitude":10.785277777778,
"altitude":null,
"precision":0.00027777777777778,
"globe":"http:\/\/www.wikidata.org\/entity\/Q2"}
However the altitude-key is not represented in the WDTK data model. Is
this key deprecated (i.e. should I ignore it when converting dump-JSON
to WDTK-objects)?
Yes, it has been decided some time ago that altitude will not become
part of the geo datatype any time soon. Altitudes will probably be
specified using quantity values (as soon as units of measurement
work). The altitude data in the internal dump format can be ignored
for now.
Cheers,
Markus
_______________________________________________
Wikidata-tech mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
_______________________________________________
Wikidata-tech mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-tech