<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>Hi Juan,</div>
<div><br>
</div>
<div>Can you please send an example of a call you make?</div>
<div><br>
</div>
<div>The occurrence records return the higher keys, as per this example:  <a href="http://api.gbif.org/v1/occurrence/1227769253">http://api.gbif.org/v1/occurrence/1227769253</a></div>
<div><br>
</div>
<div>Thanks,</div>
<div>Tim</div>
<div><u><br>
</u></div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>API-users <<a href="mailto:api-users-bounces@lists.gbif.org">api-users-bounces@lists.gbif.org</a>> on behalf of "Juan M. Escamilla Molgora" <<a href="mailto:j.escamillamolgora@lancaster.ac.uk">j.escamillamolgora@lancaster.ac.uk</a>><br>
<span style="font-weight:bold">Date: </span>Monday 4 April 2016 at 17:36<br>
<span style="font-weight:bold">To: </span>"<a href="mailto:api-users@lists.gbif.org">api-users@lists.gbif.org</a>" <<a href="mailto:api-users@lists.gbif.org">api-users@lists.gbif.org</a>><br>
<span style="font-weight:bold">Subject: </span>[API-users] Missing Id field for taxonomic levels (genus, family, class, order, phylum)<br>
</div>
<div><br>
</div>
<div>
<div bgcolor="#FFFFFF" text="#000000">Dear API users,<br>
<br>
I'm developing a software tool for managing taxonomic information within a given area. This for (re)building community assemblages based on the data provided by GBIF.  I need to have the global Id key for all the taxonomic levels but so far I haven't found
 the way for making the API to include these fields, it only gives me the names (strings) and I want an integer.<br>
<br>
Can you throw me some light on the needed http request ? Or, Is it possible at all?<br>
<br>
Thank you for your time,<br>
<br>
Best wishes,<br>
<br>
Juan<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">On 04/04/16 15:56, Christian Gendreau wrote:<br>
</div>
<blockquote cite="mid:D3284D40.547C%25cgendreau@gbif.org" type="cite">
<div>
<div>
<div>Dear API users,</div>
<div><br>
</div>
<div>Based on the recommendations from the GBIF Data Fitness for Use in Distribution Modelling group and user feedback, the GBIF Informatics team decided to apply some changes to the GBIF API for the occurrences[1] response. We decided to deprecate the field
 "coordinateAccuracy" in favor of the DarwinCore terms based fields "coordinateUncertaintyInMeters"[2] and "coordinatePrecision"[3] as provided(see details below) by the data publishers.</div>
<div><br>
</div>
<div>The JSON response will remain the same structure except:</div>
<div>- coordinateAccuracy will never be found since it will be null and null values are not provided explicitly (same as the current behaviour for most records)</div>
<div>- coordinateUncertaintyInMeters and coordinatePrecision will be included (example: coordinateUncertaintyInMeters: 1000, coordinatePrecision: 0.0001)</div>
<div><br>
</div>
<div>These changes should not break existing applications using the JSON API, and therefore as a non breaking change can be included in the V1 of our API as an enhancement.</div>
<div><br>
</div>
<div>Details:</div>
<div>-coordinateUncertaintyInMeters:</div>
<div>DarwinCore definition: "The horizontal distance (in meters) from the given decimalLatitude and decimalLongitude describing the smallest circle containing the whole of the Location. Leave the value empty if the uncertainty is unknown, cannot be estimated,
 or is not applicable (because there are no coordinates). Zero is not a valid value for this term."</div>
<div>GBIF comment: double, must be greater and not equals to 0 and lower than 5000000 (5000 km), as provided by data publishers with unit stripped (if the value is provided in imperial, conversion will be applied), related issue OccurrenceIssue.COORDINATE_UNCERTAINTY_METERS_INVALID.</div>
<div><br>
</div>
<div>-coordinatePrecision: </div>
<div>DarwinCore definition: "A decimal representation of the precision of the coordinates given in the decimalLatitude and decimalLongitude."</div>
<div>GBIF comment: double, must be between 0 and 1, elated occurrence issue OccurrenceIssue.COORDINATE_PRECISION_INVALID</div>
<div><br>
</div>
<div>We expect the changes to be available next week (between 11-15 April 2016).</div>
<div><br>
</div>
<div>The GBIF Informatics team</div>
<div><br>
</div>
<div>----</div>
<div>[1] <a moz-do-not-send="true" href="http://www.gbif.org/developer/occurrence">http://www.gbif.org/developer/occurrence</a></div>
<div>[2] <a moz-do-not-send="true" href="http://rs.tdwg.org/dwc/terms/coordinateUncertaintyInMeters">http://rs.tdwg.org/dwc/terms/coordinateUncertaintyInMeters</a></div>
<div>[3] <a moz-do-not-send="true" href="http://rs.tdwg.org/dwc/terms/coordinatePrecision">http://rs.tdwg.org/dwc/terms/coordinatePrecision</a></div>
<div><br>
</div>
<div>GBIF Issue tracking reference: <a moz-do-not-send="true" href="http://dev.gbif.org/issues/browse/POR-2795">http://dev.gbif.org/issues/browse/POR-2795</a></div>
</div>
</div>
<div><br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset> <br>
<pre wrap="">_______________________________________________
API-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:API-users@lists.gbif.org">API-users@lists.gbif.org</a><a class="moz-txt-link-freetext" href="http://lists.gbif.org/mailman/listinfo/api-users">http://lists.gbif.org/mailman/listinfo/api-users</a></pre>
</blockquote>
<br>
</div>
</div>
</span>
</body>
</html>