#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):
ok in that case i'll have the time to improve it.
what i'm doing is to create Measure, Area and Volume class and add __mol__
and __div__ method to switch from one class to another.
i'll also add a Weight class, so maybe it would be better to put this
measure class in another package (like localflavor) and then just import
it from gis.
--
Ticket URL: <https://code.djangoproject.com/ticket/17754#comment:4>
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.