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

Updating data is impossible #560

Closed
geoHeil opened this issue Jun 17, 2019 · 2 comments
Closed

Updating data is impossible #560

geoHeil opened this issue Jun 17, 2019 · 2 comments

Comments

@geoHeil
Copy link

geoHeil commented Jun 17, 2019

After configuring a visualization I want to update the data.

Am I missing a replace data layer button? The only way forward seems to add a new file and then manually switch all layers over to the new file and then drop the old one. Is there a smoother workflow available? How can I replace the data contents of a layer simply like replacing a file in QGIS.

#176

Currently we don't have a straight way to update an existing dataset.

In the meanwhile, you can change your flow by skipping removeDataSet and call addDataToMap with your new data. Make sure the new dataset id that you are passing as addDataToMap call matches the existing one; by doing so you are going to override existing data with your new data.

How can I access this functionality on the demo app? Uploading the same file name twice will not replace but rather upload a different id for the same name.

@macrigiuseppe
Copy link
Collaborator

It's not possible right now, in the future when we will introduce the layer duplication you will be able to do so.

@geoHeil geoHeil closed this as completed Jun 22, 2019
@cdolan92
Copy link

cdolan92 commented Jan 8, 2020

Any updates been made here ? Challenging to use this regularly in the kepler.gl/demo site without replace.

It looks like this functionality was added in a demo under vis.academy? http://vis.academy/#/kepler.gl/3-load-config

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

3 participants