summaryrefslogtreecommitdiff
path: root/tests/gis_tests/gdal_tests
AgeCommit message (Collapse)Author
2026-01-20Refs #36382 -- Fixed GDAL_VERSION comparison in gdal_tests.Jacob Walls
Tests regression in 0d31ca98830542088299d2078402891d08cc3a65.
2026-01-16Refs #36382 -- Updated GDAL tests for Memory driver deprecation in GDAL 3.11.David Smith
Follow up to fb0d463b1f88a38f3e7cd8d66ed6c69309f97901 Since GDAL 3.11 the Memory driver is deprecated with its functionality merged into the MEM dataset driver. https://gdal.org/en/stable/drivers/vector/memory.html
2025-08-21Fixed #36382 -- Confirmed support for GDAL 3.11.David Smith
TIGER driver was removed in GDAL 3.11. https://github.com/OSGeo/gdal/commit/eb793be0395ccba50e053a46b30cb90deb530990
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-23Removed double spaces after periods and within phrases.Sarah Boyce
2025-04-09Refs #36036 -- Removed unsupported 4D GEOS tests.Andrew
2025-02-03Refs #36036 -- Added support for GEOSHasM.Andrew Harris
2025-01-15Refs #35058 -- Removed OGRGeometry.coord_dim setter per deprecation timeline.Sarah Boyce
2024-11-04Fixed #35883 -- Confirmed support for GDAL 3.9.David Smith
Updated test for change to exportToXML() which now errors out on unsupported projection methods. See https://github.com/OSGeo/gdal/issues/9223. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2024-10-22Refs #34406 -- Added support for GDAL curved geometries.David Smith
Co-authored-by: Fabien Le Frapper <contact@fabienlefrapper.me>
2024-08-28Fixed #35666 -- Documented stacklevel usage and testing, and adjusted test ↵Simon Charette
suite accordingly. Over the years we've had multiple instances of hit and misses when emitting warnings: either setting the wrong stacklevel or not setting it at all. This work adds assertions for the existing warnings that were declaring the correct stacklevel, but were lacking tests for it.
2024-02-12Refs #35058 -- Added support for measured geometries to GDAL ↵David Smith
GeometryCollection and subclasses.
2024-01-31Refs #35058 -- Added support for measured geometries to GDAL Polygon.David Smith
2024-01-29Refs #35058 -- Added support for measured geometries to GDAL LineString.David Smith
2024-01-28Refs #35058 -- Made centroid available on all geometry types.David Smith
Centroid is available on all geometry types since GDAL 1.8.0. Previously it was restricted to Polygon. https://gdal.org/doxygen/classOGRGeometry.html#a91787f669b2a148169667e270e7e40df
2024-01-26Applied Black's 2024 stable style.Mariusz Felisiak
https://github.com/psf/black/releases/tag/24.1.0
2024-01-25Refs #35058 -- Added support for measured geometries to GDAL Point.David Smith
Co-authored-by: Nick Pope <nick@nickpope.me.uk>
2024-01-23Refs #35058 -- Deprecated OGRGeometry.coord_dim setter.David Smith
Reflecting a change in the underlying GDAL library (since GDAL 2.1) using coord_dim to set a geometries dimensions is deprecated in favor of set_3d().
2024-01-22Added more WKT and WKB tests.David Smith
2024-01-18Refs #35058 -- Added is_3d and set_3d() to OGRGeometry.David Smith
2023-12-27Refs #35058 -- Made OGRGeomType aware of additional WKB geometry types.David Smith
This commit increases OGRGeomType's knowledge of WKB types and allows for improved error messages when Django doesn't yet have a corresponding class to wrap a given type.
2023-12-26Refs #35058 -- Added __repr__() to OGRGeomType.David Smith
2023-12-20Fixed #35049 -- Dropped support for GDAL 2.4.David Smith
2023-12-18Fixed #34411 -- Updated GDAL API to handle vector DataSource's.Claude Paroz
Co-authored-by: David Smith <smithdc@gmail.com>
2023-06-30Fixed #34572 -- Added support for GDAL 3.7.Mariusz Felisiak
Co-authored-by: Michael Howitz <mh@gocept.com>
2023-03-02Fixed #34374 -- Fixed GIS tests on Windows.Heath Henley
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-01-13Fixed #34234 -- Dropped support for PROJ 4.Leo
2022-07-25Fixed #33866 -- Added pathlib.Path support to GDALRaster constructor.Claude Paroz
2022-03-24Refs #33577 -- Used addCleanup() to remove .aux file in GDALBandTests.Mariusz Felisiak
Follow up to 970f5bf5035d8c99b0ff883f984b60cf531dddbe.
2022-03-16Fixed #33577 -- Confirmed support for GDAL 3.4.Mariusz Felisiak
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-01-26Increased test coverage for django.contrib.gis.gdal.layer.Layer.Mariusz Felisiak
2022-01-19Added tests for SpatialReference.to_esri()/from_esri().Mariusz Felisiak
2021-05-07Fixed #32670 -- Allowed GDALRasters to use any GDAL virtual filesystem.Jordi Castells
2021-04-07Dropped support for GEOS 3.5 and GDAL 2.0.Claude Paroz
2021-04-07Fixed #32544 -- Confirmed support for GDAL 3.2 and GEOS 3.9.Claude Paroz
2021-03-23Refs #32353, Refs #32352 -- Fixed GIS tests with PROJ 7.X.Mariusz Felisiak
Different PROJ versions use different transformations, all are correct as having a 1 meter accuracy. These are differences in PROJ versions that cannot and should not be handled in Django itself. Thanks Jani Tiainen and David Smith for reports. See: https://github.com/OSGeo/gdal/issues/3377
2020-11-28Fixed #32230 -- Made DataSource support pathlib.Path.Hasan Ramezani
2020-09-11Fixed #31766 -- Made GDALRaster.transform() return a clone for the same SRID ↵Barton Ip
and driver. Thanks Daniel Wiesmann for the review.
2020-07-07Fixed #31713 -- Added SpatialReference support to GDALRaster.transform().rico-ci
2020-05-13Renamed PROJ.4 to PROJ.Claude Paroz
2020-05-12Fixed #30678 -- Added support for GDAL 3.Claude Paroz
2020-02-24Fixed #31292 -- Fixed django.contrib.gis.gdal.gdal_full_version() crash.Diederik van der Boor
2020-02-24Added test for django.contrib.gis.gdal.gdal_version().Diederik van der Boor
2020-01-16Fixed #31162 -- Prevented error logs when using WKT strings in lookups.Mariusz Felisiak
Thanks dbxnr for the initial patch. Regression in 6f44f714c92d2966dca390ebd3054e5fb0bb0c80.
2019-11-19Removed unnecessary numeric indexes in format strings.Jon Dufresne
2019-05-09Fixed comment typo.luzpaz