[gdal-dev] Python/Java GDAL - How to estimate the geo coordinates and width / height without warping dataset?

Even Rouault even.rouault at spatialys.com
Tue May 19 09:14:13 PDT 2020


On mardi 19 mai 2020 12:01:58 CEST Frank Warmerdam wrote:
> Pham,
> 
> I have sometimes taken the approach of doing a "gdalwarp to VRT" which
> creates the configuration of the target dataset in VRT format, but does not
> actually resample any imagery.  The you can open the VRT and query it's
> configuration.  There are also lower level apis to get this information but
> they are not normally exposed through SWIG in Java, Python, etc as far as I
> know.
> 

gdal.AutoCreateWarpedVRT() is available in Java bindings:

https://gdal.org/java/org/gdal/gdal/gdal.html

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20200519/de2cf814/attachment-0001.html>


More information about the gdal-dev mailing list