Opened 9 years ago
Last modified 9 years ago
#25816 closed Cleanup/optimization
make sure that properties of SpatialRefSysMixin return the same value whether or not GDAL is installed — at Version 3
Reported by: | Sergey Fedoseev | Owned by: | Sergey Fedoseev |
---|---|---|---|
Component: | GIS | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | yes |
Easy pickings: | no | UI/UX: | no |
Description (last modified by )
At this moment there are several properties of SpatialRefSysMixin that use some fallback code if GDAL is not installed. In several cases returned value is obviously differs depending on whether or not GDAL is installed, for example angular_units
property returns float with GDAL and string without it. I think that we need to add test to check that returned values are the same and fix fallback code if it doesn't require much work or could lead to some bugs.
Change History (3)
comment:1 by , 9 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 9 years ago
Summary: | made sure that properties of SpatialRefSysMixin return the same value whether or not GDAL is installed → make sure that properties of SpatialRefSysMixin return the same value whether or not GDAL is installed |
---|---|
Triage Stage: | Unreviewed → Accepted |
comment:3 by , 9 years ago
Description: | modified (diff) |
---|
Note:
See TracTickets
for help on using tickets.
I assume it's a good idea, but it's helpful to include a little background information in the ticket description for posterity.