511 questions
Score of 1
1 answer
84 views
How to Render Webmaps using Zarr Format for Flood Data?
I have very large Geotiff Files (.tiff) for Flood Data -
$ gdalinfo flood_probability_2023-09-25_88.19823706960149_24.314907220056885.tif
Driver: GTiff/GeoTIFF
Files: flood_probability_2023-09-25_88....
Score of 1
1 answer
113 views
How to reduce xarray.coarsen with majority vote?
I'm currently trying to resample a large geotiff file to a coarser resolution. This file contains classes of tree species (indicated by integer values) at each pixel, so I want to resample each block (...
Score of 0
0 answers
49 views
Exraction of single band from tiff file which was exported from SNAP
I am a beginner in Google Earth Engine (GEE) and currently working with Sentinel-1 satellite data. I have used SNAP software to perform various preprocessing steps on the data, including multilooking (...
Score of 0
0 answers
93 views
"terra" fails to compute `sum` with thousands of layers in command-line mode (Rscript)
I'm using terra::rast to load approximately 2,000 raster layers (GeoTIFF). Each raster layer is less than 100kb. When running R on interactive mode, it loads normally and I can then use the function ...
Score of 0
1 answer
60 views
Handling mixed datatypes in geospatial data in geotiff file format
I am working with Geotiff file which is 2 byte 2 channel image. I am trying to create third derived channel which is ratio of first band and second band. I am trying to save this band in Float32 ...
Score of 1
0 answers
148 views
Unable to import the compressed ZSTD GeoTiff to PostGIS in Python
I would like to import the compressed ZSTD GeoTiff to PostGIS with the following commands (below) but I get this error: RASTER_fromGDALRaster: Could not open bytea with GDAL. Check that the bytea is ...
Score of 0
1 answer
89 views
How to query the OVERVIEW COMPRESSION type of a GeoTIFF/COG?
We can query the image compression e.g. via gdalinfo img.tif which gives us (among other information) something like
Image Structure Metadata:
COMPRESSION=DEFLATE
INTERLEAVE=BAND
LAYOUT=COG
But ...
Score of 2
2 answers
191 views
Raster not visible in leaflet even though it is visible using plot()
I tried to add a raster file (stored in r_max) to my map.
r_max is a RasterLayer with values from about 0 to 5:
class : RasterLayer
dimensions : 180, 360, 64800 (nrow, ncol, ncell)
resolution : ...
Score of 0
1 answer
114 views
OpenLayers: GeoTIFF on top of OSM layer shows large border
I am trying to load a GeoTIFF on top of an OSM layer with the openlayers library (v10.2.1).
The code to load the GeoTIFF roughly looks like this:
this.modelLayerSource = new GeoTIFF({
...
Score of 1
0 answers
61 views
Is there a way to use the rstac package with Google Earth Engine?
A bit like accessing the planetary computer or the Earth data from NASA, is there a way to access the Google Earth Engine catalogue with rstac (https://developers.google.com/earth-engine/datasets/...
Score of 0
1 answer
153 views
How can I fix this geojson with unwanted vertices?
I'm working with a GeoJSON file that represents the area of the United States at 0 feet elevation. However, when I load it into QGIS, a strange diagonal line appears, stretching across the map. This ...
Score of 0
0 answers
168 views
Problem with rendereing geotiff file in proper bounds with openlayers
I have the code in openlayers 6.
which load the geotiff file - pacific.tif and in some viewers it says it has my projection WGS 84 (my openlayers projection is EPSG:4326).
which load the geotiff file -...
Score of 0
0 answers
51 views
Display cities over .tiff file using Python
I created this .tiff file:
enter image description here
How do I have city labels and county boundaries overlayed on top of it? Like so:
enter image description here
I'd like county boundaries and ...
Score of 0
0 answers
81 views
Openlayers webglLayers band index restriction (4)
I have a "simple" problem to solve: visualize a timeseries of raster data in a web application (using openlayers, if possible). The original format of the raster data is in .asc files. Lets ...
Score of 0
0 answers
93 views
Apply image transformations on Geotiff in c#
I have a Geotiff file and I want to overlay it on a map. For display of the map I am using the GMapControl from GNet. To overlay the image I am using a GMapMarker that I defined and I pass there as ...