dekart icon indicating copy to clipboard operation
dekart copied to clipboard

[Feature] Provide Support for Uploading Json files

Open truly-indian opened this issue 1 year ago • 3 comments

Currently, there is no support for uploading json files. We should add one.

truly-indian avatar Jun 26 '24 10:06 truly-indian

@Tsovak can you plz let me know why this support does not exist at dekart. Also, if you guys are okay I am ready to work on providing this feature.

truly-indian avatar Jun 26 '24 10:06 truly-indian

Hey, @truly-indian, there one problem with JSON. Data for Kepler.gl must be in tabular format:

data.datasets.data Object *required The data object, in a tabular format with 2 properties

https://docs.kepler.gl/docs/api-reference/actions/actions#adddatatomap

I don't how to convert arbitrary user jsons into the tabular; these are the processors https://docs.kepler.gl/docs/api-reference/processors/processors

However Kepler itself supports export to JSON which then can be imported: https://docs.kepler.gl/docs/api-reference/processors/processors#processkeplergljson

If you create PR with support of this kind of JSON uploader, it would be much appreciated! I was planning to work on this myself in 4-5 weeks from now.

delfrrr avatar Jun 29 '24 05:06 delfrrr

@truly-indian do you use Dekart self-hosted to SaaS?

delfrrr avatar Jun 29 '24 05:06 delfrrr