Le vendredi 04 novembre 2016 18:00:10, Rahkonen Jukka (MML) a écrit : > Hi, > > Once again someone wants to get the footprints of valid data in images > http://gis.stackexchange.com/questions/216624/creating-a-shapefile-for-foo > tprint-of-tasters-valid-data-areas-with-gdal. > > A year ago, in here > https://lists.osgeo.org/pipermail/gdal-dev/2015-October/042859.html Even > suggested to create a mask-only image with > gdal_translate in.tif mask.tif -b mask > and then polygonize that into vectors with gdal_polygonize. > > I wonder how hard it would be to make gdal_polygonize to find the mask band > directly and recognize it with "-b mask" just like gdal_translate does.
Not that hard. I just added support for that. Even -- Spatialys - Geospatial professional services http://www.spatialys.com _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev