Opened 10 years ago
Closed 9 years ago
#25524 closed Cleanup/optimization (fixed)
Evaluate handle_spheroid removal in get_distance method
| Reported by: | Claude Paroz | Owned by: | nobody |
|---|---|---|---|
| Component: | GIS | Version: | dev |
| Severity: | Normal | Keywords: | 2.0 |
| Cc: | 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
While fixing #25499, I had to keep duplicate handling of the 'spheroid' parameter for distance lookups (PostGISOperations), in the get_distance() method and in the PostGISDistanceOperator class. This is because get_distance is also called from the GeoQuerySet class which might be mostly obsolete or even removed in Django 2.0.
This ticket is a reminder to check and if possible remove the 'spheroid' handling in PostGISOperations.get_distance() in Django 2.0.
Change History (3)
comment:1 by , 9 years ago
| Has patch: | set |
|---|---|
| Triage Stage: | Someday/Maybe → Accepted |
comment:2 by , 9 years ago
| Triage Stage: | Accepted → Ready for checkin |
|---|
Note:
See TracTickets
for help on using tickets.
PR