[QGIS-trac] Re: [Quantum GIS] #2804: Show used GDAL version in About dialog

Quantum GIS qgis at qgis.org
Sat Jun 12 18:29:33 EDT 2010


#2804: Show used GDAL version in About dialog
-------------------------------------------+--------------------------------
   Reporter:  alexbruy                     |              Owner:  brushtyler   
       Type:  patch                        |             Status:  assigned     
   Priority:  minor: annoyance             |          Milestone:  Version 1.6.0
  Component:  Python plugins and bindings  |            Version:  HEAD         
   Keywords:  GdalTools                    |   Platform_version:               
   Platform:  All                          |           Must_fix:  No           
Status_info:  0                            |  
-------------------------------------------+--------------------------------
Changes (by brushtyler):

  * status:  new => assigned


Comment:

 Replying to [ticket:2804 alexbruy]:
 > Some users may have several GDAL installed, so it is usefull to show
 version of GDAL used by GDAL Tools plugin. Proposed patch add this info in
 About dialog. Also it fixes conversion GDAL version in string.
 Sure, it's a great idea!

 However I think we shouldn't pass the Gdal version as parameter to the
 doAbout dialog.
 About dialog can retrieve it using the GdalTools_utils module, so we
 maintain the same interface for all tools.

 In the attached patch there is also a cleanup converting GDAL version in
 string. If we want to use strings, we must use these everywhere in the
 Version class, otherwise the comparison may fail. e.g. ('2', 0) is not
 equal to ('2', '0')

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/2804#comment:3>
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