Open martinhschei opened 3 years ago
Hi, @martinhschei . This is a great question. I definitely think it's within scope of the package!
I think we will a few options, but it depends on answers to a couple questions:
Thanks for your patience as we sort this out!
Is your feature request related to a problem? Please describe. Not a problem - more a request for assistance/feature.
I'm reading quite heavy files from disk (GB++) and i want to save the rendered raster layer on disk for use next time the user wants to view it. I simply save the result from new geoRasterLayer() as a JSON; JSON.stringify(layer). When it's time to read the file from disk i can't seem to assemble the layer from the object created from the previously saved raster layer.
Describe the solution you'd like I would like the possibility to do this:
I can see that this approach might be beyond the scope of this package; so the next best solution would be to create a new layer from a simple object that was previously written to file in JSON;
Describe alternatives you've considered I have tried the second approach but i get errors like: "The provided object is not a Layer." "You must initialize a GeoRasterLayer with a georaster or georasters value"