Questions tagged [cloud-optimized-geotiff]

Filter by
Sorted by
Tagged with
2 votes
1 answer
17 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 ...
user avatar
0 votes
1 answer
36 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 \ ...
user avatar
  • 4,349
1 vote
0 answers
42 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-...
user avatar
  • 35
2 votes
1 answer
208 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 ...
user avatar
  • 1,493
2 votes
1 answer
41 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 ...
user avatar
  • 121
0 votes
1 answer
65 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 '...
user avatar
  • 1,349
0 votes
0 answers
36 views

Seeking ways to improve rendering of surface water in shaded-relief images

I have a question about techniques for depicting surface water features in shaded-relief (hillshade) rendering. I’ve written some Java code for rendering elevation data from the USGS Cloud Optimized ...
user avatar
0 votes
1 answer
24 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 ...
user avatar
0 votes
0 answers
42 views

Convert COG with CRS to dimensions with equal longitude latitude

I have some Cloud Optimized GeoTIFFs exported in a certain CRS. Although the COG was exported in with equal longitude/latitude lengths, its CRS caused the array to have unequal dimensions. (206 lat x ...
user avatar
  • 71
0 votes
1 answer
196 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 ...
user avatar
  • 8,217
0 votes
0 answers
31 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?
user avatar
0 votes
0 answers
67 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 ...
user avatar
  • 1
2 votes
1 answer
535 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 ...
user avatar
  • 709
0 votes
0 answers
66 views

How to speed up reading in specific parts of Cloud-Optimized GeoTIFFs?

After installing rasterio and pystac_client (pip install rasterio & pip install pystac_client), and importing packages: from pystac_client import Client import rasterio import time import random ...
user avatar
  • 324
1 vote
1 answer
65 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 ...
user avatar
  • 324
0 votes
1 answer
392 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 :...
user avatar
3 votes
3 answers
503 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/...
user avatar
  • 1,385
1 vote
0 answers
85 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 ...
user avatar
  • 1,385
0 votes
0 answers
91 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 ...
user avatar
2 votes
0 answers
74 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 ...
user avatar
  • 27.5k
1 vote
0 answers
162 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, ...
user avatar
2 votes
0 answers
648 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 ...
user avatar
  • 430
2 votes
4 answers
590 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 ...
user avatar
  • 6,392