Skip to content

Raster Roadmap #200

@knutole

Description

@knutole

todo, general raster support


bigSlider (aka chart, aka slider, aka animator)
  • Set title of current layer in bigSlider chart
  • Remove blue line in bigSlider
  • Add event for slider
  • Clean up and document bigSlider code
  • Move bigSlider control 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 bigSlider depending on layer (currently hardcoded to allYears)
  • 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
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
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 + 1 stop... 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 with blur I 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.
    screen shot 2016-04-19 at 3 32 29 pm
  • Fix bugs with raster.styler (eg. carto should be json, not cartocss.) 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.
    screen shot 2016-04-28 at 12 32 38 am
  • add legends for graph (min/max, avg, current year)
    screen shot 2016-04-28 at 12 31 17 am

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions