Changes between Version 2 and Version 3 of rfc70_output_format_guess


Ignore:
Timestamp:
Nov 9, 2017, 12:58:31 PM (7 years ago)
Author:
Even Rouault
Comment:

RFC 70: modify logic when several drivers match the extension

Legend:

Unmodified
Added
Removed
Modified
  • rfc70_output_format_guess

    v2 v3  
    2121Command line utilities, when neither -f nor -of are specified (note: since r39878 both switches can be indifferently used), will loop through the registered drivers and check if one or several drivers, with output capabilities, declare to recognize the extension of the output filename.
    2222  * When one and only one driver declares this extension (.tif, .png, .jpg ect), it will be used automatically
    23   * When several drivers declare this extension (for example KML and LIBKML for .kml), the utility will error out, suggesting the name of the candidate drivers
     23  * When several drivers declare this extension (for example KML and LIBKML for .kml), the utility will select the first registered driver (except netCDF instead of GMT for .nc files), and a warning is emitted specifying which driver is used
    2424  * When no driver declares this extension, and the extension is not empty (e.g a .mpg filename), the utility will error out
    2525
     
    3434== Changes in SWIG bindings ==
    3535
    36 None
     36For librarified utilities (gdal.Translate, etc.), the format argument now defaults to None.
    3737
    3838== Potential issues ==
     
    5050== Testing ==
    5151
    52 The existing autotest suite should continue to pass (with likely a few changes related to tests for the current behaviour)
     52The existing autotest suite should continue to pass (with a few changes related to tests for the current behaviour)
    5353
    5454== Implementation ==
     
    5656Implementation will be done by Even Rouault
    5757
     58Proposed implementation is in https://github.com/rouault/gdal2/tree/rfc70
     59
     60Diff: https://github.com/OSGeo/gdal/compare/trunk...rouault:rfc70
     61
    5862== Voting history ==
    5963