[gdal-dev] clear band level metadata

2024-05-29 Thread Michael Sumner via gdal-dev
Hello, I have this process to convert a URL to a MEM dataset. It's not the target data but it's representative, a netcdf with band-level and dataset-level metadata. We can clear the dataset level with COPY_SRC_MDD, but I can't see how to do that for the band level. We're hoping to keep this witho

[gdal-dev] RFC 96 adjustment: Re: Call for review and discussion on RFC96: Deferred in-tree C++ plugin loading

2024-05-29 Thread Even Rouault via gdal-dev
Hi, I just wanted to point that a shortcoming of RFC 96 (https://gdal.org/development/rfc/rfc96_deferred_plugin_loading.html) was discovered. https://github.com/OSGeo/gdal/pull/10068 will address it. Please refer to it for the details. This PR is aimed at being backported for 3.9.1. Pedantic

Re: [gdal-dev] GDAL WMTS get tiles no documentation

2024-05-29 Thread Even Rouault via gdal-dev
Hi, The WMS cache (which is used underneath by the WMTS driver) writes each tiles in a separate file. So if you use multi-threaded, as long as you read in parallel different GDALDataset* object on the WMTS filename, and read disjoint areas, that should be fine. There might be a slight risk of

Re: [gdal-dev] GDAL WMTS get tiles no documentation

2024-05-29 Thread Michał Kowalczuk via gdal-dev
Because this is not clear in documentation, especially in WMTS driver docs, my question is strictly about this issue to programmers who have already explored this topic. Regards Michal W dniu śr., 29.05.2024 o 10:04 Rahkonen Jukka < jukka.rahko...@maanmittauslaitos.fi> napisał(a): > Hi, > > > >

Re: [gdal-dev] GDAL WMTS get tiles no documentation

2024-05-29 Thread Rahkonen Jukka via gdal-dev
Hi, No, I am not sure because I do not program myself. Reading this document https://gdal.org/user/multithreading.html makes me feel that it is possible to do some things in parallel, but the programmer must know how to do it right. -Jukka Rahkonen- Lähettäjä: Javier Jimenez Shaw Lähetetty: k

Re: [gdal-dev] GDAL WMTS get tiles no documentation

2024-05-29 Thread Javier Jimenez Shaw via gdal-dev
On Wed, 29 May 2024 at 08:59, Rahkonen Jukka via gdal-dev < gdal-dev@lists.osgeo.org> wrote: > Hi, > > > > When you have a RasterBand from the WMTS data source, it is abstracted > and you can read the raster data just like from any other data source and > raster band > https://gdal.org/tutorials/

Re: [gdal-dev] GDAL WMTS get tiles no documentation

2024-05-29 Thread Rahkonen Jukka via gdal-dev
Hi, When you have a RasterBand from the WMTS data source, it is abstracted and you can read the raster data just like from any other data source and raster band https://gdal.org/tutorials/raster_api_tut.html#reading-raster-data "There are a few ways to read raster data, but the most common is