Den 27-08-2013 00:05, Lydia Pintscher skrev:
We've also just updated the software here. This brings a number of bug
fixes and other improvements. The ones that are probably most
important for you:

* API: Precision and globe parameters are now required for geocoordinate data.

It seems that you at the same time have introduced a new data value type called "bad" for the existing geocoordinate data without precision or globe.

It looks like this for Q30209 in the 2013-08-27 database dump with extra whitespace inserted by me:

{
  "m":
  [
    "value",
    625,
    "bad",
    {
      "latitude":12.186111,
      "longitude":-68.989444,
      "altitude":null,
      "globe":null,
      "precision":1.0e-5
    }
  ],
  "q":[],
  "g":"q30209$A38B8E00-97D5-412D-9903-EE5F867D08B2",
  "rank":1,

"refs":[[["value",143,"wikibase-entityid",{"entity-type":"item","numeric-id":10000}]]]
}

And like this in the API: https://www.wikidata.org/w/api.php?action=wbgetclaims&format=json&entity=Q30209&property=P625&format=xml

Regards
- Byrial


_______________________________________________
Wikidata-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-l

Reply via email to