[QGIS-trac] Re: [Quantum GIS] #182: Deal properly with multiple
raster drivers supporting the same format
Quantum GIS
qgis at qgis.org
Wed Aug 6 23:26:21 EDT 2008
#182: Deal properly with multiple raster drivers supporting the same format
----------------------------------------------------+-----------------------
Reporter: shalasz | Owner: timlinux
Type: enhancement | Status: new
Priority: minor: annoyance or enhancement | Milestone: Version 1.0.0
Component: Rasters | Version: HEAD
Resolution: | Keywords:
Platform_version: | Platform: All
Must_fix: No | Status_info: 0
----------------------------------------------------+-----------------------
Changes (by ersts):
* cc: warmerdam (added)
Comment:
Tim
When multiple driver are available, GDAL uses the first successful driver.
It is possible to deactivate drivers so I see a couple of
options/enhancements
--When building the supported file list, put the names into a
QMap<extension, description>, then only the first driver (which GDAL will
use) will be displayed, this will also allow for the list to be sorted by
extension so that it is more user friendly
--Add a raster driver tab to the "Settings->option" menu. This displays
all possible drivers and the user can check which drivers to use (default
to all on). Save these settings as QSettings
--QgsRasterLayer::registerGdalDrivers() will need to check the QSettings
to see if the driver is listed for inclusion/exclusion, defaults to
include
--Also means the supported file list will have to be generated each time
the open dialog is open rather than once on initial load.
That should generally meet most of the needs/requests. Would be good to
get Frank's opinion on this.
--
Ticket URL: <http://trac.osgeo.org/qgis/ticket/182#comment:4>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats
More information about the QGIS-trac
mailing list