Open qifeng-bai opened 3 years ago
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
Temporary solution: replace NaN coordinates with Double.MIN, same as NaN in value
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