Daniel J. Dufour
Daniel J. Dufour
Hey, sorry about that. Nothing you've done wrong. There's just often weirdness when dealing with no data values and Float 32 numbers. There's a bit of discrepancy between the No...
Welp, we can rule out georaster initliazation as the issue. I ran the same performance tests with just the initial parseGeoraster step (excluding the statistical calculations) and the results were...
Further investigation reveals the bulk of the extra time is spent calling georaster.getValues. It takes on average 4ms for the single-band rasters, but takes 24,143 ms for the multiband raster....
The plot thickens. I ran a test on geotiff.js readRasters method, which is what georaster uses and it doesn't seem like there's any critical issue with geotiff.js. Singleband raster analysis...
oof, so when I copy the getValues function directly from the georaster source code, it runs very fast. HOWEVER, when I run georaster.getValues from the compiled georaster code it's SUPER...
well I ran the compiled version of the georaster code and it's fast, so I'm at a bit of a loss. It might be an issue with the way the...
Okay. I can confirm that the issue is with the way GeoRaster compiled geotiff.js. GeoRaster has a private property called `_geotiff` that gives you access to a geotiff.js instance of...
Fixing the georaster build process or getting the next major release out the door is going to be a large lift. However, here's the quick hacky fix for georasters that...
Hi, @NoamRa . I'm terribly sorry about the late reply. This is an important issue that you bring up and is certainly something that should be addressed. I'm a bit...