Opened 9 years ago

Closed 8 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 Tim Graham, 8 years ago

Has patch: set
Triage Stage: Someday/MaybeAccepted

comment:2 by Claude Paroz, 8 years ago

Triage Stage: AcceptedReady for checkin

comment:3 by GitHub <noreply@…>, 8 years ago

Resolution: fixed
Status: newclosed

In 0166dd2f:

Fixed #25524 -- Removed GISOperations.get_distance()'s handle_spheroid param.

Note: See TracTickets for help on using tickets.
Back to Top