Hi All,

RFC 36: http://trac.osgeo.org/gdal/wiki/rfc36_open_by_drivername

The goal of RFC 36 is to save processing time by telling GDALOpen what driver 
to use, avoiding the driver-probing mechanism (Where all drivers are asked to 
checked if they recognize the file).

It works by adding the driver name before the file-name as in 
GDALOpen("hfa:example_file.img").

*It is optional*. It does not invalidate the current simple filename entry that 
most of the drivers use nor the more complex "filename" string formats used by 
a few drivers (with things like server-name, port-number, table-name).

It is intended to speed up applications or scripts that need to process a large 
number of datasets when it already knows what driver to use.

Command line use should not be affect considerably in terms of speed but it 
adds the option to avoid the wrong driver from taking precedence from the 
intended one (#3043), ex.:

$ gdalinfo ntif:/autotest/gdrivers/data/rgb.ntf"

If you want to try it, a patch that implements this proposed change is 
available on ticket 3043 http://trac.osgeo.org/gdal/ticket/3043

Please take a look and send us your comments.

Regards,

Ivan
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to