[gdal-dev] Re: [postgis-devel] WKT Raster weekly report #4

Mateusz Loskot mateusz at loskot.net
Thu Jun 25 05:59:01 EDT 2009


Jorge Arévalo wrote:
> I have a question: What's the best way to test a new driver's code? I've 
> loaded this TIFF file into PostGIS using gdal2wktraster.py: 
> http://rapidfire.sci.gsfc.nasa.gov/subsets/?subset=USA1.2009168.terra.2km, 
> and I think that I can simply do gdalinfo PG:.... to test if my driver 
> is working.

Possible, but...

> Another option is to create testing code, but gdalinfo is more reliable 
> that any code that I can write...

you'll most likely need to debug your driver, so having this in mine,
choose your favourite option.

Best regards,
-- 
Mateusz Loskot, http://mateusz.loskot.net


More information about the gdal-dev mailing list