MULTIPOLYGON support appears to be gone?
Hi all,
It appears that MULTIPOLYGON is rejected again now. E.g.,
http://api.gbif-uat.org/v1/occurrence/search?GEOMETRY=MULTIPOLYGON(((30%2020... gives
Invalid simple WKT: MULTIPOLYGON(((30 20, 45 40, 10 40, 30 20)),((15 5, 40 10, 10 20, 5 10, 15 5
And same for api.gbif.org base URL. Did support for MULTIPOLYGON get reverted?
Thanks! Scott Chamberlain
Hi Scott,
Is that a typo in your message? The example you provide is missing ))) at the end of the URL. When you add it, it works, but returns no results which seems plausible.
http://api.gbif.org/v1/occurrence/search?GEOMETRY=MULTIPOLYGON(((30%2020,%20...))) http://api.gbif-uat.org/v1/occurrence/search?GEOMETRY=MULTIPOLYGON(((30%2020...)))
Thanks, Tim
From: API-users <api-users-bounces@lists.gbif.orgmailto:api-users-bounces@lists.gbif.org> on behalf of Scott Chamberlain <myrmecocystus@gmail.commailto:myrmecocystus@gmail.com> Date: Wednesday 5 October 2016 at 21:32 To: "api-users@lists.gbif.orgmailto:api-users@lists.gbif.org" <api-users@lists.gbif.orgmailto:api-users@lists.gbif.org> Subject: [API-users] MULTIPOLYGON support appears to be gone?
Hi all,
It appears that MULTIPOLYGON is rejected again now. E.g.,
http://api.gbif-uat.org/v1/occurrence/search?GEOMETRY=MULTIPOLYGON(((30%2020... gives
Invalid simple WKT: MULTIPOLYGON(((30 20, 45 40, 10 40, 30 20)),((15 5, 40 10, 10 20, 5 10, 15 5
And same for api.gbif.orghttp://api.gbif.org base URL. Did support for MULTIPOLYGON get reverted?
Thanks! Scott Chamberlain
Hi,
Thanks Tim! Nevermind, false alarm. it seems the http client library i'm using was hacking up the URL for some reason.
Best, Scott
On Wed, Oct 5, 2016 at 1:26 PM Tim Robertson trobertson@gbif.org wrote:
Hi Scott,
Is that a typo in your message? The example you provide is missing ))) at the end of the URL. When you add it, it works, but returns no results which seems plausible.
http://api.gbif.org/v1/occurrence/search?GEOMETRY=MULTIPOLYGON(((30%2020,%20...)))
http://api.gbif-uat.org/v1/occurrence/search?GEOMETRY=MULTIPOLYGON(((30%2020...)))
Thanks, Tim
From: API-users api-users-bounces@lists.gbif.org on behalf of Scott Chamberlain myrmecocystus@gmail.com Date: Wednesday 5 October 2016 at 21:32 To: "api-users@lists.gbif.org" api-users@lists.gbif.org Subject: [API-users] MULTIPOLYGON support appears to be gone?
Hi all,
It appears that MULTIPOLYGON is rejected again now. E.g.,
http://api.gbif-uat.org/v1/occurrence/search?GEOMETRY=MULTIPOLYGON(((30%2020... gives
Invalid simple WKT: MULTIPOLYGON(((30 20, 45 40, 10 40, 30 20)),((15 5, 40 10, 10 20, 5 10, 15 5
And same for api.gbif.org base URL. Did support for MULTIPOLYGON get reverted?
Thanks! Scott Chamberlain
participants (2)
-
Scott Chamberlain
-
Tim Robertson