Mariusz Felisiak
|
7119f40c98
|
Refs #33476 -- Refactored code to strictly match 88 characters line length.
|
2022-02-07 20:37:05 +01:00 |
|
django-bot
|
9c19aff7c7
|
Refs #33476 -- Reformatted code with Black.
|
2022-02-07 20:37:05 +01:00 |
|
Claude Paroz
|
30e123ed35
|
Fixed #32575 -- Added support for SpatiaLite 5.
|
2021-04-08 09:36:29 +02:00 |
|
Mariusz Felisiak
|
84ad7f3404
|
Refs #32380 -- Added test for distance lookups with F() expression.
Fixed in 5935a9aead .
|
2021-01-25 08:40:46 +01:00 |
|
Illia Volochii
|
bef6f75842
|
Fixed #32358 -- Fixed queryset crash when grouping by annotation with Distance()/Area().
Made MeasureBase hashable.
|
2021-01-18 09:58:50 +01:00 |
|
Tim Graham
|
e3ece0144a
|
Removed redundant database vendor helpers in gis_tests/utils.py.
|
2021-01-13 09:22:44 +01:00 |
|
Tim Graham
|
371022a20d
|
Added SpatialFeatures.supports_tolerance_parameter.
|
2020-11-30 07:29:00 +01:00 |
|
Tim Graham
|
7734337bcb
|
Made OracleSpatialAdapter clone geometries rather than mutate them.
|
2020-10-27 07:14:16 +01:00 |
|
Mariusz Felisiak
|
c48a7d3a8a
|
Fixed typos in tolerance gis_tests.
|
2020-03-10 07:55:31 +01:00 |
|
Mariusz Felisiak
|
6695d29b1c
|
Fixed CVE-2020-9402 -- Properly escaped tolerance parameter in GIS functions and aggregates on Oracle.
Thanks to Norbert Szetei for the report.
|
2020-03-04 09:04:50 +01:00 |
|
Simon Charette
|
bb9e82f274
|
Fixed #29955 -- Added support for distance expression to the dwithin lookup.
This was missed when adding support to other distance lookups in
refs #25499.
Thanks Peter Bex for the report and Mariusz for testcases.
|
2019-08-23 21:28:28 +02:00 |
|
Andrew Brown
|
8a281aa7fe
|
Fixed #30687 -- Fixed using of OuterRef() expressions in distance lookups.
|
2019-08-16 06:50:33 +02:00 |
|
Mariusz Felisiak
|
b435f82939
|
Reverted "Fixed relative paths imports per isort 4.3.5."
This reverts commit 463fe11bc8 due to
restore of relative paths sorting from isort < 4.3.5 in isort 4.3.10.
|
2019-03-03 19:33:48 +01:00 |
|
Mariusz Felisiak
|
463fe11bc8
|
Fixed relative paths imports per isort 4.3.5.
|
2019-02-25 11:03:30 +01:00 |
|
Дилян Палаузов
|
a38ae914d8
|
Fixed #28996 -- Simplified some boolean constructs and removed trivial continue statements.
|
2018-01-12 12:44:50 -05:00 |
|
Simon Charette
|
9d93dff333
|
Fixed #28665 -- Change some database exceptions to NotImplementedError per PEP 249.
|
2017-10-06 12:47:08 -04:00 |
|
Sergey Fedoseev
|
3905cfa1a5
|
Fixed #28353 -- Fixed some GIS functions when queryset is evaluated more than once.
Reverted test for refs #27603 in favor of using FuncTestMixin.
|
2017-09-11 11:56:39 -04:00 |
|
Sergey Fedoseev
|
6ebe3a95ea
|
Fixed #28437 -- Added support for complex geometry expressions in GIS lookups.
|
2017-07-27 08:06:08 -04:00 |
|
Sergey Fedoseev
|
f3bada9889
|
Fixed #28436 -- Added support for distance lookups on MySQL.
|
2017-07-26 08:50:56 -04:00 |
|
Sergey Fedoseev
|
38af496b98
|
Fixed #28432 -- Allowed geometry expressions to be used with distance lookups.
Distance lookups use the Distance function for decreased code redundancy.
|
2017-07-25 15:49:35 -04:00 |
|
Sergey Fedoseev
|
3f7953846e
|
Fixed typo in DistanceLookupBase.process_rhs() error message.
|
2017-07-19 13:40:56 -04:00 |
|
Jon Dufresne
|
2c69824e5a
|
Refs #23968 -- Removed unnecessary lists, generators, and tuple calls.
|
2017-06-01 19:08:59 -04:00 |
|
Bruno Alla
|
6092ea8fa6
|
Refs #27804 -- Used subTest() in several tests.
|
2017-05-24 08:36:34 -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
|
fd892f3443
|
Fixed #28006 -- Allowed using D with lookups on Distance annotations.
|
2017-04-06 19:27:45 -04:00 |
|
Sergey Fedoseev
|
898e623db0
|
Fixed #27573 -- Made Distance on geodetic coordinates return a raw value on MySQL.
|
2017-04-02 17:06:01 -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 |
|
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
|
6f913c0305
|
Refs #27788 -- Removed Oracle 11 workarounds in GIS tests.
|
2017-03-13 19:21:20 -04: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
|
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
|
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 |
|
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 |
|
Mads Jensen
|
0c1f71635f
|
Fixed #27203 -- Replaced assertQuerysetEqual(..., lambda o: o) with assertSequenceEqual().
|
2016-09-13 10:07:37 -04:00 |
|
Kevan Swanberg
|
35504f74a8
|
Fixed #26685 -- Added dwithin lookup support on SpatiaLite.
|
2016-08-30 20:45:47 -04:00 |
|
Claude Paroz
|
ade681b9ad
|
Unified SpatiaLite spelling
|
2016-08-09 18:46:28 +02: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 |
|
Hasan
|
3d0dcd7f5a
|
Refs #26022 -- Used context manager version of assertRaises in tests.
|
2016-01-29 12:32:18 -05:00 |
|
Tim Graham
|
5aa5328675
|
Fixed #26147 -- Relaxed expected values in GIS tests to account for database/library differences.
|
2016-01-28 14:11:06 -05:00 |
|
Claude Paroz
|
00cb9e13b4
|
Fixed #15165 -- Prevented wrong results with perimeter on geodetic fields.
|
2015-12-30 18:07:02 -05:00 |
|
Sergey Fedoseev
|
717a54c883
|
Fixed #25797 -- Fixed regex for getting units from SRS WKT.
|
2015-12-03 19:03:28 -05:00 |
|
Claude Paroz
|
c3531d2f20
|
Removed ability to pass a geometry string to GIS functions
This was a possible confusion source with column name arguments.
Thanks Sergey Fedoseev for the suggestion.
|
2015-11-07 16:04:24 +01:00 |
|
Sergey Fedoseev
|
8ad923b9d0
|
Fixed #25636 -- Dropped support for SpatiaLite < 3.0
|
2015-10-31 14:22:34 +01:00 |
|
Claude Paroz
|
37d06cfc46
|
Fixed #25499 -- Added the ability to pass an expression in distance lookups
Thanks Bibhas Debnath for the report and Tim Graham for the review.
|
2015-10-09 15:27:47 +02:00 |
|
Dražen Odobašić
|
b1e33ceced
|
Fixed #23395 -- Limited line lengths to 119 characters.
|
2015-09-12 11:40:50 -04:00 |
|
Tim Graham
|
aaacaeb096
|
Renamed RemovedInDjangoXYWarnings for new roadmap.
Forwardport of ae1d663b79
from stable/1.8.x plus more.
|
2015-06-24 16:08:20 -04:00 |
|