summaryrefslogtreecommitdiff
path: root/tests/gis_tests/distapp
AgeCommit message (Collapse)Author
2025-12-28Added some skips to GIS tests.Tim Graham
Also replaced some DatabaseFeatures.supports_<foo>_lookup attributes with @skipUnlessGISLookup.
2025-07-23Refs #36500 -- Rewrapped long docstrings and block comments via a script.django-bot
Rewrapped long docstrings and block comments to 79 characters + newline using script from https://github.com/medmunds/autofix-w505.
2025-07-23Refs #36500 -- Shortened some long docstrings and comments.Mike Edmunds
Manually reformatted some long docstrings and comments that would be damaged by the to-be-applied autofixer script, in cases where editorial judgment seemed necessary for style or wording changes.
2025-07-23Removed double spaces after periods and within phrases.Sarah Boyce
2025-03-01Applied Black's 2025 stable style.Mariusz Felisiak
https://github.com/psf/black/releases/tag/25.1.0
2022-02-07Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2021-04-08Fixed #32575 -- Added support for SpatiaLite 5.Claude Paroz
2021-01-25Refs #32380 -- Added test for distance lookups with F() expression.Mariusz Felisiak
Fixed in 5935a9aeade517aebdceea989467d2b46c44d96f.
2021-01-18Fixed #32358 -- Fixed queryset crash when grouping by annotation with ↵Illia Volochii
Distance()/Area(). Made MeasureBase hashable.
2021-01-13Removed redundant database vendor helpers in gis_tests/utils.py.Tim Graham
2020-11-30Added SpatialFeatures.supports_tolerance_parameter.Tim Graham
2020-10-27Made OracleSpatialAdapter clone geometries rather than mutate them.Tim Graham
2020-03-10Fixed typos in tolerance gis_tests.Mariusz Felisiak
2020-03-04Fixed CVE-2020-9402 -- Properly escaped tolerance parameter in GIS functions ↵Mariusz Felisiak
and aggregates on Oracle. Thanks to Norbert Szetei for the report.
2019-08-23Fixed #29955 -- Added support for distance expression to the dwithin lookup.Simon Charette
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-16Fixed #30687 -- Fixed using of OuterRef() expressions in distance lookups.Andrew Brown
2019-03-03Reverted "Fixed relative paths imports per isort 4.3.5."Mariusz Felisiak
This reverts commit 463fe11bc8b2d068e447c5df677e7a31c2af7e03 due to restore of relative paths sorting from isort < 4.3.5 in isort 4.3.10.
2019-02-25Fixed relative paths imports per isort 4.3.5.Mariusz Felisiak
2018-01-12Fixed #28996 -- Simplified some boolean constructs and removed trivial ↵Дилян Палаузов
continue statements.
2017-10-06Fixed #28665 -- Change some database exceptions to NotImplementedError per ↵Simon Charette
PEP 249.
2017-09-11Fixed #28353 -- Fixed some GIS functions when queryset is evaluated more ↵Sergey Fedoseev
than once. Reverted test for refs #27603 in favor of using FuncTestMixin.
2017-07-27Fixed #28437 -- Added support for complex geometry expressions in GIS lookups.Sergey Fedoseev
2017-07-26Fixed #28436 -- Added support for distance lookups on MySQL.Sergey Fedoseev
2017-07-25Fixed #28432 -- Allowed geometry expressions to be used with distance lookups.Sergey Fedoseev
Distance lookups use the Distance function for decreased code redundancy.
2017-07-19Fixed typo in DistanceLookupBase.process_rhs() error message.Sergey Fedoseev
2017-06-01Refs #23968 -- Removed unnecessary lists, generators, and tuple calls.Jon Dufresne
2017-05-24Refs #27804 -- Used subTest() in several tests.Bruno Alla
2017-05-04Made runtests.py run gis_tests only when using a GIS database backend.Tim Graham
This facilitates other changes like refs #28160.
2017-04-06Fixed #28006 -- Allowed using D with lookups on Distance annotations.Sergey Fedoseev
2017-04-02Fixed #27573 -- Made Distance on geodetic coordinates return a raw value on ↵Sergey Fedoseev
MySQL.
2017-04-01Fixed #25605 -- Made GIS DB functions accept geometric expressions, not only ↵Sergey Fedoseev
values, in all positions.
2017-03-17Replaced type-specific assertions with assertEqual().Tim Graham
Python docs say, "it's usually not necessary to invoke these methods directly."
2017-03-13Refs #27788 -- Removed Oracle 11 workarounds in GIS tests.Sergey Fedoseev
2017-01-18Refs #23919 -- Removed python_2_unicode_compatible decorator usageClaude Paroz
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2017-01-17Removed GeoManager and GeoQuerySet per deprecation timeline.Tim Graham
2017-01-03Replaced some GIS has_X_method skips with supports_X_aggr/has_X_function.Tim Graham
2016-12-15Fixed #27576 -- Made get_srid_info() fallback to GDAL if SpatialRefSys is ↵Sergey Fedoseev
unavailable.
2016-12-15Fixed #27497 -- Improved support of geodetic coordinates on SpatiaLite.Sergey Fedoseev
Area function, Distance function, and distance lookups now work with geodetic coordinates on SpatiaLite.
2016-12-05Removed test workarounds for PROJ.4 < 4.7.0.Sergey Fedoseev
PROJ.4 4.7.0 was released on 25 Sep 2009 and is available in Ubuntu 12.04.
2016-11-15Refs #26753 -- Removed obsolete workarounds in GIS tests for lack of GDAL.Adam Chainz
Missed in f7a363ee1d2039824d95f35e54219e09c5af67b0.
2016-09-13Fixed #27203 -- Replaced assertQuerysetEqual(..., lambda o: o) with ↵Mads Jensen
assertSequenceEqual().
2016-08-30Fixed #26685 -- Added dwithin lookup support on SpatiaLite.Kevan Swanberg
2016-08-09Unified SpatiaLite spellingClaude Paroz
2016-06-18Fixed #26753 -- Made GDAL a required dependency for contrib.gisClaude Paroz
Thanks Tim Graham for the review.
2016-01-29Refs #26022 -- Used context manager version of assertRaises in tests.Hasan
2016-01-28Fixed #26147 -- Relaxed expected values in GIS tests to account for ↵Tim Graham
database/library differences.
2015-12-30Fixed #15165 -- Prevented wrong results with perimeter on geodetic fields.Claude Paroz
2015-12-03Fixed #25797 -- Fixed regex for getting units from SRS WKT.Sergey Fedoseev