H3 string not being parsed as geo
- Dominant language
- TypeScript
- Stars
- 12k
- Forks
- 2k
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 66
Description
H3 strings are not being detected as H3 types in Jupyter.
Steps:
*Setup Juypter/Kepler.gl*
Sample data: [test.csv](https://github.com/keplergl/kepler.gl/files/11520655/test.csv)
```python
from kepler import Kepler.gl
map = KeplerGL()
map
# Working code
url = 'http://eric.clst.org/assets/wiki/uploads/Stuff/gz_2010_us_040_00_500k.json'
country_gdf = geopandas.read_file(url)
map.add_data(data=country_gdf, name="state")
# End of working code
# This causes the interface to continue to work. If not, then the screen fails to render or renders completely white.
# Problematic Code
with open('test.csv', 'r') as data:
test = data.read()
map.add_data(data=test, name='test')
# End Problematic Code
```
I expect the data to be parsed as an h3 tile. It does not.
**Desktop (please complete the following information):**
- OS: MacOS Ventura 13.3.1
- VScode 1.78.2
- keplergl==0.3.2
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the issue in Jupyter with the provided test.csv and the map.add_data(data=test, name='test') entry point, then compare it with the working GeoDataFrame example. Trace how string data is detected and rendered, and verify that H3 strings are recognized as H3 tiles without the interface becoming blank or failing to render.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- jupyter, python
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100