Hi Jorge "Arbitrariness is a term given to choices and actions subject to individual will, judgment or preference, based solely upon an individual's opinion or discretion." Wikipedia
That's sounds about right. There are several different cases and reason for a driver be moved up or down on that list. For example, if a format is not safely identified, if it doesn't have a MIME header, and if we have cases where it catches somebody else files, we move it down on the list. > -------Original Message------- > From: Jorge Arévalo <[email protected]> > To: [email protected] > Subject: [gdal-dev] GDAL formats list order > Sent: Jun 14 '13 18:56 > > Hello, > > I read at http://trac.osgeo.org/gdal/wiki/GDAL20Changes that GDAL formats, when calling gdalinfo --formats, "are returned in a meaningful order - the order they are tried - which is important to know sometimes". > > I see at http://trac.osgeo.org/gdal/browser/tags/1.10.0/gdal/frmts/ gdalallregister.cpp several calls to GDALRegister_X, in what looks like an arbitrary order to me. Seems to have "groups". Apart from that, older drivers first? > > Is there any reason to choose that order? > > Many thanks in advance, > > -- > Jorge Arevalo > Freelance developer > > http://www.krop.com/jorgearevalo > http://about.me/jorgeas80 > > Enviado con Sparrow (http://www.sparrowmailapp.com/?sig) > > > _____________________________________________ __ > gdal-dev mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/gdal-dev > _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
