Comments (2)
Hi, @lsntdev . This is indeed a problem. Unfortunately, I spent several hours trying to fix this a few months ago and wasn't able to. However, it will be fixed in the next major release of georaster. (I'm not sure when that will be, but I'm hopeful within 6 months).
In the meantime, I invite you to consult the fix that we used for this problem in stac-layer. We basically wrapped the call with a timeout. If the promise didn't complete in a certain amount of time, we rejected it. You can view that code here:
https://github.com/stac-utils/stac-layer/blob/main/src/utils/create-georaster-layer.js
Let me know if you have any other questions. I'm sorry for the inconvenience this is causing.
from georaster.
I'm wondering if this is related to #38, the fix for which didn't address the web worker path. I'm seeing the same uncaught "TypeError: Invalid byte order value." error from fromSource inside onmessage so I'm hoping it can be fixed by simply adding ".catch(postMessage);" or similar in worker.js plus some plumbing on the receiving side, or just by defining a worker.onerror function.
from georaster.
Related Issues (20)
- Load from Blob on front-end HOT 2
- bilinear resample method is hard coded and not always a sensible option HOT 4
- Should be able to parse GeoTIFFs even if don't have projection information
- Function to return values iterator
- Uncaught Promise Rejection
- Parse Georaster back to ArrayBuffer HOT 3
- webpack 5 support
- parseGeoraster .ovr detection HOT 5
- Is it possible to combine the values from two rasters? I.e. raster math client side HOT 4
- maxs/mins/ranges calculation incorrect HOT 2
- Support passing HTTP headers to the GeoTiff request HOT 4
- Metadata values are ignored when loading COG from URL HOT 1
- rasterio-generated geotiffs have wrong metadata HOT 2
- Missing Tiles on COG edges where tile includes transparency HOT 5
- Extract GeoTIFF metadata/tags in parseData HOT 3
- noDataValue is not ignored to compute mins HOT 1
- CORS with georaster/georaster-for-leaflet HOT 2
- COG area displayed, but COG itself appears to not be shown HOT 5
- load from simple object on front-end, georaster not work with geoblaze
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 georaster.