keplergl / kepler.gl

Kepler.gl is a powerful open source geospatial analysis tool for large-scale data sets.
http://kepler.gl
MIT License
10.12k stars 1.71k forks source link

[Fix] loading samples with CSV #2493

Closed lixun910 closed 2 months ago

lixun910 commented 6 months ago

Just took another round of tests and noticed the demo samples with CSV data are not correctly loaded. This is caused by switching to use loaders.gl to load csv, geojson and arrow data:

For csv data, loaders.gl csv loader returns ArrayRowTable {data, shape: 'arrary-row-table'} instead of raw data, and it will work with processRowObject() method.

This PR fixes this issue.

lixun910 commented 6 months ago

All samples are loaded correctly now: https://deploy-preview-2493--keplergl.netlify.app/demo

lixun910 commented 2 months ago

This should be addressed in PR: https://github.com/keplergl/kepler.gl/pull/2529