Opened 14 years ago
Closed 14 years ago
#2804 closed patch (fixed)
Show used GDAL version in About dialog
Reported by: | alexbruy | Owned by: | brushtyler |
---|---|---|---|
Priority: | minor: annoyance | Milestone: | Version 1.6.0 |
Component: | Python plugins and bindings | Version: | Trunk |
Keywords: | GdalTools | Cc: | |
Must Fix for Release: | No | Platform: | All |
Platform Version: | Awaiting user input: | no |
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.
Attachments (3)
Change History (7)
by , 14 years ago
Attachment: | add_gdal_version.diff added |
---|
comment:1 by , 14 years ago
Owner: | changed from | to
---|
comment:2 by , 14 years ago
Milestone: | Version 1.5.0 → Version 1.6.0 |
---|
comment:3 by , 14 years ago
Status: | new → assigned |
---|
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')
Proposed patch