django1/django/contrib/gis
Justin Bronn f1ada99997 Maintenance refactor of the GDAL (OGR) ctypes interface. Changes include:
* All C API method explictly called from their prototype module, no longer imported via *.
* Applied DRY to C pointer management, classes that do so subclass from `GDALBase`.
* `OGRGeometry`: Added `from_bbox` class method (patch from Christopher Schmidt) and `kml` property.
* `SpatialReference`: Now initialize with `SetFromUserInput` (initialization is now more simple and flexible); removed duplicate methods.
* `Envelope`: Added `expand_to_include` method and now allow same coordinates for lower left and upper right points.  Thanks to Paul Smith for tickets and patches.
* `OGRGeomType`: Now treat OGC 'Geometry' type as 'Unknown'.

Fixed #9855, #10368, #10380.  Refs #9806.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9985 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-07 23:02:48 +00:00
..
admin Fixed geographic admin to be compatible with `ModelAdmin.formfield_for_dbfield` changes in r9760. 2009-01-16 20:05:39 +00:00
db Fixed #10397 -- made GIS test runner compatible with changes in r9756. 2009-03-06 02:01:20 +00:00
forms Fixed the `GeometryField` form to catch more than just GEOS exceptions. 2008-08-26 00:34:34 +00:00
gdal Maintenance refactor of the GDAL (OGR) ctypes interface. Changes include: 2009-03-07 23:02:48 +00:00
geos Fixed #9892 -- support additional binary packages for GEOS & GDAL libs on OSX & Ubuntu platforms. 2008-12-26 16:02:45 +00:00
management Fixed `ogrinspect` management commannd -- no longer try to pass the global `verbosity` option where it shouldn't go. Refs r9110. 2008-10-25 19:16:45 +00:00
maps Fixed #8113. Made `get_width_height` a `GoogleZoom` method that takes the extent instead of an envelope so it may handle Point geometries. Thanks to Santiago Aguiar for the bug report. 2008-08-17 21:09:28 +00:00
sitemaps Fixed `GeoRSSSitemap` to no longer use both `args` and `kwargs` with `urlresolvers.reverse` (no longer allowed since r8760). 2008-09-02 17:13:39 +00:00
templates/gis Fixed #9278, #9694 -- Geographic overlays now display in admin with right to left langauges; simplified transformation process in `OpenLayersWidget` to fix Ubuntu 8.10/Apache 2.2.9 crash; updated OpenLayers version to 2.7. 2009-01-13 02:08:26 +00:00
tests Maintenance refactor of the GDAL (OGR) ctypes interface. Changes include: 2009-03-07 23:02:48 +00:00
utils Fixed #10395 -- Fixed more fallout from r9945. 2009-03-03 02:45:15 +00:00
__init__.py Merged the gis branch into trunk. 2008-08-05 18:13:06 +00:00
feeds.py Fixed #6547, added support for GeoRSS feeds in `django.contrib.gis.feeds`; added the `feed_extra_kwargs` and `item_extra_kwargs` to the `Feed` baseclass so that it's possible for subclasses to add dynamic attributes. 2008-08-16 20:40:47 +00:00
measure.py Fixed #6767: changed the way the Oracle backend fetches numbers to prevent decimals being returned as floats. 2009-01-15 20:39:09 +00:00
models.py gis: Fixed #8207; now shield 2.4 test runners from attempting to import ctypes. 2008-08-10 17:36:12 +00:00
shortcuts.py Fixed a Python 2.4 incompatibility in `compress_kml`. 2008-12-08 14:50:06 +00:00