summaryrefslogtreecommitdiff
path: root/tests/gis_tests
AgeCommit message (Collapse)Author
2023-02-21Refs #16969 -- Added test for not initializing PostGIS-specific stuff for ↵Mariusz Felisiak
non-db connections.
2023-02-17Fixed #34302 -- Fixed SpatialReference.srid for objects without top-level ↵Stefan Brand
authority.
2023-02-17Refs #34302 -- Fixed SpatialReference.auth_name()/auth_code() when target is ↵Stefan Brand
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.
2023-02-07Fixed #33638 -- Fixed GIS lookups crash with geography fields on PostGIS.Jacob Walls
2023-02-01Refs #33476 -- Applied Black's 2023 stable style.David Smith
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
2023-01-20Fixed #34266 -- Added ClosestPoint GIS database functions.Niccolò Mineo
2023-01-17Refs #27674 -- Removed GeoModelAdmin and OSMGeoAdmin per deprecation timeline.Mariusz Felisiak
2023-01-13Fixed #34234 -- Dropped support for PROJ 4.Leo
2023-01-10Refs #31014 -- Added FromWKB and FromWKT GIS database functions.Mariusz Felisiak
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>
2023-01-03Fixed #33783 -- Added IsEmpty GIS database function and __isempty lookup on ↵Claude Paroz
PostGIS.
2023-01-03Fixed #23842 -- Fixed flaky GeoQuerySetTest.test_make_line() test.Mariusz Felisiak
2022-12-15Fixed #33308 -- Added support for psycopg version 3.Daniele Varrazzo
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>
2022-10-08Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to ↵Gregor Gärtner
assertQuerySetEqual(). Co-Authored-By: Michael Howitz <mh@gocept.com>
2022-09-24Fixed #34026 -- Fixed WKBReader.read() crash on string input.select-case
2022-08-12Fixed #33924 -- Deprecated BaseGeometryWidget.map_height/map_width attributes.Claude Paroz
2022-08-01Refs #25706 -- Removed inline CSS in the openlayers widget template.Claude Paroz
2022-07-25Fixed #33866 -- Added pathlib.Path support to GDALRaster constructor.Claude Paroz
2022-07-23Removed unneeded test suite creation for GIS measure tests.Claude Paroz
2022-07-08Fixed #33718 -- Dropped support for MySQL 5.7.Mariusz Felisiak
2022-07-05Fixed RelatedGeoModelTest.test08_defer_only() on MySQL 8+ with MyISAM ↵Mariusz Felisiak
storage engine.
2022-07-01Fixed GEOSTest.test_emptyCollections() on GEOS 3.8.0.Mariusz Felisiak
It's a regression in GEOS 3.8.0 fixed in GEOS 3.8.1.
2022-06-21Fixed #33794 -- Fixed string-casting of GIS queries on PostgreSQL.Claude Paroz
Regression in 64c3f049ea3bcb1c82f35ae09f1dd5349a826a5c.
2022-06-14Fixed #33772 -- Added QuerySet.first()/last() error message on unordered ↵Pablo Pissi
queryset with aggregation.
2022-06-01Fixed #33742 -- Added id to GeoJSON serializer.Samir Shah
2022-05-16Fixed #27550 -- Allowed GEOSGeometry.normalize() to return a normalized clone.Marcelo Galigniana
2022-04-22Refs #27674 --- Deprecated django.contrib.gis.admin.OpenLayersWidget.Mariusz Felisiak
2022-03-24Refs #33577 -- Used addCleanup() to remove .aux file in GDALBandTests.Mariusz Felisiak
Follow up to 970f5bf5035d8c99b0ff883f984b60cf531dddbe.
2022-03-17Removed usage of django.db.utils.ConnectionHandler.databases.Florian Apolloner
2022-03-16Fixed #33577 -- Confirmed support for GDAL 3.4.Mariusz Felisiak
2022-02-22Removed redundant QuerySet.all() calls in docs and tests.Nick Pope
Most QuerySet methods are mapped onto the Manager and, in general, it isn't necessary to call .all() on the manager.
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
2022-02-03Refs #33476 -- Refactored problematic code before reformatting by Black.Mariusz Felisiak
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], )
2022-01-26Increased test coverage for django.contrib.gis.gdal.layer.Layer.Mariusz Felisiak
2022-01-20Fixed #33453 -- Dropped support for GDAL 2.1.Mariusz Felisiak
2022-01-19Added tests for SpatialReference.to_esri()/from_esri().Mariusz Felisiak
2022-01-07Fixed #28628 -- Changed \d to [0-9] in regexes where appropriate.Ad Timmering
2021-12-20Refs #27674 -- Added tests for GISModelAdmin.gis_widget_kwargs.Alexander Filimonov
2021-11-30Fixed #33047 -- Fixed CheckConstraint crash with GIS lookups on PostGIS and ↵Claude Paroz
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>
2021-10-21Fixed #33215 -- Confirmed support for GEOS 3.10.Mariusz Felisiak
2021-09-27Fixed #33136 -- Added GEOSGeometry.make_valid() method.Claude Paroz
2021-09-17Fixed #27674 -- Deprecated GeoModelAdmin and OSMGeoAdmin.Giannis Adamopoulos
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2021-09-14Fixed #32873 -- Deprecated settings.USE_L10N.Claude Paroz
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2021-08-23Fixed #33030 -- Fixed broken links to GDAL docs.Märt Häkkinen
2021-07-30Refs #32956 -- Updated words ending in -wards.David Smith
AP styleguide: Virtually none of the words ending with -wards end with an s.
2021-05-14Fixed #32721 -- Fixed migrations crash when adding namespaced spatial ↵snowman2
indexes on PostGIS.
2021-05-13Refs #16455 -- Added test for using opclasses on indexes for ↵Mariusz Felisiak
multidimensional geometry fields on PostGIS.
2021-05-07Fixed #32670 -- Allowed GDALRasters to use any GDAL virtual filesystem.Jordi Castells
2021-04-08Fixed #32575 -- Added support for SpatiaLite 5.Claude Paroz
2021-04-07Dropped support for GEOS 3.5 and GDAL 2.0.Claude Paroz