Giter Club home page Giter Club logo

Comments (6)

rasagy avatar rasagy commented on September 23, 2024

A similar thing occurs around San Francisco for Total Users to Date: The dark tile has value=442, but the lighter tiles around it have values>1000.

image

from osm-analysis-dashboard.

jenningsanderson avatar jenningsanderson commented on September 23, 2024

@rasagy hmmm, that is weird, and unfortunately, I have seen this before. I think we need a fail-safe color for the highest values, otherwise it does some weird interpolation; so we may need to add more stops. That, or change the type for the data driven styling?

from osm-analysis-dashboard.

rasagy avatar rasagy commented on September 23, 2024

@jenningsanderson Interesting. If the max stop value is lesser than the actual max values, then maybe that is causing the error. I’ll see if increasing the stop values to a bit higher might work. I’ll also re check the color scale and make sure it’s appropriate.

from osm-analysis-dashboard.

rasagy avatar rasagy commented on September 23, 2024

@jenningsanderson It seems that there are many tiles on top of each other, thus making some tiles darker (less transparent):

readiness-many-tiles

Also in users in active quarter:
image

…and in total users to date:
image

Want to switch to the legend-array branch to check ☝️ and see why this might be happening? I’ve pushed the popup code to show no. of features below the mouse cursor on #16 PR.

from osm-analysis-dashboard.

rasagy avatar rasagy commented on September 23, 2024

@jenningsanderson considering each tileset takes a while to generate, I’m guessing fixing this will take time (even if we figure out why it is happening).

For now, a quick fix is to remove the opacity in the tiles:

readiness-many-tiles-opaque

To test, just checkout the legend-array branch, and use the same quarter for both sides (left has opacity: 0.8, right has opacity: 1)

cc @batpad

from osm-analysis-dashboard.

jenningsanderson avatar jenningsanderson commented on September 23, 2024

@rasagy I think this is a great fix for now, I really like how it looks w/ the labels and full opacity 👍 .

I checked the script, it's running the --no-duplication flag which must mean that data is being written twice to geojson 😞 , meaning this will take longer to debug and I'd rather 🚀 something pretty for SOTM-Asia

from osm-analysis-dashboard.

Related Issues (10)

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.