Mariusz Felisiak
f13bfdeb55
[1.11.x] Reverted "Fixed relative paths imports per isort 4.3.5."
...
This reverts commit 463fe11bc8b2d068e447c5df677e7a31c2af7e03 due to
restore of relative paths sorting from isort < 4.3.5 in isort 4.3.10.
Backport of b435f82939edf70674856e0e1cd63973c2e0a1d1 from master.
2019-03-03 19:47:17 +01:00
Mariusz Felisiak
b9beb6a52e
[1.11.x] Fixed relative paths imports per isort 4.3.5.
...
Backport of 463fe11bc8b2d068e447c5df677e7a31c2af7e03 from master.
2019-02-25 20:02:56 +01:00
Tom Forbes
0ecc4f8d49
[1.11.x] Removed obsolete and flaky GeoIP tests.
...
Backport of 8f90593e6f8197148c8f86e598bfef6792f3f4bf from master.
2018-11-10 16:34:03 -05:00
Tim Graham
b548180605
[1.11.x] Fixed #29461 -- Fixed ogrinspect test_time_field failure on SpatiaLite.
...
Backport of 666be7b9942611d5c0f5e485c448f219cd5a1ad5 from master
2018-06-02 07:33:32 -04:00
Tim Graham
d60d7d6d71
[1.11.x] Fixed #29462 -- Fixed ogrinspect test failures with GDAL 2.2.
...
Backport of 55f4eee75d41499995bfdb611ac89e80c87404eb from master
2018-06-01 22:38:49 -04:00
Claude Paroz
6f171c285e
[1.11.x] Refs #28257 -- Updated a test for GDAL 2.2
...
Partial backport of 28627608945ddc3f59fb6a011a4eb363d8020e83 from master
2018-05-31 17:45:49 -04:00
Tim Graham
800778f7ad
[1.11.x] Fixed a test failure with the latest GeoIP databases.
...
Backport of 7a22d9f75125e3cfbea0979a876efe4634f6fe05 from master
2018-04-17 21:35:44 -04:00
Tim Graham
967d824288
[1.11.x] Fixed a GeoIP2 test failure with the latest GeoIP2 database.
...
Backport of 66d74676e23c32bc676fb0706af8580b391953b6 from master
2018-01-10 10:20:19 -05:00
Tim Graham
1bf0e5c43c
[1.11.x] Fixed GeoIP test failure with the latest data.
2018-01-08 09:57:49 -05:00
Tim Graham
a49764dd9d
[1.11.x] Fixed #28441 -- Fixed GEOS version parsing with a commit hash at the end.
...
A less invasive backport of 78c155cf2e5a27fd2db18c2d46953b1b0fdba829
from master
2017-08-02 09:46:52 -04:00
Mariusz Felisiak
5688562f66
[1.11.x] 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.
Backport of 037d6540ecb7a60dca99162f6adedb2d879fa3ff from master
2017-05-30 08:23:05 -04:00
Tim Graham
68ebc240a4
[1.11.x] Fixed #28160 -- 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 #28160 .
Backport of 890537253cf235091816d27a5c2fb64943c8e34a from master
2017-05-04 20:54:25 -04:00
Dylan Verheul
b1aea89dee
[1.11.x] Fixed #28105 -- 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 #28039 -- 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 #27603 -- 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 #27965 -- Fixed precision comparison in a geoforms test (refs #27939 ).
...
Backport of 816c5753ac554b2af710aebc98ad60fd5823e03f from master
2017-03-21 09:05:00 -04:00
Tim Graham
c548dba428
[1.11.x] Fixed #27939 -- Updated OpenLayersWidget.map_srid for OpenLayers 3.
...
Regression in 2ebfda38e65177dfc7d6e90457ffa4a0fa2796f0 (refs #25004 ).
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 #25004 -- 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 #25004 -- 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 #25938 -- Factored out CPointerBase base class for GEOSBase/GDALBase.
2016-12-15 16:59:08 -05:00
Sergey Fedoseev
4884472447
Fixed #27576 -- Made get_srid_info() fallback to GDAL if SpatialRefSys is unavailable.
2016-12-15 16:36:18 -05:00
Sergey Fedoseev
986c7d522a
Fixed #27497 -- 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 #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
9b79281e31
Fixed #27472 -- Fixed GEOSGeometry('POINT EMPTY').transform crash.
2016-12-08 10:24:05 -05:00
Sergey Fedoseev
a413ef2155
Refs #27472 -- Fixed OGRGeometry('POINT EMPTY').geos crash.
2016-12-08 10:24:05 -05:00
Sergey Fedoseev
65a1f32319
Refs #27472 -- Fixed GEOSGeometry('POINT EMPTY').ogr crash.
2016-12-08 10:24:05 -05:00
Tim Graham
b5f0b3478d
Fixed #27579 -- Added aliases for Python 3's assertion names in SimpleTestCase.
2016-12-07 17:42:31 -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
b90d72facf
Refs #26789 -- 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 #27557 -- 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 #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
21322f9271
Fixed #27552 -- Added docs/test for GEOSGeometry.normalize().
2016-11-30 07:39:03 -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
Nicolas Noé
a269018e86
Fixed #27493 -- Fixed test failure with recent GDAL versions
2016-11-19 16:41:18 +01:00
Adam Chainz
7c6efb3233
Refs #26753 -- 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 #27463 -- Fixed E741 flake8 warnings.
2016-11-14 17:40:28 -05:00