Questions tagged [cloud-optimized-geotiff]

A cloud optimized GeoTIFF (COG) is a regular GeoTIFF file, aimed at being hosted on a HTTP file server, whose internal organization is friendly for consumption by clients issuing a HTTP GET range request.

Filter by
Sorted by
Tagged with
0 votes
1 answer
62 views

Converting Orthomosaic TIF Image to COG (Cloud-Optimized Geo-TIFF) [closed]

I have successfully generated an orthomosaic TIF image from a road survey consisting of approximately 1200 images. These images are all located along a single line, reflecting the nature of a road ...
Dhanraj Jain's user avatar
0 votes
0 answers
19 views

Debugging import of cloud optimized GeoTIFFs into PostGIS

I have a fairly basic setup where an Apache web server is sitting alongside a PostGIS instance, all run and created together using docker compose. I have a number of cloud optimized GeoTIFFs (COGs) ...
rumski20's user avatar
  • 464
0 votes
1 answer
50 views

Optimizing rasters and .mxd file to read them faster

I'm using ArcGIS Desktop 10.4 and have large raster and vector files on server which should be available for other PCs to see (they are viewing them in ArcReader). So far, I compressed rasters in ...
educated_morron's user avatar
0 votes
0 answers
45 views

Multiple GeoTIFFs in a single layer from S3

I am wondering does GeoServer have a way that I can render multiple .tiff files as one layer, with those being in an S3 bucket/folder. My current solution is using the COG plugin for GeoTIFF store (...
mattc's user avatar
  • 1
3 votes
2 answers
75 views

Viewing the extents of individual tiles in Cloud Optimized GeoTIFF

I have a COG, e.g. https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/52/J/FS/2023/5/S2A_52JFS_20230501_0_L2A/TCI.tif and I want to inspect the internal tiling structure. How can I ...
staf's user avatar
  • 294
0 votes
0 answers
58 views

COG not rendering in web maps

I have started working with COG and STAC again. I generated COG using GDAL. I stored it in Google Cloud Storage (GCS) and a sample is accessible HERE. I cannot render the image in web maps such as to ...
Nikko's user avatar
  • 561
1 vote
1 answer
34 views

Browser hangs while parsing georaster in geoblaze

I've been trying to create a histogram using geoblaze with a COG from s3. The georaster is as follows: (generated with geoblaze.parse(url)) { _data: '==hidden==', projection: 32618, height: ...
Snape's user avatar
  • 11
0 votes
1 answer
75 views

Slow initial loading of layers in Geoserver from huge COGs stored in a AWS S3

I am working with huge COGs (around 500GB) stored on my private S3 bucket. I am trying to publish these COGs as GeoTiff layers using COG extension in Geoserver. The Geoserver is deployed on an EC2 ...
Ebola's user avatar
  • 63
1 vote
1 answer
97 views

geotiff.js - Elevation at point in DEM raster seems to be null or zero

When reading COG (Cloud Optimized GeoTIFF) or original GeoTIFF of a DEM/DTM (elevation map) file using Geotiff.js directly or geoblaze, elevation at a point through conversion of coordinates to pixels,...
Michael Jernil's user avatar
2 votes
0 answers
203 views

Web Map Service vs Cloud Optimised GeoTIFF (COG) Vs GeoTIFF

I'm looking into COG's to look if a COG would help me improve a application in serving or using GeoTiffs. I've got a working WMS, which gets an input of coordinates and then looks at a tiled GeoTIFF ...
DHend's user avatar
  • 31
1 vote
1 answer
58 views

JPEG2000 with COG like structure

I am looking for a way to use my JPEG2000 over object storage (s3) efficiently. JPEG2000 structure is progressive by resolution, meaning that in order to get the maximum resolution of a tile, all ...
Tobby Moalem's user avatar
1 vote
0 answers
114 views

COG file on S3 storage : Error when accessing COG with GeoServer cog-plugin

I configure a GeoServer's Image mosaics store to get GeoTIFF files from a private S3 storage, compliant with AWS S3. The mosaic's already exists and I followed documentation for migration to S3 (https:...
Olive gak's user avatar
0 votes
0 answers
199 views

Adding COG GeoTIFF image to GeoServer: Lots of reader and projection issues

I'm trying to follow this tutorial: https://docs.geoserver.org/stable/en/user/community/cog/mosaic.html?highlight=install With this GeoTiff: https://noaa-nbm-pds.s3.amazonaws.com/blendv4.1/hawaii/2023/...
Chris Rice's user avatar
0 votes
1 answer
309 views

Using COG from private S3 bucket in geoserver

I am hosting some cloud optimised geotiffs in an S3 bucket to be used as a data store in geoserver. I am having trouble getting this working with a private bucket though, even after providing my AWS ...
sobmortin's user avatar
1 vote
0 answers
68 views

Prevalence of Cloud Optimized GeoTIFFs as standard for online maps

OpenLayers is the only JavaScript library I have found so far that supports Cloud Optimized GeoTIFFS out of the box. Is it common practice to expose data simply as a Cloud Optimized GeoTIFF without ...
gtnbssn's user avatar
  • 11
0 votes
0 answers
65 views

Reading Cloud Optimized GeoTIFFs on Android

Is anyone aware of open-source libraries for Android capable of reading COGs over HTTP and/or local filesystem? I was hopeful when I found https://github.com/geosolutions-it/imageio-ext/tree/master/...
Gino Miceli's user avatar
1 vote
1 answer
269 views

Replacing GeoServer with COG and MVT from a bucket

Is it possible to completely replace GeoServer with a combination of Cloud Optimised GeoTIFFs and precreated Mapbox Vector Tiles hosted in cloud storage? We are thinking to replace our datasets that ...
staf's user avatar
  • 294
0 votes
0 answers
144 views

I need to export a georeferenced image of a selected layer from OpenLayers application

I need to export a georeferenced image of a selected layer from OpenLayers webgis map application for the extent that the map app is currently showing. The layer in the map is rendered by a WebGLTile ...
juraj murcko's user avatar
2 votes
1 answer
177 views

Render multiple COG files using OpenLayers

I am able to render a single COG (Cloud Optimized GeoTIFF) file using OpenLayers examples But, when when I go for rendering of multiple COG files, then it gives error. How can I render multiple COG ...
Aditya Rewari's user avatar
1 vote
1 answer
220 views

Using rasterio to read NDVI data from GIMMS's COG products

I try to retrieve some NDVI data from GIMMS' cloud-optimised geotiffs using rasterio. However, when I use the following code I always get back this 403 error: rasterio.errors.RasterioIOError: HTTP ...
pan's user avatar
  • 537
1 vote
1 answer
211 views

Error when opening TIFF from GCS using geemap : Unsupported BitsPerSample and SampleFormat values: (64, 1)

I have 1 band image saved on GCS. The image has 1 band and was saved locally with cog driver and then uploaded to the GCS. In addition, the band is binary - has only 2 values - either 0 or 1 (mask). I'...
ReutKeller's user avatar
  • 1,967
2 votes
2 answers
453 views

What is the reason for using GeoServer to provide access to Cloud-Optimized GeoTIFFs

I am looking to provide access to a 2 TB Cloud Optimized GeoTIFF (COG). According to my understanding, it would possible to put this on a S3 bucket, and simply have users access it directly from there....
Andrew Plowright's user avatar
3 votes
1 answer
151 views

Adding custom (text) entries to GeoTIFF header

After processing a GeoTIFF, I want to include a note in the output GeoTIFF's header1. A keyword-value note like: "comment = image processed with software version x.y.z". Like we do with FITS ...
Brandt's user avatar
  • 235
2 votes
2 answers
588 views

"S3 Support for GeoTiff" vs "COG (Cloud Optimized GeoTIFF) Support" Geoserver Community Extensions

I have large raster datasets on AWS S3 (~100gb each) that I would like to serve as WMS through Geoserver. Has the "S3 Support for GeoTiff" extension been replaced by the "COG" one? ...
staf's user avatar
  • 294
0 votes
0 answers
299 views

Cloud optimized GeoTIFF creation for DEM GeoTIFF

I came across the problem that when converting DEM GeoTIFF into COG then final COG slightly differs from that of GeoTIFF. Basic stats data are usually in compliance with each other but when having ...
Jan Zachar's user avatar
0 votes
1 answer
152 views

Geoserver stretch WMS color ramp to current view extent?

Is it possible to restyle a Geoserver WMS so that the color ramp is stretched across the min max values for the current map extent (bounding box)? I want to do this for a single band DEM dataset. This ...
staf's user avatar
  • 294
1 vote
0 answers
146 views

JP2 range request GDAL

I am currently investigating if it is possible and practical to obtain JPEG2000 data via HTTP range request, hence in a similar way to cloud optimized geotiff data. As a test environment I have set up ...
user04212's user avatar
1 vote
1 answer
417 views

GeoTIFF COG Mosaic, Custom Projection, OpenLayers

TL;DR I have a collection of 50 COGs in NZTM projection. The COGs are aligned in a seamless grid. I'd like to use these COGs in a similar method to mosaicJSON on like a VRT online, wherein, I can ...
Ian R.'s user avatar
  • 11
0 votes
0 answers
81 views

Blank tiles near borders of shapefile

I've generated a tileindex (.shp file) of some COG files using gdaltindex. However, when loading the shapefile through MapServer in Leaflet, some of the tiles seem to go blank partially when zooming ...
Vadiem Janssens's user avatar
2 votes
1 answer
54 views

Calculate height profile from cogeoTiff using rasterio

I want to create a service calculating height profiles using our CoGeoTiff LaserScan data from Austria. It has a 1m resolution at its deepest level and is about 400GB big. Generating height profiles ...
Philipp Mitterschiffthaler's user avatar
0 votes
1 answer
569 views

gdal_translate TIFF to PNG with added alpha

I am using gdal_translate to create a Cloud Optimized GeoTIFF: gdal_translate ${lvl2_cub} ${tifname} \ -co COMPRESS=LZW -co TILED=YES -b ${gdalidx} -co BIGTIFF=YES \ ...
Jay Laura's user avatar
  • 4,443
1 vote
0 answers
229 views

Poor GeoTIFF display performance using JS plugins contrary to Leaflet for R package

I have question regarding displaying GeotTIFF using leaflet or react-leaflet. There are some packages allowing displaying tiffs, for example I had used: https://github.com/stuartmatthews/leaflet-...
gikdeb's user avatar
  • 35
4 votes
1 answer
3k views

How to save an xarray.DataArray directly as a Cloud Optimized GeoTIFF?

Is there a good way to produce a cloud-optimized GeoTIFF (https://www.cogeo.org) directly from an xarray.DataArray? At the moment it takes me a couple of steps to produce an intermediate regular ...
weiji14's user avatar
  • 1,713
2 votes
1 answer
146 views

Generate jpeg-YCbCr tiles in GeoTIFF file with JFIF format instead pure JPEG format

Currently, my app creates GeoTIFF tiled files using following options: PROFILE=GeoTIFF TILED=YES BLOCKXSIZE=xxx BLOCKYSIZE=xxx COMPRESS=JPEG PHOTOMETRIC=YCBCR JPEG_QUALITY=xx However, some apps that ...
Tio Pepe's user avatar
  • 131
0 votes
1 answer
351 views

COG tiff reports valid from gdal but does not load in QGIS

I have a normal geotiff that i've converted to a Cloud Optimized GeoTiff (COGtiff) via GDAL 3.2: $ gdal_translate image.tif image-COG.tif -of COG it validates successfully with '...
jamierob's user avatar
  • 1,519
0 votes
1 answer
33 views

Using VRT to mimick N bands Geotiff from a k-bands Geotiff, N >> k?

I recently discovered VRT format and I wonder if it could be suited to my problem. I have a program A that expects as an input a N-bands Geotiff (N >> 1000). I have presently k = 200 rasters ...
WaterFox's user avatar
  • 133
0 votes
1 answer
874 views

How do I add COGs from AWS S3 protocol to QGIS map canvas programmatically

I have a private bucket in S3 with COGs in it. Following the instructions here, it's actually very simple to do it manually. However, this does indeed only work manually. Trying to add a COG with the ...
HDunn's user avatar
  • 8,546
0 votes
0 answers
83 views

Quality of my TIFF file goes down dramatically

Every time I upload a TIFF to ArcMap, after I build pyramids (using a nearest neighbor algorithm) the quality of the TIFF file after it is added to ArcMap goes down dramatically. Why?
Programmer888's user avatar
0 votes
0 answers
226 views

rio_cogeo.cog_translate changes values in raster

I've notice that in some cases the output of rio_cogeo.cog_translate has different pixel values than the input image, as if some sort of stretch/scaling has been applied. It seems to also happen when ...
nwork's user avatar
  • 1
3 votes
1 answer
2k views

Fastest Possible Use of GDAL to Merge, Reproject & Convert

I have a ~10GB, Australia-wide, single band dataset consisting of 3,351 GeoTIFFs across 8 projections (Map Grid of Australia [MGA], zones 49 to 56). The data has a 2m resolution but only covers urban ...
minus34's user avatar
  • 739
1 vote
1 answer
440 views

How to read in polygonal section of a GeoTIFF

Here is a link to an example cloud-optimized GeoTIFF: https://copernicus-dem-30m.s3.amazonaws.com/Copernicus_DSM_COG_10_N08_00_W068_00_DEM/Copernicus_DSM_COG_10_N08_00_W068_00_DEM.tif I assign this ...
zabop's user avatar
  • 1,308
0 votes
1 answer
2k views

GDAL translate to COG seems altering the original data image

Trying to compare with gdal info on both images, nothing seems been different but when trying preview images on QGIS with same band settings value, the image seems to be altered. Command use for that :...
Bad Wolf's user avatar
3 votes
3 answers
1k views

How to load Esri 10m land cover data in QGIS

Esri just released a global 10m land cover file. It is being served as an image server here https://tiledimageservices.arcgis.com/P3ePLMYs2RVChkJx/arcgis/rest/services/Esri_2020_Land_Cover_V2/...
ar-siddiqui's user avatar
  • 1,688
1 vote
0 answers
181 views

QGIS Server Not Rendering VRT Layer that is accessing COGS on S3

I have deployed a QGIS server following steps in the user manual on an AWS EC-2 instance. https://docs.qgis.org/3.16/en/docs/server_manual/containerized_deployment.html#docker-stacks I am serving ...
ar-siddiqui's user avatar
  • 1,688
1 vote
0 answers
418 views

Saving COG with NaN values using Python and GDAL

I have a numpy array (data) with some NaN values which I would like to save as a COG using GDAL. I am saving it first to GDAL memory layer and then to COG and I tired using both CreateCopyand ...
radosuav's user avatar
2 votes
0 answers
166 views

Create cloud optimized GeoTIFF without re-encoding?

I have a lot of jpeg-in-geotiff imagery that I would like to convert to Cloud Optimized GeoTIFF. Is there any way to do that without re-encoding the pixel values? I'm trying to avoid paying the price ...
matt wilkie's user avatar
1 vote
0 answers
338 views

GDAL/rasterio multiple windowed reads in one I/O call

I have a cloud optimized geotiff that I need to read multiple small windows from. My current implementation opens the geotiff using rasterio and then performs the windowed reads iteratively. However, ...
user174551's user avatar
2 votes
0 answers
1k views

COG Driver not recognized in GDAL 3.2.0

I want to generate a Cloud Optimized Geotiff (COG) using Python (with Anaconda environment). I wanted to use GDAL 3.2.0 since it has a COG Built in Driver since 3.1. Initially I cannot update GDAL to ...
Nikko's user avatar
  • 561
2 votes
4 answers
1k views

Loading Cloud Optimized GeoTIFF in ArcGIS Pro

Esri claim to support Cloud Optimized GeoTIFF (COG) this, but I can't find anything on the Esri site or elsewhere about how you actually do this. My approach to date in QGIS has been Route 1 - add ...
Stev_k's user avatar
  • 6,634