#9745: Add support of PostGIS's SnapToGrid function
---------------------------------+------------------------------------------
Reporter: norn | Owner: jbronn
Status: assigned | Milestone: post-1.0
Component: GIS | Version: SVN
Resolution: | Keywords: postgis
Stage: Unreviewed | Has_patch: 1
Needs_docs: 0 | Needs_tests: 1
Needs_better_patch: 0 |
---------------------------------+------------------------------------------
Changes (by jbronn):
* owner: nobody => jbronn
* needs_better_patch: => 0
* status: new => assigned
* needs_tests: => 1
* needs_docs: => 0
Comment:
I'm +1 on having this feature in !GeoDjango. However, we'll have to talk
about implementation details -- I see you have this done on the geometry
in-place rather than attaching a new geometry on the `GeoQuerySet`
(otherwise you could've just used the `_geom_attribute` method to simplify
the implementation). I wonder if this option should be an option for all
methods, e.g., `GeoModel.objects.intersection(other, in_place=True)`.
Also, I'll need tests before including it trunk, but otherwise it's a very
good start. Thanks for contributing.
--
Ticket URL: <http://code.djangoproject.com/ticket/9745#comment:1>
Django <http://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
-~----------~----~----~----~------~----~------~--~---