People *usually* want a list of extensions so they can automatically<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
categorize the format of files on disk or to filter to only show<br>
extensions they think GDAL supports.  I find this practice abhorrent!<br>
 GDAL is based on the idea that file formats are discovered by<br>
inspecting file contents rather than based on extension and I don't<br>
want to make it too easy for applications to ignore this principle and<br>
revert to extensions.<br>
<br></blockquote><div><br></div><div>In this case, its about filtering files in a GUI. </div><div><br></div><div>I agree that its probably a good idea to keep <span style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">GDAL_DMD_EXTENSION as it is (preferred extension), </span></div>
<div><span style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">and add </span><span style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">GDAL_DMD_EXTENSION_LIST as alternative filtering options.</span></div>
<div><span style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">And, of course documenting the intention of these, and the behaviour in GDAL's file probing.</span></div>
<div><br></div><div><br></div><div>- Oyvind</div><div><br></div><div><br></div></div>