summaryrefslogtreecommitdiff
path: root/tests/gis_tests
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #34374 -- Fixed GIS tests on Windows.Heath Henley2023-03-022-9/+10
|
* Refs #16969 -- Added test for not initializing PostGIS-specific stuff for ↵Mariusz Felisiak2023-02-211-0/+16
| | | | non-db connections.
* Fixed #34302 -- Fixed SpatialReference.srid for objects without top-level ↵Stefan Brand2023-02-171-1/+11
| | | | authority.
* Refs #34302 -- Fixed SpatialReference.auth_name()/auth_code() when target is ↵Stefan Brand2023-02-171-1/+6
| | | | | | | | None. force_bytes() turns None into the byte string b"None". Since ctypes.c_char_p() also accepts None, we can bypass force_bytes() if target is None.
* Fixed #33638 -- Fixed GIS lookups crash with geography fields on PostGIS.Jacob Walls2023-02-072-19/+49
|
* Refs #33476 -- Applied Black's 2023 stable style.David Smith2023-02-015-3/+3
| | | | | | | | Black 23.1.0 is released which, as the first release of the year, introduces the 2023 stable style. This incorporates most of last year's preview style. https://github.com/psf/black/releases/tag/23.1.0
* Fixed #34266 -- Added ClosestPoint GIS database functions.Niccolò Mineo2023-01-201-0/+12
|
* Refs #27674 -- Removed GeoModelAdmin and OSMGeoAdmin per deprecation timeline.Mariusz Felisiak2023-01-176-166/+0
|
* Fixed #34234 -- Dropped support for PROJ 4.Leo2023-01-133-8/+4
|
* Refs #31014 -- Added FromWKB and FromWKT GIS database functions.Mariusz Felisiak2023-01-101-0/+18
| | | | | Co-authored-by: Ondřej Böhm <ondrej.bohm@firma.seznam.cz> Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com>
* Fixed #33783 -- Added IsEmpty GIS database function and __isempty lookup on ↵Claude Paroz2023-01-031-0/+12
| | | | PostGIS.
* Fixed #23842 -- Fixed flaky GeoQuerySetTest.test_make_line() test.Mariusz Felisiak2023-01-031-11/+9
|
* Fixed #33308 -- Added support for psycopg version 3.Daniele Varrazzo2022-12-151-1/+1
| | | | | | | Thanks Simon Charette, Tim Graham, and Adam Johnson for reviews. Co-authored-by: Florian Apolloner <florian@apolloner.eu> Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
* Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to ↵Gregor Gärtner2022-10-081-2/+2
| | | | | | assertQuerySetEqual(). Co-Authored-By: Michael Howitz <mh@gocept.com>
* Fixed #34026 -- Fixed WKBReader.read() crash on string input.select-case2022-09-241-5/+7
|
* Fixed #33924 -- Deprecated BaseGeometryWidget.map_height/map_width attributes.Claude Paroz2022-08-121-0/+17
|
* Refs #25706 -- Removed inline CSS in the openlayers widget template.Claude Paroz2022-08-012-4/+4
|
* Fixed #33866 -- Added pathlib.Path support to GDALRaster constructor.Claude Paroz2022-07-251-0/+6
|
* Removed unneeded test suite creation for GIS measure tests.Claude Paroz2022-07-231-15/+0
|
* Fixed #33718 -- Dropped support for MySQL 5.7.Mariusz Felisiak2022-07-081-4/+1
|
* Fixed RelatedGeoModelTest.test08_defer_only() on MySQL 8+ with MyISAM ↵Mariusz Felisiak2022-07-051-2/+2
| | | | storage engine.
* Fixed GEOSTest.test_emptyCollections() on GEOS 3.8.0.Mariusz Felisiak2022-07-011-2/+4
| | | It's a regression in GEOS 3.8.0 fixed in GEOS 3.8.1.
* Fixed #33794 -- Fixed string-casting of GIS queries on PostgreSQL.Claude Paroz2022-06-211-0/+8
| | | | Regression in 64c3f049ea3bcb1c82f35ae09f1dd5349a826a5c.
* Fixed #33772 -- Added QuerySet.first()/last() error message on unordered ↵Pablo Pissi2022-06-141-0/+1
| | | | queryset with aggregation.
* Fixed #33742 -- Added id to GeoJSON serializer.Samir Shah2022-06-011-0/+12
|
* Fixed #27550 -- Allowed GEOSGeometry.normalize() to return a normalized clone.Marcelo Galigniana2022-05-161-5/+11
|
* Refs #27674 --- Deprecated django.contrib.gis.admin.OpenLayersWidget.Mariusz Felisiak2022-04-221-0/+5
|
* Refs #33577 -- Used addCleanup() to remove .aux file in GDALBandTests.Mariusz Felisiak2022-03-241-7/+8
| | | Follow up to 970f5bf5035d8c99b0ff883f984b60cf531dddbe.
* Removed usage of django.db.utils.ConnectionHandler.databases.Florian Apolloner2022-03-171-1/+1
|
* Fixed #33577 -- Confirmed support for GDAL 3.4.Mariusz Felisiak2022-03-162-5/+10
|
* Removed redundant QuerySet.all() calls in docs and tests.Nick Pope2022-02-224-9/+9
| | | | Most QuerySet methods are mapped onto the Manager and, in general, it isn't necessary to call .all() on the manager.
* Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak2022-02-0716-66/+142
|
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-0759-2588/+3959
|
* Refs #33476 -- Refactored problematic code before reformatting by Black.Mariusz Felisiak2022-02-031-2/+1
| | | | | | | | | | | | | | | | | In these cases Black produces unexpected results, e.g. def make_random_password( self, length=10, allowed_chars='abcdefghjkmnpqrstuvwxyz' 'ABCDEFGHJKLMNPQRSTUVWXYZ' '23456789', ): or cursor.execute(""" SELECT ... """, [table name], )
* Increased test coverage for django.contrib.gis.gdal.layer.Layer.Mariusz Felisiak2022-01-262-2/+19
|
* Fixed #33453 -- Dropped support for GDAL 2.1.Mariusz Felisiak2022-01-201-6/+5
|
* Added tests for SpatialReference.to_esri()/from_esri().Mariusz Felisiak2022-01-191-0/+9
|
* Fixed #28628 -- Changed \d to [0-9] in regexes where appropriate.Ad Timmering2022-01-071-0/+7
|
* Refs #27674 -- Added tests for GISModelAdmin.gis_widget_kwargs.Alexander Filimonov2021-12-202-1/+29
|
* Fixed #33047 -- Fixed CheckConstraint crash with GIS lookups on PostGIS and ↵Claude Paroz2021-11-301-0/+18
| | | | | | | | | MySQL GIS backends. Thanks Daniel Swain for the report and Arsalan Ghassemi for the initial patch. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
* Fixed #33215 -- Confirmed support for GEOS 3.10.Mariusz Felisiak2021-10-211-1/+5
|
* Fixed #33136 -- Added GEOSGeometry.make_valid() method.Claude Paroz2021-09-271-0/+19
|
* Fixed #27674 -- Deprecated GeoModelAdmin and OSMGeoAdmin.Giannis Adamopoulos2021-09-178-76/+188
| | | | Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
* Fixed #32873 -- Deprecated settings.USE_L10N.Claude Paroz2021-09-141-1/+1
| | | | Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
* Fixed #33030 -- Fixed broken links to GDAL docs.Märt Häkkinen2021-08-231-1/+1
|
* Refs #32956 -- Updated words ending in -wards.David Smith2021-07-301-2/+2
| | | | AP styleguide: Virtually none of the words ending with -wards end with an s.
* Fixed #32721 -- Fixed migrations crash when adding namespaced spatial ↵snowman22021-05-142-1/+27
| | | | indexes on PostGIS.
* Refs #16455 -- Added test for using opclasses on indexes for ↵Mariusz Felisiak2021-05-131-0/+29
| | | | multidimensional geometry fields on PostGIS.
* Fixed #32670 -- Allowed GDALRasters to use any GDAL virtual filesystem.Jordi Castells2021-05-071-0/+12
|
* Fixed #32575 -- Added support for SpatiaLite 5.Claude Paroz2021-04-083-10/+13
|