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 Sergey Fedoseev)

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 Sergey Fedoseev, 9 years ago

Owner: changed from nobody to Sergey Fedoseev
Status: newassigned

comment:2 by Tim Graham, 9 years ago

Summary: made sure that properties of SpatialRefSysMixin return the same value whether or not GDAL is installedmake sure that properties of SpatialRefSysMixin return the same value whether or not GDAL is installed
Triage Stage: UnreviewedAccepted

I assume it's a good idea, but it's helpful to include a little background information in the ticket description for posterity.

comment:3 by Sergey Fedoseev, 9 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top