Jon Dufresne
2c69824e5a
Refs #23968 -- Removed unnecessary lists, generators, and tuple calls.
2017-06-01 19:08:59 -04:00
Mariusz Felisiak
037d6540ec
Fixed gis_tests.geoapp test with incorrect geodetic coordinates.
...
The latitude coordinates exceed -90, 90 bounds and caused a test failure
on Oracle 12.2.
Thanks Michał Wierzbowski for help preparing the patch.
2017-05-30 08:22:40 -04:00
Tim Graham
2dc3280254
Fixed #28160 -- Prevented hiding GDAL exceptions when it's not installed.
2017-05-04 20:45:18 -04:00
Tim Graham
890537253c
Made runtests.py run gis_tests only when using a GIS database backend.
...
This facilitates other changes like refs #28160 .
2017-05-04 20:29:19 -04:00
Sergey Fedoseev
e7afef13f5
Fixed #26788 -- Fixed QuerySet.update() crash when updating a geometry to another one.
2017-04-10 13:26:26 -04:00
Sergey Fedoseev
5e710cf4a5
Fixed #11854 -- Added Azimuth GIS function. ( #8286 )
2017-04-02 14:24:06 -04:00
Sergey Fedoseev
ede4f6d48c
Fixed #12410 -- Added LineLocatePoint GIS function.
2017-04-01 15:02:09 -04:00
Sergey Fedoseev
0a13b249e2
Fixed #26967 -- Added MySQL support for AsGeoJSON, GeoHash, IsValid functions, and isvalid lookup.
2017-04-01 13:43:53 -04:00
Sergey Fedoseev
bde86ce9ae
Fixed #25605 -- Made GIS DB functions accept geometric expressions, not only values, in all positions.
2017-04-01 09:47:49 -04:00
Sergey Fedoseev
1b1ea63f6a
Fixed #27962 -- Allowed lookups on Area annotations.
2017-03-23 20:06:16 -04:00
Sergey Fedoseev
e9149d3eb0
Fixed #27603 -- Fixed AsKML when queryset is evaluated more than once.
2017-03-23 19:09:04 -04:00
Tim Graham
6b4f018b2b
Replaced type-specific assertions with assertEqual().
...
Python docs say, "it's usually not necessary to invoke these methods directly."
2017-03-17 07:51:48 -04:00
Sergey Fedoseev
1bf5e79394
Removed GeoQuerySet leftovers.
...
Follow up to a0d166306f
.
2017-03-16 09:38:02 -04:00
Tim Graham
0de0699d94
Fixed #27788 -- Dropped support for Oracle < 12.1.
2017-01-28 08:19:47 -05:00
chillaranand
d6eaf7c018
Refs #23919 -- Replaced super(ClassName, self) with super().
2017-01-25 12:23:46 -05:00
Claude Paroz
2b281cc35e
Refs #23919 -- Removed most of remaining six usage
...
Thanks Tim Graham for the review.
2017-01-18 21:33:28 +01:00
Claude Paroz
7b2f2e74ad
Refs #23919 -- Removed six.<various>_types usage
...
Thanks Tim Graham and Simon Charette for the reviews.
2017-01-18 20:18:46 +01:00
Claude Paroz
f3c43ad1fd
Refs #23919 -- Removed python_2_unicode_compatible decorator usage
2017-01-18 13:44:34 +01:00
Claude Paroz
d7b9aaa366
Refs #23919 -- Removed encoding preambles and future imports
2017-01-18 09:55:19 +01:00
Tim Graham
a0d166306f
Removed GeoManager and GeoQuerySet per deprecation timeline.
2017-01-17 20:51:56 -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
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
38a6df555f
Fixed #27602 -- Added Oracle support for BoundingCircle GIS function.
2016-12-15 14:16:09 -05:00
Sergey Fedoseev
5a23cc00f5
Fixed #27607 -- 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
f909fa84be
Fixed #25708 -- Fixed annotations with geometry values.
2016-12-07 14:16:29 -05:00
Sergey Fedoseev
183f501540
Fixed #26789 -- Fixed handling of empty geometries in BaseSpatialField.get_db_prep_save().
2016-12-06 13:58:22 -05:00
Sergey Fedoseev
4464b9b9ad
Fixed #27556 -- 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
fb3716b156
Enabled GeoQuerySetTest.test_unionagg on Oracle; refs #23504 .
...
It's not clear when it started to work.
2016-11-29 09:06:17 -05:00
Jackie Leng
50613d957a
Fixed #26920 -- Made GEOSGeometry equality check consider the srid
2016-11-23 09:23:06 +01:00
Adam Chainz
7c6efb3233
Refs #26753 -- Removed obsolete workarounds in GIS tests for lack of GDAL.
...
Missed in f7a363ee1d
.
2016-11-15 11:46:06 -05:00
Ramin Farajpour Cami
967be82443
Fixed E305 flake8 warnings.
2016-11-14 12:30:46 -05:00
za
321e94fa41
Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.
2016-11-10 21:30:21 -05:00
Tim Graham
79c91070e5
Confirmed support for PostGIS 2.3.
2016-09-30 10:00:04 -04:00
Claude Paroz
ade681b9ad
Unified SpatiaLite spelling
2016-08-09 18:46:28 +02:00
Sergey Fedoseev
4178488881
Refs #26657 -- Fixed a crash induced by invalid WKT returned by MySQL 5.7.5+.
2016-07-28 17:48:17 -04:00
Tim Graham
c9ae09addf
Replaced use of TestCase.fail() with assertRaises().
...
Also removed try/except/fail antipattern that hides exceptions.
2016-06-28 11:21:26 -04:00
Sergey Fedoseev
ea4665066b
Fixed #26785 -- Made Oracle return None rather than empty string for empty geometries.
2016-06-21 14:06:29 -04:00
Claude Paroz
f7a363ee1d
Fixed #26753 -- Made GDAL a required dependency for contrib.gis
...
Thanks Tim Graham for the review.
2016-06-18 10:58:02 +02:00
Jon Dufresne
4f336f6652
Fixed #26747 -- Used more specific assertions in the Django test suite.
2016-06-16 14:19:18 -04:00
Tim Graham
bc84278615
Fixed #26675 -- Dropped support for PostgreSQL 9.2/PostGIS 2.0.
2016-06-01 07:45:22 -04:00
Daniel Wiesmann
c12a00e554
Fixed #26455 -- Allowed filtering and repairing invalid geometries.
...
Added the IsValid and MakeValid database functions, and the isvalid lookup,
all for PostGIS.
Thanks Tim Graham for the review.
2016-04-09 09:22:30 -04:00
Tim Graham
92053acbb9
Fixed E128 flake8 warnings in tests/.
2016-04-08 10:12:33 -04:00
Tim Graham
9027fac841
Removed unneeded GeoManagers in tests.
2016-03-11 13:09:24 -05:00
Claude Paroz
c5517b9e74
Fixed #26266 -- Output the primary key in the GeoJSON serializer properties
...
Thanks Tim Graham for the review.
2016-02-24 16:10:46 +01:00
Shai Berger
bb51dc902d
Refs #26112 -- Fixed aggregate GIS test on Oracle.
...
Made sure the test doesn't try to aggregate over MultiPolygonField and made
AreaField turn decimals into floats on the way from the DB.
Thanks Daniel Wiesmann, Jani Tiainen, and Tim Graham for review and discussion.
2016-02-09 10:04:54 -05:00