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

Using the same query result two times causes an error #18

Open
Rikuoja opened this issue Aug 31, 2021 · 0 comments
Open

Using the same query result two times causes an error #18

Rikuoja opened this issue Aug 31, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@Rikuoja
Copy link
Collaborator

Rikuoja commented Aug 31, 2021

Describe the bug
Trying to use the same query result in two maps in the notebook fails. The result is
AttributeError: 'str' object has no attribute 'geometryType'

To Reproduce
Steps to reproduce the behavior:

  1. Plot a query result with e.g. generate_map([places], 500)
  2. Do 1. again.

Expected behavior
A query result should be plottable multiple times.

Additional context
This is caused by Kepler.gl apparently converting the query result geodataframe geometry column to not be of the type geometry. This happens whenever Kepler.gl plots a geodataframe :(

@Rikuoja Rikuoja added the bug Something isn't working label Aug 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant