summaryrefslogtreecommitdiff
path: root/django/contrib/gis/tests/data
AgeCommit message (Collapse)Author
2015-02-11Moved contrib.gis tests out of contrib.Tim Graham
2013-10-10Whitespace cleanup.Tim Graham
* Removed trailing whitespace. * Added newline to EOF if missing. * Removed blank lines at EOF. * Removed some stray tabs.
2013-03-09Fixed #16594 -- Added wkt 3D support for GEOS geometriesClaude Paroz
This requires GEOS >= 3.3.0 to function properly. On previous versions, the Z dimension will simply not appear in the wkt. Disabled OpenLayers editing for 3D geometries (unsupported).
2012-10-08Use smarter string decoding in GeoDjangoClaude Paroz
The first try to solve the Python 3 GIS encoding/decoding issue was too naive. Using decode() on all read strings is bound to fail as soon as a non-ascii string is concerned. This patch is a little more clever, leaving ascii decoding when plain ascii strings are expected, and allowing to specify a custom encoding in DataSource hierarchy.
2012-10-06Un-gzipped test geometries fixture as plain jsonClaude Paroz
This is easier to track changes through the VCS.
2012-03-09Removed executable bits from some files that don't need them.Ramiro Morales
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17673 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-30Fixed integer overflows that occurred when `OFTReal` fields were treated as ↵Justin Bronn
`OFTInteger`. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15946 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-15Fixed #15378 -- Now properly handle OGR layers that have features with ↵Justin Bronn
invalid geometries. Thanks, kunitoki for bug report and initial patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15813 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-01Fixed regression introduced in r13755 that prevented the running of the ↵Justin Bronn
GEOS/GDAL test suites without configuring Django settings; moved reference geometry data from Python module to compressed JSON fixture; put in workaround in tests for GDAL bug #3783. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14414 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-11-14`OGRGeomType` now recognizes 2.5D types, and removes need for unnecessary ↵Justin Bronn
workaround in `Layer.geom_type`; corrected geometry type in test VRT file. Refs #11433. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11739 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-30Refactored and cleaned up parts of the spatial database backend. Changes ↵Justin Bronn
include: * Laid foundations for SpatiaLite support in `GeoQuerySet`, `GeoWhereNode` and the tests. * Added the `Collect` aggregate for PostGIS (still needs tests). * Oracle now goes to 11. * The backend-specific `SpatialRefSys` and `GeometryColumns` models are now attributes of `SpatialBackend`. * Renamed `GeometryField` attributes to be public that were private (e.g., `_srid` -> `srid` and `_geom` -> `geom_type`). * Renamed `create_test_db` to `create_test_spatial_db`. * Removed the legacy classes `GeoMixin` and `GeoQ`. * Removed evil `\` from spatial backend fields. * Moved shapefile data from `tests/layermap` to `tests/data`. Fixed #9794. Refs #9686. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10197 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-05Merged the gis branch into trunk.Justin Bronn
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8219 bcc190cf-cafb-0310-a4f2-bffc1f526a37