keplergl / keplergl/kepler.gl

Data filters to have a HARD filters option limiting the dataset for other filters.

Open
#1,303 0 comments 0 reactions 1 assignee Claimed by @heshan0131 View on GitHub
Dominant language
TypeScript
Stars
12k
Forks
2k
Avg merge
1d 5h
Merged PRs (30d)
66

Description

The filter behavior is inconssistent. They do filter the content on the map but in some other places in the interface there operations are carried out on whole dataset. That is sometimes useful

Poposal is to introduce the switch for a filters to to make them into 2 categories VIEW filters that would behave as they do now. And HARD filters would temporarily limit the dataset available for other filters. It would be then necessary to add ability to apply them in order.

One example of use is where I have data that are very dense (1Hz update, for an hour) but taken in a bursts sometimes days and weeks apart. This makes a time filter or a time replay completely unusable.

![2020-10-22 11_50_34-Window](https://user-images.githubusercontent.com/23699880/96855452-072f8180-145d-11eb-96f6-ab1e4ace8966.png)

You can see only two spikes as the 2 drives are 7 weeks apart, there is no way to zoom into a date range.

![2020-10-22 11_51_12-Window](https://user-images.githubusercontent.com/23699880/96855963-b79d8580-145d-11eb-86a7-91c10bba1a85.png)

Here I apply a geo filter, that is just a map view filter, the timeline is still showing the whole dataset despite the fact that I'm confident that displayed substet of data is only from a single 1h window. That is not reflected in the time filter/player. And IMHO it should by default or at least it should be an option to do so.

-----other related issue---------

This is related to the issue https://github.com/keplergl/kepler.gl/issues/1302 I marked as a bug. Where a legend scale behaves as it would be under HARD filter (it changes realtime to the filter range) but the main window view behaves a VIEW filter creating discrepancy between the legend and view.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.