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

Scatter plot won't generate data file if occurrences include NaN geospatial coordinates #178

Open
qifeng-bai opened this issue Jun 17, 2021 · 1 comment
Assignees
Milestone

Comments

@qifeng-bai
Copy link
Contributor

We used to fetch spatial-valid data from biocache. It won't trigger this bug.

However, if ScatterPlot receives NaN coordinate, JSONObject.fromObject(scatterplotDataDTO) will throw "JSON does not allow non-finite numbers" exception

@qifeng-bai qifeng-bai self-assigned this Jun 17, 2021
@qifeng-bai
Copy link
Contributor Author

qifeng-bai commented Jun 17, 2021

Temporary solution: replace NaN coordinates with Double.MIN, same as NaN in value

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