Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

occ_search problem rendering data #86

Open
vmzomdav opened this issue Oct 18, 2021 · 0 comments
Open

occ_search problem rendering data #86

vmzomdav opened this issue Oct 18, 2021 · 0 comments

Comments

@vmzomdav
Copy link

I keep on getting this error message from the occ_search at different interval.

geometry is big, querying BBOX, then pruning results to polygon
Error: lexical error: invalid char in json text.
el1":{"gid":"NOR.1_1","name":Could not write JSON: (was java
(right here) ------^

It works when I rerun but then stops after a while. I am searching with geometry.

here is the script:
dump<- occ_search(geometry=pa_wkt, geom_big = "bbox", start = start_from_record, limit = number_of_record_per_page,
fields =('gbifID','datasetKey','institutionCode','year','basisOfRecord','occurrenceStatus','taxonKey','kingdom','phylum','class', 'order','family','genus','species','taxonRank','individualCount','country','countryCode','decimalLatitude','decimalLongitude','coordinateUncertaintyInMeters','license'))$data

here is the error message in R
occ_search_message_error

here is the wkt
pa_wkt.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant