Giter Club home page Giter Club logo

Comments (4)

ilan-gold avatar ilan-gold commented on May 31, 2024

I am going to make a PR on this but I will recommend people not use it. It is way too slow as things stand, even with a caching mechanism as in #30. I'll merge it, but the request times are appalling:

Compare zarr:
Screen Shot 2020-02-03 at 3 47 55 PM
With geotiff:
Screen Shot 2020-02-03 at 3 48 56 PM

This will need more investigation and another PR but I will merge the current functionality tomorrow

from viv.

bherr2 avatar bherr2 commented on May 31, 2024

Interesting.. They're both doing range requests on flat files right? I wonder why there would be any speed difference at all.

from viv.

ilan-gold avatar ilan-gold commented on May 31, 2024

They are not both doing range requests - only GeoTIFF is. Perhaps this is it. Zarr does not need to. The data definitely appears to be compressed as the pyramid files are smaller than the raw original image, and GeoTIFF recognizes it as compressed. So I'm not sure what's going on here. I'll try regenerating the pyramid and seeing what I get.

from viv.

ilan-gold avatar ilan-gold commented on May 31, 2024

Ok just updated the code to cache the decoder pool. It works much better now in terms of rendering but it seems like it might turn your computer's fan on. So let's call this the alpha version :). I suspect that once DeckGL releases their TileLayer improvements so fetching isn't so naive, it will stop doing that.

from viv.

Related Issues (20)

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.