[Gdal-dev] default pixel size in gdalwarp

agnes123 agnesyipck at gmail.com
Mon Aug 3 20:33:06 EDT 2009


Dear Frank,

Thank you very much!

By the way, is there any smaple scripts on how to use the
AutoCreateWarpedVRT() in python?

Regards,
Agnes


Frank Warmerdam wrote:
> 
> agnes123 wrote:
>> Frank,
>> 
>> Thanks for your reply.
>> 
>> Do you know if python can use the function  GDALSuggestedWarpOutput2() ?
>> I
>> searched on web and found only the C/C++ examples.
> 
> Agnes,
> 
> I am unaware of it being SWIG wrapped, so the answer appears to be no.
> It is indirectly available via AutoCreateWarpedVRT() which uses it to
> create a virtual warped file.  In theory you could call that, and then
> query it to find the geotransform and pixel/line size then destroy it
> without ever actually using it to do any data warping.
> 
> Best regards,
> -- 
> ---------------------------------------+--------------------------------------
> I set the clouds in motion - turn up   | Frank Warmerdam,
> warmerdam at pobox.com
> light and sound - activate the windows | http://pobox.com/~warmerdam
> and watch the world go round - Rush    | Geospatial Programmer for Rent
> 
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
> 
> 

-- 
View this message in context: http://n2.nabble.com/default-pixel-size-in-gdalwarp-tp3341802p3381564.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.


More information about the gdal-dev mailing list