kepler.gl icon indicating copy to clipboard operation
kepler.gl copied to clipboard

H3 string not being parsed as geo

Open npappin opened this issue 1 year ago • 1 comments

H3 strings are not being detected as H3 types in Jupyter.

Steps: Setup Juypter/Kepler.gl Sample data: test.csv

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.

Screenshot 2023-05-19 at 2 33 53 PM

Desktop (please complete the following information):

  • OS: MacOS Ventura 13.3.1
  • VScode 1.78.2
  • keplergl==0.3.2

npappin avatar May 19 '23 21:05 npappin

Can confirm that this problem still occurs.

RaczeQ avatar Jun 23 '23 18:06 RaczeQ