Replies: 2 comments 1 reply
-
I think the underlying deck.gl filter categories is more meant for non-float data. It might be an issue with float comparisons here, especially if If you want to choose a specific category that's based on a float value, perhaps first consider a min range and max range that are within an epsilon of that value. Maybe try |
Beta Was this translation helpful? Give feedback.
-
yeah, I'll certainly make up an example notebook if I get it working! I tried using strings after looking at the deck.gl docs but when I pass that column from my dataframe to the get_filter_category parameter I end up with a TraitError.
I may tinker around this weekend with the validate funciton in traits.py to not check for numeric dtypes and see if I can get it to work with strings. |
Beta Was this translation helpful? Give feedback.
-
I'm not sure what I'm doing wrong, but I can't get the points on my map to filter using filter_categories.
this is the code I'm using to make my data and layer with the data filter extension add it to my Lonboard map
and then after I create the map, I was thinking that this should result in only the point at (2,2) being displayed, but when I run it, they're all still there :(
can anyone help?
Beta Was this translation helpful? Give feedback.
All reactions