Hi Akshat,
You caught us between Christmas and New Year, when many people were on holiday.
A synchronous query would be like this:
https://api.gbif.org/v1/occurrence/search?taxon_key=2280097&has_coordinate=true
so I'll assume you mean the asynchronous download service.
query.json:
{
"creator": "MattBlissett",
"notification_address": [ "mblissett@gbif.org" ],
"predicate": {
"type": "and",
"predicates": [
{
"type": "equals",
"key": "TAXON_KEY",
"value": "2280097"
},
{
"type": "equals",
"key": "HAS_COORDINATE",
"value": "true"
}
]
},
"format": "DWCA"
}
curl -i --user MattBlissett:XXXXX -H "Content-Type:
application/json" -X POST -d @query.json
'https://api.gbif-uat.org/v1/occurrence/download/request'
If you still have trouble, please send the Curl request you used.
Thanks,
Matthew Blissett
Hi all,I'm trying to retrieve the latitude and longitude for some specific organisms.I'm trying to use the synchronous download service.I used the 'equals' predicate to filter by the hasCoordinate value. But the curl query just returns a warning saying that it returns an empty post.I hope that someone can help.
Thanks,Akshat
_______________________________________________ API-users mailing list API-users@lists.gbif.org https://lists.gbif.org/mailman/listinfo/api-users