| Age | Commit message (Collapse) | Author |
|
lookups via band index.
Thanks Tarek Nakkouch for the report, and Simon Charette for the initial
triage and review.
Backport of 81aa5292967cd09319c45fe2c1a525ce7b6684d8 from main.
|
|
Oracle and GEOS 3.12+.
Backport of 344ae16e1e21ab7c0b594d755519738f7f16eaf1 from main
|
|
Backport of 82b3b84a78055844ee07d5d97843a4fc72872e28 from main.
|
|
fields on PostGIS.
Swapped to an allow list instead of a deny list for field types to
determine if the UNNEST optimization can be enabled to avoid further
surprises with other types that would require further specialization to
adapt.
Regression in a16eedcf9c69d8a11d94cac1811018c5b996d491.
Thanks Joshua Goodwin for the report and Sarah Boyce for the test.
Backport of 764af7a3d6c0b543dcf659a2c327f214da768fe4 from main
|
|
https://github.com/psf/black/releases/tag/25.1.0
Backport of ff3aaf036f0cb66cd8f404cd51c603e68aaa7676 from main
|
|
Specification of coordinate reference systems (crs) was removed from the GeoJSON spec in 2016.
https://datatracker.ietf.org/doc/html/rfc7946#appendix-B.1
|
|
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>
|
|
Co-authored-by: David Smith <smithdc@gmail.com>
|
|
Co-authored-by: Fabien Le Frapper <contact@fabienlefrapper.me>
|
|
Thanks Felix Farquharson for the report and Claude Paroz for the
review.
Regression in 40b5b1596f7505416bd30d5d7582b5a9004ea7d5.
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
|
|
These changes will make it easier to introduce tests for alternate
databases that may have different results without the need to duplicate
lots of the tests definition.
|
|
The mmdb files were taken from
https://github.com/maxmind/MaxMind-DB/commit/679e37e18a4a3009949c2213ec2c0bb8090c10c7.
|
|
on MySQL, PostgreSQL, and Oracle.
Co-authored-by: Mário Falcão <mario@falcao.dev>
|
|
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.
|
|
fields on MySQL.
MySQL doesn't support spatial indexes on NULL columns, so there is no
point in removing them.
|
|
This avoids passing "blank=False" and "srid=4326" to field classes,
which are the default values, and removes special treatment for the
"blank" parameter.
|
|
|
|
Looks like testing the second Country is much more computing-intensive
and brings nothing to the test.
|
|
Signed-off-by: cuinix <915115094@qq.com>
|
|
Once the deprecation period ends CheckConstraint.check() can become the
documented method that performs system checks for BaseConstraint
subclasses.
|
|
GeometryCollection and subclasses.
|
|
|
|
|
|
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
|
|
https://github.com/psf/black/releases/tag/24.1.0
|
|
Co-authored-by: Nick Pope <nick@nickpope.me.uk>
|
|
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().
|
|
|
|
|
|
|
|
|
|
responses.
|
|
|
|
Spatialite 5.1 added support for BoundingCircle
(GEOSMinimumBoundingCircle). GEOS 3.7 is required which is lower than
Django's currently supported minmum of 3.8.
https://groups.google.com/g/spatialite-users/c/hAJ2SgitN4M
https://www.gaia-gis.it/gaia-sins/spatialite-sql-5.1.0.html
|
|
|
|
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.
|
|
|
|
|
|
Co-authored-by: David Smith <smithdc@gmail.com>
|
|
GEOIP_SETTINGS is removed from the global scope as this prevents
modifications to the settings using @override_settings in tests.
Additional improvements now that we have stable test databases include:
- Made testing more comprehensive and improved coverage
- Patched socket.gethostbyname() for whole test case
- Added testing of non-free GeoIP2 databases
Co-authored-by: Tom Forbes <tom@tomforb.es>
|
|
|
|
|
|
The `ordering` argument is undocumented and of limited use, so this is
effectively the same as `GeoIP2.lon_lat()`.
|
|
This uses an example with the same precision for all databases.
Follow up to 96e7a752b6c44a84e18d82d37524c1df64b32e12.
|
|
non-default CRS.
|
|
Thanks The Epic Dev for helping with tests.
|
|
|
|
per deprecation timeline.
|
|
|
|
|