Re: [gdal-dev] WMTS gdal_translate vs RasterIO

2024-08-30 Thread Michał Kowalczuk via gdal-dev
mpress quite a large area of a raster into > a single line of pixels? You have probably some interesting use case. > > > > -Jukka Rahkonen- > > > > *Lähettäjä:* Michał Kowalczuk > *Lähetetty:* perjantai 30. elokuuta 2024 10.28 > *Vastaanottaja:* Rahkonen Jukka

Re: [gdal-dev] WMTS gdal_translate vs RasterIO

2024-08-30 Thread Rahkonen Jukka via gdal-dev
into a single line of pixels? You have probably some interesting use case. -Jukka Rahkonen- Lähettäjä: Michał Kowalczuk Lähetetty: perjantai 30. elokuuta 2024 10.28 Vastaanottaja: Rahkonen Jukka Kopio: Robert Coup ; gdal-dev@lists.osgeo.org Aihe: Re: [gdal-dev] WMTS gdal_translate vs RasterIO

Re: [gdal-dev] WMTS gdal_translate vs RasterIO

2024-08-30 Thread Michał Kowalczuk via gdal-dev
> *Lähetetty:* perjantai 30. elokuuta 2024 9.59 > *Vastaanottaja:* Robert Coup > *Kopio:* gdal-dev@lists.osgeo.org; Rahkonen Jukka < > jukka.rahko...@maanmittauslaitos.fi> > *Aihe:* Re: [gdal-dev] WMTS gdal_translate vs RasterIO > > > > Sorry for incorrect sample comm

Re: [gdal-dev] WMTS gdal_translate vs RasterIO

2024-08-30 Thread Rahkonen Jukka via gdal-dev
: perjantai 30. elokuuta 2024 9.59 Vastaanottaja: Robert Coup Kopio: gdal-dev@lists.osgeo.org; Rahkonen Jukka Aihe: Re: [gdal-dev] WMTS gdal_translate vs RasterIO Sorry for incorrect sample commands in the last message. I fixed it. The problem stays the same, because the problem was in email not in my

Re: [gdal-dev] WMTS gdal_translate vs RasterIO

2024-08-30 Thread Michał Kowalczuk via gdal-dev
Sorry for incorrect sample commands in the last message. I fixed it. The problem stays the same, because the problem was in email not in my tested code. *gdal_translate -srcwin 0 0 1073741760 1553779 -outsize 691 1 "WMTS:https://basemap.nationalmap.gov/arcgis/rest/services/USGSHydroCached/MapServer

Re: [gdal-dev] WMTS gdal_translate vs RasterIO

2024-08-29 Thread Michał Kowalczuk via gdal-dev
I see. I will double check commands, fix and return to this. W dniu czw., 29.08.2024 o 12:20 Robert Coup napisał(a): > Hi Michał, > > In addition to Jukka's key point: > > nBufXSize=1, > nBufYSize=691, > > appears to be backwards wrt: > > -outsize 691 1 > > Rob :) > ___

Re: [gdal-dev] WMTS gdal_translate vs RasterIO

2024-08-29 Thread Robert Coup via gdal-dev
Hi Michał, In addition to Jukka's key point: nBufXSize=1, nBufYSize=691, appears to be backwards wrt: -outsize 691 1 Rob :) ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] WMTS gdal_translate vs RasterIO

2024-08-29 Thread Rahkonen Jukka via gdal-dev
lemetrixset. -Jukka Rahkonen- Lähettäjä: gdal-dev Puolesta Michal Kowalczuk via gdal-dev Lähetetty: torstai 29. elokuuta 2024 12.01 Vastaanottaja: gdal-dev@lists.osgeo.org Aihe: [gdal-dev] WMTS gdal_translate vs RasterIO Hi once again! I came across another problem using WMTS. The followi

[gdal-dev] WMTS gdal_translate vs RasterIO

2024-08-29 Thread Michał Kowalczuk via gdal-dev
Hi once again! I came across another problem using WMTS. The following translate command: *gdal_translate -srcwin 0 0 1073741760 1553779 -outsize 691 1 "WMTS:https://basemap.nationalmap.gov/arcgis/rest/services/USGSHydroCached/MapServer/WMTS/1.0.0/WMTSCapabilities.xml,layer=USGSHydroCached,tilematr