Update ufo example data
Downloaded a newer version of the data from https://www.kaggle.com/datasets/NUFORC/ufo-sightings?select=scrubbed.csv and fixed the remaining errors in it.
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -124,12 +124,6 @@ client.onload = function () {
|
|||||||
prevIndex = curIndex + 1;
|
prevIndex = curIndex + 1;
|
||||||
|
|
||||||
const coords = fromLonLat([parseFloat(line[5]), parseFloat(line[4])]);
|
const coords = fromLonLat([parseFloat(line[5]), parseFloat(line[4])]);
|
||||||
|
|
||||||
// only keep valid points
|
|
||||||
if (isNaN(coords[0]) || isNaN(coords[1])) {
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
const shape = line[2];
|
const shape = line[2];
|
||||||
shapeTypes[shape] = (shapeTypes[shape] ? shapeTypes[shape] : 0) + 1;
|
shapeTypes[shape] = (shapeTypes[shape] ? shapeTypes[shape] : 0) + 1;
|
||||||
shapeTypes['all']++;
|
shapeTypes['all']++;
|
||||||
|
|||||||
Reference in New Issue
Block a user