1
0
mirror of https://github.com/django/django.git synced 2025-03-26 01:00:46 +00:00

208 Commits

Author SHA1 Message Date
Tim Graham
68ebc240a4 [1.11.x] Fixed -- Prevented hiding GDAL exceptions when it's not installed.
Backport of 2dc3280254ae06ca1fe664abf55749fe12a699d4 from master
2017-05-04 21:14:23 -04:00
Tim Graham
444cdf6131 [1.11.x] Made runtests.py run gis_tests only when using a GIS database backend.
This facilitates other changes like refs .

Backport of 890537253cf235091816d27a5c2fb64943c8e34a from master
2017-05-04 20:54:25 -04:00
Dylan Verheul
b1aea89dee [1.11.x] Fixed -- Fixed crash in BaseGeometryWidget.get_context() when overriding existing attrs.
Backport of 75aeebebfe3df3ea46b8e12dd5e7719f98664d3a from master
2017-04-30 21:13:50 -04:00
Tim Graham
5e2bbcd70c [1.11.x] Fixed -- Fixed crash in BaseGeometryWidget.subwidgets().
Backport of d2cb7a2bc11f111be04a29b5e4f92a183b18ba88 from master
2017-04-20 11:40:20 -04:00
Sergey Fedoseev
b6a6787fd8 [1.11.x] Fixed -- Fixed AsKML when queryset is evaluated more than once.
Backport of e9149d3eb0ed0ddc8b27b1990eb2b7293c1231cd from master
2017-03-23 19:31:23 -04:00
Sergey Fedoseev
4f02adbf53 [1.11.x] Fixed -- Fixed precision comparison in a geoforms test (refs ).
Backport of 816c5753ac554b2af710aebc98ad60fd5823e03f from master
2017-03-21 09:05:00 -04:00
Tim Graham
c548dba428 [1.11.x] Fixed -- Updated OpenLayersWidget.map_srid for OpenLayers 3.
Regression in 2ebfda38e65177dfc7d6e90457ffa4a0fa2796f0 (refs ).

Backport of 93eca976c15dceaf445ab4739bb2f635a2021db0 from master
2017-03-17 12:59:10 -04:00
Tim Graham
4b57fa3746 [1.11.x] Updated postgis.net and gaia-gis.it links to https.
Backport of 5bd7ffc3137745ef67a9393f62a74e862beaeff7 from master
2017-03-16 14:03:52 -04:00
Tim Graham
da2e92d25e [1.11.x] Fixed GeoIP test failure with the latest data. 2017-02-14 09:08:17 -05:00
Claude Paroz
946dd5bde2 Refs -- Fixed test failure introduced by OpenLayers 3 update. 2017-01-03 11:11:00 -05:00
Tim Graham
c04207cd38 Replaced some GIS has_X_method skips with supports_X_aggr/has_X_function. 2017-01-03 09:49:00 -05:00
Claude Paroz
2ebfda38e6 Fixed -- Updated OpenLayers-based widget to OpenLayers 3
Thanks Tim Graham for the review.
2017-01-02 19:45:52 +01:00
Sergey Fedoseev
af5983e4f5 Removed unneeded SpatiaLite workarounds in GIS tests. 2016-12-17 08:31:17 -05:00
Sergey Fedoseev
17a9e0cd07 Used assertJSONEqual() in GISFunctionsTests.test_asgeojson(). 2016-12-17 08:23:47 -05:00
Sergey Fedoseev
5d28fef8f9 Made NumPoints raise TypeError on MySQL when it's used on fields besides LineStringField. 2016-12-16 10:34:02 -05:00
Sergey Fedoseev
b01ceae843 Fixed -- Factored out CPointerBase base class for GEOSBase/GDALBase. 2016-12-15 16:59:08 -05:00
Sergey Fedoseev
4884472447 Fixed -- Made get_srid_info() fallback to GDAL if SpatialRefSys is unavailable. 2016-12-15 16:36:18 -05:00
Sergey Fedoseev
986c7d522a Fixed -- Improved support of geodetic coordinates on SpatiaLite.
Area function, Distance function, and distance lookups now work with
geodetic coordinates on SpatiaLite.
2016-12-15 15:31:07 -05:00
Sergey Fedoseev
38a6df555f Fixed -- Added Oracle support for BoundingCircle GIS function. 2016-12-15 14:16:09 -05:00
Sergey Fedoseev
5a23cc00f5 Fixed -- Added Oracle support for AsGML GIS function. 2016-12-15 14:00:08 -05:00
Sergey Fedoseev
d013134ffb Improved testing of num_seg kwarg of BoundingCircle GIS function. 2016-12-15 12:40:04 -05:00
Sergey Fedoseev
e36a9d3fd1 Simplified a GIS test by using an SRID available on all backends. 2016-12-15 09:32:12 -05:00
Sergey Fedoseev
9b79281e31 Fixed -- Fixed GEOSGeometry('POINT EMPTY').transform crash. 2016-12-08 10:24:05 -05:00
Sergey Fedoseev
a413ef2155 Refs -- Fixed OGRGeometry('POINT EMPTY').geos crash. 2016-12-08 10:24:05 -05:00
Sergey Fedoseev
65a1f32319 Refs -- Fixed GEOSGeometry('POINT EMPTY').ogr crash. 2016-12-08 10:24:05 -05:00
Tim Graham
b5f0b3478d Fixed -- Added aliases for Python 3's assertion names in SimpleTestCase. 2016-12-07 17:42:31 -05:00
Sergey Fedoseev
f909fa84be Fixed -- Fixed annotations with geometry values. 2016-12-07 14:16:29 -05:00
Sergey Fedoseev
183f501540 Fixed -- Fixed handling of empty geometries in BaseSpatialField.get_db_prep_save(). 2016-12-06 13:58:22 -05:00
Sergey Fedoseev
b90d72facf Refs -- Fixed output of WKBWriter for empty points and polygons. 2016-12-06 13:58:22 -05:00
Sergey Fedoseev
30657d7836 Removed test workarounds for PROJ.4 < 4.7.0.
PROJ.4 4.7.0 was released on 25 Sep 2009 and is available in Ubuntu 12.04.
2016-12-05 16:23:17 -05:00
Claude Paroz
cc9e429701 Fixed -- Casted GEOSGeometry only when necessary
Thanks Pete Flugstad for the report, and Tim Graham for the review.
2016-11-30 17:49:41 +01:00
Sergey Fedoseev
4464b9b9ad Fixed -- Added Oracle support for IsValid function and isvalid lookup. 2016-11-30 11:22:56 -05:00
Sergey Fedoseev
f24eea3b69 Simplified union GIS tests with equals() rather than equals_exact(). 2016-11-30 07:49:05 -05:00
Sergey Fedoseev
21322f9271 Fixed -- Added docs/test for GEOSGeometry.normalize(). 2016-11-30 07:39:03 -05:00
Sergey Fedoseev
fb3716b156 Enabled GeoQuerySetTest.test_unionagg on Oracle; refs .
It's not clear when it started to work.
2016-11-29 09:06:17 -05:00
Jackie Leng
50613d957a Fixed -- Made GEOSGeometry equality check consider the srid 2016-11-23 09:23:06 +01:00
Nicolas Noé
a269018e86 Fixed -- Fixed test failure with recent GDAL versions 2016-11-19 16:41:18 +01:00
Adam Chainz
7c6efb3233 Refs -- Removed obsolete workarounds in GIS tests for lack of GDAL.
Missed in f7a363ee1d2039824d95f35e54219e09c5af67b0.
2016-11-15 11:46:06 -05:00
Ramin Farajpour Cami
0a63ef3f61 Fixed -- Fixed E741 flake8 warnings. 2016-11-14 17:40:28 -05:00
Ramin Farajpour Cami
967be82443 Fixed E305 flake8 warnings. 2016-11-14 12:30:46 -05:00
Christian von Roques
cbae4d3184 Fixed -- Switched use of functions deprecated in PostGIS 2.2.
Thanks Claude Paroz and Tim Graham for reviews, and
Mjumbe Wawatu Poe for the initial regression test.
2016-11-12 16:18:22 -05:00
Claude Paroz
8c7778884b Dropped support for GDAL 1.7 and 1.8 2016-11-12 17:28:03 +01:00
Daniel Wiesmann
2dc07da497 Fixed -- Added shape, size, and offset controls to GDALRaster constructor.
Thanks Tim Graham for the review.
2016-11-11 07:09:38 -05:00
za
321e94fa41 Refs -- Removed "Tests that", "Ensures that", etc. from test docstrings. 2016-11-10 21:30:21 -05:00
Tim Graham
e1f6eba033 Fixed nonexistent tmc.edu domain in GeoIP test.
The test was silently skipped.
2016-10-11 19:31:13 -04:00
Tim Graham
79c91070e5 Confirmed support for PostGIS 2.3. 2016-09-30 10:00:04 -04:00
Claude Paroz
92323d54fd Fixed -- Allowed migrating geometry field dimension on PostGIS
Thanks Tim Graham for the review.
2016-09-22 16:40:27 +02:00
Claude Paroz
8e2ac3bcaf Refs -- Rearranged gis_migrations test case classes 2016-09-22 16:40:24 +02:00
Tim Graham
8119b679eb Refs -- Fixed "invalid escape sequence" warnings in Python 3.6.
http://bugs.python.org/issue27364
2016-09-17 15:44:06 -04:00
Tim Graham
5a51b44936 Fixed -- Removed contrib.gis.maps. 2016-09-16 15:21:46 -04:00