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

Live feed data #143

Open
alukach opened this issue Jun 15, 2015 · 0 comments
Open

Live feed data #143

alukach opened this issue Jun 15, 2015 · 0 comments

Comments

@alukach
Copy link
Member

alukach commented Jun 15, 2015

When experimenting with the ability to pre-load data from a GET parameter (#139), I thought it was pretty interesting to point DropChop at live data sources (such as the USGS dataset of earthquakes within the hour). This sparked the idea of having DropChop poll a supplied data feed and update it as new data arrives. This would likely go in the Add menu and prompt the user with some related options:

  • poll_frequency: Number, how often (in seconds?) to poll the feed.
  • append: Boolean, whether to add newly discovered data to existing data or to replace data with every poll.

Assuming that #141 has been implemented, any analysis on the feed would update as the feed updates.

Some questions:

  • It would be best if the feed could be added with a GET param like url and gist offers (feed makes sense), but I'm unsure how someone would add the feed options via the GET param.
  • If append is true, how do we diff the data? Probably compare the layer's JSON value to the new data, although we'd want to make sure that things like styling data wouldn't interfere with the diff.
  • Assuming that Style layers in layerlist #126 is complete, how does a layer's style carry over to the new data? Maybe style should be stored on the layer like described in Store / edit operation settings  #140.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant