GithubHelp home page GithubHelp logo

aep's People

Contributors

akorkovelos avatar claraiv avatar danielfdsilva avatar olafveerman avatar ricardoduplos avatar shakythesherpa avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

aep's Issues

pushing new branch to remote

Hi team, I have introduced a new case study, I have validated locally and everything seems to be working fine (locally). However, when I am trying to push the new branch to the remote I reveive an authentication error fatal: Authentication failed for 'https://github.com/developmentseed/aep.git/'. I assume this is a security issue that can be resolved via an access token or by simply being added as collaborator? Or is this something I should configure on my machine. Thanks!

Gatsby plugin error

Running into the following error when i try to run the command yarn serve to host the project locally
I am using Mac- OSx 10.15.7

Error: 'babel-plugin-styled-components' is not installed which is needed by pl
ugin 'gatsby-plugin-styled-components'

Screen Shot 2021-04-07 at 11 54 55 PM

Size of symbols on map

Is it possible to change the size of symbols (e.g., points) on the map through the config file? Or symbols come at one side?

Schools not loading

What's wrong

When the layer Schools is enabled, nothing shows up on the map. Also no error message in the console, nor any failed tile requests in the network tab.

Troubleshooting

✔️ The tiles themselves are working: https://aep-tiles.staging.derilinx.com/tiles/ke/schools/mapbox.html

✔️ The metadata.json seems ok and in line with the Mapbox config: https://aep-tiles.staging.derilinx.com/tiles/ke/schools/metadata.json

Source:

    "schools": {
      "tiles": [
        "https://aep-tiles.staging.derilinx.com/tiles/ke/schools/{z}/{x}/{y}.pbf"
      ],
      "type": "vector"
    }

Layer:

    {
      "id": "schools",
      "type": "circle",
      "source": "schools",
      "source-layer": "data_layer"
    }

❌ Interestingly enough console.log(theMap.getLayer('schools')) returns this:

filter: (3) ["all", Array(3), Array(3)]
id: "schools"
layout: di {_properties: wi, _values: {…}}
maxzoom: undefined
metadata: {mapbox:group: "a636a5194689e7c1dede11bf3cd8dcac"}
minzoom: undefined
paint: di {_properties: wi, _values: {…}}
source: "composite"
sourceLayer: "landuse"
type: "fill"
visibility: "visible"

My guess is that the layer name clashes with the layer name in the base style. Any thoughts @danielfdsilva ?

Map loads unexpected layer

What happens

When loading the map, a layer is loaded, even though not of them is enabled in the panel:

image

What I expected

To see the basemap, without any layer on top of it.

When does this happen

When the Mapbox Style specifies a layer (in the example above no2), but this is not referenced in the layer configuration in YML.

Solution

Should we catch this on the content validation?

cc @danielfdsilva

Issue with some fonts

We are seeing that some fonts in the value of the attributes for map popups are displaying some weird characters. Is that something you can look into? Attached is a screenshot of the popup from the Benin country study for the Health Facilities data layer.

yarn build fails

yarn build fails after #9

See: https://github.com/developmentseed/aep/actions/runs/600160021

  35 |   // Get url from window since it is easier.
  36 |   // Gatsby ensures the location refresh.
> 37 |   const url = window.location.toString();
     |               ^
  38 |
  39 |   return (
  40 |     <Dropdown


  WebpackError:ReferenceError: window is not defined
  
  - share-options.js:37 
    src/components/share-options.js:37:15

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.