diff options
| author | Justin Bronn <jbronn@gmail.com> | 2007-11-06 00:39:36 +0000 |
|---|---|---|
| committer | Justin Bronn <jbronn@gmail.com> | 2007-11-06 00:39:36 +0000 |
| commit | 1c7ad200c7dc9c8719ba756b09ea9432154f470b (patch) | |
| tree | 55c709875d0d5778ea0ab08f9048b2816b2bc5ff /django/contrib/admin/templates/admin_doc/model_detail.html | |
| parent | 2694fffcc0b8695d91c6b9d4167140721b47c5c5 (diff) | |
gis: geos: Re-factored GEOS interface. Improvements include:
(1) All interactions with the GEOS library take place through
pre-defined ctypes prototypes, abstracting away return-value
error-checking.
(2) Mutability is now safe. Because GEOS geometry pointers are
marked as `const` (Thanks Hobu), previous modification techniques
caused unpredictable instability when geometries were constructed
from the pointers of other geometries (e.g., a Polygon with rings
from another Polygon). Geometry components are cloned first before
creation of the modified geometry.
(3) Fixed memory leaks by freeing pointers from strings allocated
in GEOS because ctypes only frees pointers allocated in Python.
Backwards-Incompatibility Notice:
All children geometries (e.g., rings from a Polygon, geometries from a
collection) are now clones -- modifications will not propagate up to
the parent geometry as before.
git-svn-id: http://code.djangoproject.com/svn/django/branches/gis@6653 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/contrib/admin/templates/admin_doc/model_detail.html')
0 files changed, 0 insertions, 0 deletions
