#27550: add version of GEOSGeometry.normalize() that returns new geometry -------------------------------------+------------------------------------- Reporter: Sergey Fedoseev | Owner: Sergey | Fedoseev Type: New feature | Status: assigned Component: GIS | Version: master Severity: Normal | Resolution: Keywords: | Triage Stage: | Unreviewed Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+------------------------------------- Description changed by Sergey Fedoseev:
Old description: > GEOSGeometry.normalize() normalizes geometry in-place. In some cases it > would be more convenient to have a cloned normalized geometry for the > code conciseness. > We could add `clone` kwarg to this method similarly to > [https://docs.djangoproject.com/en/1.10/ref/contrib/gis/geos/#django.contrib.gis.geos.GEOSGeometry.clone > GEOSGeometry.clone()] or we could add the `normalized` property. New description: GEOSGeometry.normalize() normalizes geometry in-place. In some cases it would be more convenient to have a cloned normalized geometry for the code conciseness. We could add `clone` kwarg to this method similarly to [https://docs.djangoproject.com/en/1.10/ref/contrib/gis/geos/#django.contrib.gis.geos.GEOSGeometry.transform GEOSGeometry.transform()] or we could add the `normalized` property. -- -- Ticket URL: <https://code.djangoproject.com/ticket/27550#comment:2> 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 unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/068.0e083609d563250b0c3adfe82a2e5a0e%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.