[Gfoss] Django 1.2 (con GeoDjango)

3 giorni fa è stato rilasciato Django 1.2


La parte interessante è questa:

The most significant new feature for GeoDjango in 1.2 is support for
multiple spatial databases. As a result, the following spatial
database backends are now included:

      * django.contrib.gis.db.backends.postgis
      * django.contrib.gis.db.backends.mysql
      * django.contrib.gis.db.backends.oracle
      * django.contrib.gis.db.backends.spatialite

GeoDjango now supports the rich capabilities added in the PostGIS 1.5
release. New features include suppport for the the geography type and
enabling of distance queries with non-point geometries on geographic
coordinate systems.

Support for 3D geometry fields was added, and may be enabled by
setting the dim keyword to 3 in your GeometryField.
The Extent3Daggregate and extent3d() GeoQuerySet method were added as
a part of this feature.

The following GeoQuerySet methods are new in 1.2:

      * force_rhr()
      * reverse_geom()
      * geohash()

The GEOS interface was updated to use thread-safe C library functions
when available on the platform.

The GDAL interface now allows the user to set a spatial_filter on the
features returned when iterating over a Layer.

Finally, GeoDjango's documentation is now included with Django's and
is no longer hosted separately at geodjango.org.

Happy hacking!


Stefano Costa
http://www.iosa.it/ Open Archaeology