Skip to main content

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
-1 votes
0 answers
28 views

Best practices for serving raster data in WebGIS applications [closed]

I need to serve a lot (about ~10K) of raster data (disconnected - consider rasters spread over an area) to the front end. Currently exploring GeoServer as it helps me serve both raster and vector data....
VGTLS's user avatar
  • 1
-1 votes
1 answer
21 views

Comparing COG and other rasters, Do fast 'gets' mean display benefits? only when serving from cloud? or also when on network and local drives too? [closed]

The same image raster in 3 formats, TIF, COG, JP2. COG have fast GET. Is the fast 'get' represented in fast display when panning? Am I supposed to see COG out perform the others when: if all 3 are on ...
longtimelistener's user avatar
0 votes
1 answer
41 views

Working with COG in GDAL

I have worked with GDAL previously and USGS 1/9th arc second data many years ago before I became severely ill and had to give it up. I am now looking at resurrecting what I was doing. The problem is ...
FalloutBoy's user avatar
0 votes
0 answers
32 views

Deleting a GeoServer COG-based raster store and creating a new one, with same name and a different GeoTIFF, causes GeoServer error

I need to update the COG GeoTIFF at the basis of a GeoServer raster store. Whether I just update the GeoTIFF file, or I remove the store (and related layer) and re-create a new one (with the same name)...
francesco lc's user avatar
0 votes
0 answers
68 views

How to edit the nodata value of GeoTIFF using QGIS/GDAL

I've been given a GeoTIFF, and when I open it, it has white areas where there's no data. In QGIS I've tried looking at the nodata value but it says 'not defined', so after some playing about I found ...
user832190's user avatar
1 vote
0 answers
78 views

Rendering Performance CloudOptimizedGeotiff Band calculation

Displaying this 4 band 16int COGTIFF file size approx 4GB in leaflet via https://cms.geo.admin.ch/Topo/umweltbeobachtung/satromocogviewer.html?url=https://data.geo.admin.ch/ch.swisstopo.swisseo_s2-...
scriptDaddy's user avatar
0 votes
0 answers
66 views

Error configuring ImageMosaic consuming COG data in GeoServer

We are trying to configure an ImageMosaic using COG files in an Azure Blob Storage. I am following this tutorial: https://docs.geoserver.org/main/en/user/community/cog/mosaic.html I can create the ...
Jesús de Diego Alarcón's user avatar
1 vote
1 answer
83 views

Gamma correction of Sentinel-2 imagery using Leaflet

Image Stripes after applying a Gamma correction after normalization with this Sentinel2, 4 Band DN using Leaflet (Complete Code) with this code: <body> <div id="map"></div&...
scriptDaddy's user avatar
1 vote
1 answer
205 views

COG TIFF multiband in Leaflet

I am attempting to display a 4-band Sentinel image where the RGB bands are the first 3 bands, each represented as uint16. Reason: Currently viewers like COGEO tinyurl.com/3jy9jjcy do stretch each COG ...
scriptDaddy's user avatar
3 votes
0 answers
89 views

Writing COG using GDAL C++ API fails with block order warning

I'm using the GDAL C++ API to write a COG which is constructed by the rest of the code. If I use the Geotiff driver, there are no problems. But when I switch over to the COG driver, I'm not able to ...
goalie39's user avatar
0 votes
0 answers
59 views

Implementing COG's plugin with Docker's image with Google Cloud Storage on VM

I'm running geoserver on a Virtual Machine on Cloud engine through Docker, this is the dockerfile I'm using to build the image as this documentation says: # Use the GeoServer image as the base ...
Xander Azuaje's user avatar
0 votes
0 answers
51 views

Download clipped area of Cloud Optimized GeoTIFF

I have a Cloud Optimized GeoTIFF (COG) stored at an endpoint accessible by URL. Using this URL I generate tiles using TiTiler and serve them to my front-end map application. I would like users to be ...
jotamon's user avatar
  • 1,776
0 votes
1 answer
160 views

Creating store with COG/GS GeoTIFF through REST API

I am currently facing challenges with setting up a Cloud Optimized GeoTIFF (COG) store in GeoServer using a Python script. I have been successful in creating a COG store manually through the GeoServer ...
Oddbjørn Larsen's user avatar
1 vote
0 answers
90 views

Is there any way to merge multiple .cog files into one using python?

I need to merge several .cog files into one. I have tried using rasterio, rioxarray, gdal, etc but I have not been able to get it to work. The closest I have been able to get was through this function ...
Guzmán R's user avatar
2 votes
0 answers
33 views

What is the optimal way to modify data (pixel values) only for a small part of a large GeoTIFF?

I have a large GeoTIFF files (blocksize=512, compression=deflate), where I need to modify/update only a small part of data (small region). What is the optimal way to do it (using GDAL, GeoPython ...
jurajb's user avatar
  • 1,214
3 votes
1 answer
186 views

Using COG images uploaded to Amazon S3 ( private bucket) with credentials in OpenLayers?

I am creating a GIS webApp and trying to show GeoTIFF images as basemap with OpenLayers. This approach works perfectly as long as the corresponding URL is publicly accessible, like this example: https:...
ohs's user avatar
  • 31
0 votes
1 answer
871 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
1 vote
0 answers
108 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
  • 598
0 votes
1 answer
69 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
115 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
236 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
  • 326
1 vote
1 answer
74 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
211 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
  • 73
1 vote
1 answer
205 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
765 views

Web Map Service vs Cloud Optimised GeoTIFF (COG) Vs GeoTIFF [closed]

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
  • 33
1 vote
1 answer
146 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
218 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
406 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
882 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
92 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
2 votes
1 answer
593 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
  • 326
0 votes
0 answers
299 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
350 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
382 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
  • 567
1 vote
1 answer
379 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
  • 2,169
2 votes
2 answers
1k 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
259 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
  • 245
3 votes
2 answers
1k 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
  • 326
0 votes
0 answers
604 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
210 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
  • 326
1 vote
0 answers
219 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
716 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
  • 21
0 votes
0 answers
99 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
91 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
830 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,463
1 vote
0 answers
256 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
4k 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,751
2 votes
1 answer
234 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
531 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,559
0 votes
1 answer
40 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