[gdal-dev] gdal_translate with srcwin and center reference point

2017-06-14 Thread issam boughanmi
hi, i want to use subset a large raster image using gdal_translate with srcwin parameter but i want also to give some reference point to be at the center of the output file . so if the output file size is 2000X2000 pixel for exemple, i want that my given point(lat/lon) to be at the center

Re: [gdal-dev] gdal_translate via wmts.xml produces an empty tif

2017-06-14 Thread Even Rouault
On mercredi 14 juin 2017 12:16:06 CEST Helmut Kudrnovsky wrote: > http://osgeo-org.1560.x6.nabble.com/file/n5324225/wmts_bm2.xml Add 19 It appears that there are not tiles at zoom level 20, at least in this area. If you add --debug on to the gdal_translate, you'll see: HTTP: Request [13] htt

[gdal-dev] gdal_translate via wmts.xml produces an empty tif

2017-06-14 Thread Helmut Kudrnovsky
hi, following the example in [1] with the WMTS GetCapabilities of [2], I do: gdal_translate "WMTS:https://www.basemap.at/wmts/1.0.0/WMTSCapabilities.xml,layer=bmaporthofoto30cm"; wmts_bm.xml -of WMTS gives this file: wmts_bm.xml

[gdal-dev] gdalmanage enhancement proposal

2017-06-14 Thread M. LATTES
Hi everybody, Using GDAL I've made an utility program to rename raster datasets using theire SRS coordinates.I made it to rename datasets downloaded from different sources, so they have a consistent naming pattern or to update the name after a SRS change with gdalwarp. There is the possibilit

Re: [gdal-dev] Calling GDAL directly from within Python

2017-06-14 Thread Rutger
Hey, To start with a side note, your GDAL version of 3.0.8 doesn't make much sense. The utilities from the bindings are available since 2.1 if I'm correct, and the latest release is 2.2. Doesn't matter though. The text about "GRIB" you are seeing is only the name of the coordinate system, 'gdal.

Re: [gdal-dev] Raster calculation optimalisation

2017-06-14 Thread Rutger
Damian Dixon wrote > It is usually better to process the pixels in a block rather than walking > across each row especially if you are processing a TIFF as these are > usually stored as tiles (blocks). Other layouts are common as well. For example, the Landsat TIFF's provided by the USGS have a ro