-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
Description
todo, general raster support
bigSlider (aka chart, aka slider, aka animator)
- Set title of current layer in
bigSliderchart - Remove blue line in
bigSlider - Add event for slider
- Clean up and document
bigSlidercode - Move
bigSlidercontrol to map options? (Need to think about this actually, cause it's connected to cube-layer, etc.)
Pull data from raster
- Designate what data to pull into
bigSliderdepending on layer (currently hardcoded toallYears) - Support for any time-format in
bigSlider(eg. minutes, not just days) (@knutole) - Change content of slider chart when changing layer (ie. chart should be connected to layer)
- Request yearly data directly from server, querying PostGIS raster.
Cube meta
- "Missing metadata" error when creating empty cube (@knutole)
- better meta in cube dataset list (now only date, text - should add filename, timestamp, etc.) (@knutole)
Animation
- Websocket tiles (@knutole) Leaflet.GridLayer: Websocket & Cache #210
Server cache
- Save rendered tiles to disk, and read from disk
- Add md5 for cartocss in tile url (or something), to diff between styles so that cache is correct
Add support for single-raster styling
- should be same type as cube styler (stops)
- should update with cartocss on pile-layer and styleJSON on wu-layer (just like other layers)
Add support for more stops
- should be possible to add/remove more stops
- cool if opacity could be included in color-picker, instead of input box (find a better colorpicker?)
- PR to support multiple sliders: Adds support more than two handles on one slider (and fixes a minor step interface bug) leongersen/noUiSlider#592
Legends
- frano would like to bring some design-ideas on legend for cube-layers
- need to create a legend for raster/cube layers
Other, bugs
- Weird bug with clicking "Upload button options" - seems D3.js is doing some large job, and there's almost a full second delay. (Perhaps datalib-refresh triggered on click?) See Optimize Data Library (d3) #203.
Small bugs on raster styler
- raster styler is open if a layer has been selected before styler is opened
- something wrong with the way we set
val + 1stop... we have to look more at this, it doesn't turn out as nice, somehow. (@jorgenevil kan vise deg et eksempel til uka) This has to do withblurI think (ie.raster-scaling: gaussian;) - when first stop has opacity 0 and color, and next stop opacity 1 and diff color, the color-scale between them does not take into accoun that halfway the opacity is 0.5 and the color from first stop should be showing. Like here, first stop has opacity 0, but color blue. This is reflected in the rendered raster, but not in the color-scale in the raster.

- Fix bugs with
raster.styler(eg. carto should bejson, notcartocss.) this code
Graph bugs
- graph: red triangle not showing on Jan 1st
- when skipping backwards one day at a time across new years, slider doesn't move to far right
Graph design
- Cut some white areas, it takes up a lot of space
- Try some kind of transparent graph? Problems with white area of graph itself, which are not easy to remove. Perhaps just box transparent, but graph itself with white background.

- add legends for graph (min/max, avg, current year)

Minor features
- tabbing in styler list - would be nice to be able to [tab] into the next input
- not possible to dblclick outside of last stop. (not really a bug, but counter-intuitive)
- set type of stop (exact, linear, etc.) https://github.com/mapnik/mapnik/wiki/RasterColorizer#modes
- add different min/max values than 0-255 (needs server-side checking of range in raster)
- set blur or no blur (
raster-scaling: gaussian;) https://github.com/mapbox/carto/blob/master/docs/latest.md#raster Note: blur doesn't work on server right now, for some reason. - click on graph to move to that point in time (discuss. bit tricky how to propagate current date.)
Areas
- Add areas (nedbørsfelt) as vector
- Query raster based on areas
- Update graph based on data from areas
- Update graph based on data from custom (drawn) areas
- etc...
Script
- Upload data to existing cube (ie. not create new cube, and don't add to project)
- Upload data to exisiting project (ie. not create project, but add cube to existing project)
- Some simple way to identify format (moment.js compatible)... Worst case, one-liner fn, or just presets which to choose from.
Reactions are currently unavailable