Comments (6)
Hi, @benboughton1 . That's an excellent question and one that I've wrestled with. For your use case, are all your rasters in the same projection, same pixel size, and same bbox? Are all your rasters geotiffs?
I'm currently solving this issue in georaster-layer-for-leaflet by basically reading all the values individually, warping them to the same box+projection+resolution with geowarp, and then running band arithmetic naively on them without GeoBlaze. It's not ideal.
I would agree that adding support for multiple stacked georasters to geoblaze would be a great contribution! Let me know if you would like to work on this :-)
from geoblaze.
Thanks for quick response. Yes they are all geotiffs, matched width, height, res etc. They are clipped Sentinel 2 or Landsat.
I have since discovered that if I include the individual bands as datasets in the plotty library I can run an expression on that and apply colormap. This generates a PNG I can load onto my OpenLayers map. OpenLayers warps the PNG to match the projection.
I will need to revisit this though since I will want to use some of the other geoblaze tools on the derivatives. I would like to work on it but it might be better served if I sponsored someone who knows what they are doing :). Am happy to talk further if that's an option.
from geoblaze.
How large are the rasters? If all the data can be loaded into memory, I could create a simple georaster-merge library that merges the georasters together.
from geoblaze.
from geoblaze.
Hi, @benboughton1 . Please check out this ObservableHQ notebook I just made and let me know if that helps answer your question:
https://observablehq.com/d/723dc08141af20d0
I'd agree that the code is weird at this point, so hopefully when I have more time I can rework it and make it more clean.
(also just a heads up, that I'm in the middle of a massive georaster update. it's taking several years, so I'm not sure exactly when it'll. be done. Just letting you know that when the next major version is released, it's possible that the code in the notebook will have to be updated. Not sure yet)
from geoblaze.
Thankyou! This will help a lot. I will test this and reopen if I have any issues. The georaster rewrite sounds like a big task.
from geoblaze.
Related Issues (20)
- add proper polygon hole support HOT 2
- add density to reproject-bbox call HOT 1
- COG gives negative array length over network, but works from fs HOT 1
- add support for skewed images
- `rasterCalculator` with polygon clipping? HOT 3
- Remove worker_threads warning on initial import HOT 1
- add support for precise geometry expressed with numerical strings
- replace most logic in utils.getBoundingBox with bbox-fns/calc.js HOT 1
- Gnarly results that I can't explain HOT 3
- NaN values cause unexpected results
- improve isBbox
- Can't get stats within a geojson geometry HOT 2
- validate GeoJSON Input
- A multipolygon and 2 single polygons give differing results HOT 2
- Large error when raster extent and geometry bbox don't overlap HOT 4
- bbox per polygon HOT 1
- Improve accuracy of re-projected geometries HOT 1
- Multipolygon producing unexpected sum - antimeridian crossing scenario HOT 5
- investigate multi-band performance HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from geoblaze.