#17754: Django GIS Measure refactor
--------------------------------------+------------------------------------
Reporter: riccardodivirgilio | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: GIS | Version: SVN
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Comment (by riccardodivirgilio):
please wait that i'll post a new version. there are some algebric issue
with this class.
with this class you can't divide Measure with Measure, but in math this is
wrong...
3m * 3m = (3*3) * (m *m) = 9m^2
3m / 3m = (3/3) * (m/m) = 1
i'll attach a new version that support __div__ with other instance of the
same class
--
Ticket URL: <https://code.djangoproject.com/ticket/17754#comment:5>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.