On vendredi 15 mai 2020 19:23:30 CEST Denis Rykov wrote: > Hello, > > I'm using gdal_translate to convert a certain area of TMS service (WMS > driver) to GeoTIFF. Is there a way to set up a zoom level for GDAL to be > used for building an image? By now GDAL picks zoom level with closest > resolution. For example, if I want to get image of 1 meter resolution ( > "-tr 1 1") GDAL goes to zoom level that has 1.2 resolution. But it would be > great to have a way to pick a zoom level with resolution not lower than the > specified (0.6 in this case). Thanks.
You can use the generic open option -oo OVERVIEW_LEVEL=x If the full resolution is zoom_level=18, and you're interested in zoom_level=15, then x = (18 - 15) - 1 = 2 Even -- Spatialys - Geospatial professional services http://www.spatialys.com
_______________________________________________ gdal-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/gdal-dev
