GithubHelp home page GithubHelp logo

globalfishingwatch / frontend Goto Github PK

View Code? Open in Web Editor NEW
13.0 8.0 2.0 67.86 MB

Hosts GlobalFishingWatch apps and libraries.

JavaScript 4.37% HTML 5.22% CSS 6.11% TypeScript 84.03% Dockerfile 0.25% Shell 0.02%
typescript react monorepo environment fishing gfw map react-map-gl mapbox-gl-js maplibre-gl-js

frontend's Issues

Data download not available even for registered users.

Hi there,

I've noticed some changes in the data download in the past 3-4 weeks. No geometry datasets are available for download even for registered users.
In registered log in mode, I'm trying and failing to:

  1. Download ship tracks for specific ship (worked last time for download on 22nd Jan) -> no download button available.
  2. Download EEZ limits.

Download works for gridded data.

I guess this might be one of the culprits?
[https://github.com/GlobalFishingWatch/frontend/commit/54bf793a16e50de94fa207fbbd41234bb1da3a0d] #1234

Can you please check?
It has been reported by multiple users.

Layer composer brainstorming

Coming from map-components/issues/64 this issue resume the main points of that conversation and opens the conversation in this repo.

Brainstorm 23/01/2020:

  • Tests all existing generators - mapbox gl style check for each of them as a minimum

  • Playground to test layers, we could even include a layer template for each type

  • Generators need documentation

  • Error handling: generators should throw when bad inputs are given

  • We need a core generator class that generators extend:

    • Manage standard style behaviours : visibility, interactive, selected/highlighted states with default and overrides system
    • Common utilities set: color handling/conversion
    • Handle overrides done by dataviews-client
    • Pass global parameters : start/end. others?
  • InteractionManager as done in the Books project:

    • Based on LayerManager input parameters
    • Responsible for generation of interactiveLayerIds
    • Handles feature interaction priority
    • Prepares popup data in a standard way
    • Overwrites style generated by LM depending on selectedFeatures and highlightedFeatures for each layer?
    • Manages map cursor states?
    • Handles cluster interactivity? (ie zoom to zoom level X when feature is clustered, do whatever when feature is not clustered)
    • selectedFeatures: support multiple features and expressions (might be overkill for now)
  • LegendManager / Legend component

    • Reads standardised legend data generated by LayerManager in map style
  • Attributions / AttributionManager

map-styler

  • compose (params -> GL style)
  • sort (GL style -> GL style)
  • getFeatures (GL style -> GL style with selected features, selected features info, interactiveLayerIds)
  • getAttributions (GL style -> attributions)
  • getLegends (GL style -> legends)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.