Opened 2 years ago
Last modified 2 years ago
#34676 closed Cleanup/optimization
Add DistanceUnitDoesNotExist exception to contrib.gis.measure — at Initial Version
| Reported by: | Andrew Northall | Owned by: | nobody |
|---|---|---|---|
| Component: | GIS | Version: | dev |
| Severity: | Normal | Keywords: | |
| Cc: | Andrew Northall | Triage Stage: | Ready for checkin |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
I am making use of the Distance class in contrib.gis.measure in my project and it is annoying to have to constantly catch Exception when checking if a particular unit exists. It would be better to have a specific exception for this case.
Note:
See TracTickets
for help on using tickets.