Feature request #2804

Show used GDAL version in About dialog

Added by Alexander Bruy over 14 years ago. Updated over 14 years ago.

Status:Closed
Priority:Low
Assignee:Giuseppe Sucameli
Category:Python plugins
Pull Request or Patch supplied: Resolution:fixed
Easy fix?:No Copied to github as #:12864

Description

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.

add_gdal_version.diff Magnifier - Proposed patch (2.08 KB) Alexander Bruy, 2010-06-12 11:46 AM

about.diff Magnifier - QGIS' about box also doesn't have that information. (671 Bytes) Jürgen Fischer, 2010-06-12 12:06 PM

gdaltools_about.diff Magnifier - alexbrui patch with cleanup (2.2 KB) Giuseppe Sucameli, 2010-06-12 03:23 PM

Associated revisions

Revision 11382b46
Added by Giuseppe Sucameli over 14 years ago

applied patch to show GDAL version in about dialog, to fix #2804

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@13725 c8812cc2-4d05-0410-92ff-de0c093fc19c

Revision a87414c8
Added by Giuseppe Sucameli over 14 years ago

applied patch to show GDAL version in about dialog, to fix #2804

git-svn-id: http://svn.osgeo.org/qgis/trunk@13725 c8812cc2-4d05-0410-92ff-de0c093fc19c

History

#1 Updated by Giuseppe Sucameli over 14 years ago

  • Status changed from Open to In Progress

Replying to 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')

#2 Updated by Giuseppe Sucameli over 14 years ago

  • Resolution set to fixed
  • Status changed from In Progress to Closed

Fixed (a87414c8 (SVN r13726))

Also available in: Atom PDF