[gdal-dev] Filtering GeoTIFFs touching/inside an area

jratike80 jukka.rahkonen at maanmittauslaitos.fi
Tue Apr 18 12:39:39 PDT 2017


Nelson A. de Oliveira wrote
> Is it possible to filter GeoTIFFs touching/inside a specific area?
> 
> For example, https://i.imgur.com/xPA4iqq.png
> 
> I have a lot of GeoTIFFs, an area and would like to somehow filter
> only the images that are touching or inside that area.
> It's not exactly a clipping here, since I need to keep the GeoTIFFs
> intact.

Hi,

A simple method is to utilize gdaltindex http://www.gdal.org/gdaltindex.html
for creating a shapefile that holds the envelopes and file names. Gdaltindex
is a bit inaccurate because it stores the envelopes of the images as
polygons without considering possible no-data areas.

-Jukka Rahkonen-



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/gdal-dev-Filtering-GeoTIFFs-touching-inside-an-area-tp5317591p5317678.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.


More information about the gdal-dev mailing list