keplergl / kepler.gl

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

can't load Kepler.gl JSON without data #308

Open geoHeil opened 5 years ago

geoHeil commented 5 years ago

1) load demo earthquakes dataset http://localhost:8080/#/demo/earthquakes 2) click export and export Kepler.gl JSON according to https://github.com/uber/kepler.gl/blob/master/docs/k-save-and-export.md however, without data 3) reload page to http://localhost:8080 4) upload kepler.gl JSON configuration file.

Step 4 hangs for me forever when no data is included (only configuration is loaded). When data is included it works just fine.

An sample kepler.gl JSON configuration file for earthquakes can also be found at https://gist.github.com/geoHeil/fa5898318822829efc144501e49ab163

heshan0131 commented 5 years ago

@geoHeil Kepler.gl doesn't support loading config template before loading any data. It would be a nice feature, though. We haved added it to our backlog

kinshuk4 commented 5 years ago

@heshan0131 Is it possible to add the configuration post-loading the data. I have a use case where I have to load the data and then apply some filtering and add some layers. This I have to do for the everyday data. So, for me the data changes everyday but config remains the same.

hbruch commented 4 years ago

@heshan0131 What is the current state of this feature? Me too, I'd like to have a dataset reloaded on startup. Or still a somewhat more: be capable to provide a dataset name/URL via URL params, so the same map can be created using different datasets (with the same config/structure).

@kinshuk4 Have you found a workaround, perhaps?