Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						90f7a21b47 
					 
					
						
						
							
							Moved object creation to subTest() in GISFunctionsTests.test_geometry_type() test.  
						
						
						
						
					 
					
						2025-10-15 15:04:16 +02:00 
						 
				 
			
				
					
						
							
							
								django-bot 
							
						 
					 
					
						
						
							
						
						69a93a88ed 
					 
					
						
						
							
							Refs  #36500  -- Rewrapped long docstrings and block comments via a script.  
						
						... 
						
						
						
						Rewrapped long docstrings and block comments to 79 characters + newline
using script from https://github.com/medmunds/autofix-w505 . 
						
						
					 
					
						2025-07-23 20:17:55 -03:00 
						 
				 
			
				
					
						
							
							
								Mike Edmunds 
							
						 
					 
					
						
						
							
						
						55b0cc2131 
					 
					
						
						
							
							Refs  #36500  -- Shortened some long docstrings and comments.  
						
						... 
						
						
						
						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-23 20:17:55 -03:00 
						 
				 
			
				
					
						
							
							
								Ahmed Ibrahim 
							
						 
					 
					
						
						
							
						
						a5b0a618c3 
					 
					
						
						
							
							Fixed   #28696  -- Added GeometryType GIS database function and __geom_type lookup.  
						
						... 
						
						
						
						Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com > 
						
						
					 
					
						2025-07-20 11:18:38 +02:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						cf1a80fc2d 
					 
					
						
						
							
							Added validation to BaseSpatialFeatures.has_<Func>_function.  
						
						
						
						
					 
					
						2025-06-05 22:18:56 +02:00 
						 
				 
			
				
					
						
							
							
								enprava 
							
						 
					 
					
						
						
							
						
						51cab4ad51 
					 
					
						
						
							
							Fixed   #35705  -- Added Rotate GIS database function to rotate geometries.  
						
						
						
						
					 
					
						2025-02-23 16:20:57 +01:00 
						 
				 
			
				
					
						
							
							
								Claude Paroz 
							
						 
					 
					
						
						
							
						
						10b31eea33 
					 
					
						
						
							
							Refs  #31014  -- Added srid argument to FromWKB/FromWKT() GIS functions.  
						
						
						
						
					 
					
						2024-03-18 09:45:33 +01:00 
						 
				 
			
				
					
						
							
							
								Claude Paroz 
							
						 
					 
					
						
						
							
						
						894fa55da1 
					 
					
						
						
							
							Applied BoundingCircle test to only one country.  
						
						... 
						
						
						
						Looks like testing the second Country is much more computing-intensive
and brings nothing to the test. 
						
						
					 
					
						2024-03-10 20:59:36 +01:00 
						 
				 
			
				
					
						
							
							
								David Smith 
							
						 
					 
					
						
						
							
						
						45f59d0eab 
					 
					
						
						
							
							Fixed   #35086  -- Added support for BoundedCircle on Spatialite 5.1+.  
						
						... 
						
						
						
						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  
						
						
					 
					
						2024-01-05 11:55:44 +01:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						6e369f36f2 
					 
					
						
						
							
							Refs  #34882  -- Fixed GISFunctionsTests.test_asgeojson_option_0() test on Oracle.  
						
						... 
						
						
						
						This uses an example with the same precision for all databases.
Follow up to 96e7a752b6 
						
						
					 
					
						2023-10-11 10:58:10 +02:00 
						 
				 
			
				
					
						
							
							
								Denis Rouzaud 
							
						 
					 
					
						
						
							
						
						96e7a752b6 
					 
					
						
						
							
							Fixed   #34882  -- Fixed no options in AsGeoJSON() for geometries in non-default CRS.  
						
						
						
						
					 
					
						2023-10-06 05:25:32 +02:00 
						 
				 
			
				
					
						
							
							
								pieterck 
							
						 
					 
					
						
						
							
						
						0989cf13e7 
					 
					
						
						
							
							Fixed   #34759  -- Confirmed support for SpatiaLite 5.1.  
						
						... 
						
						
						
						Thanks The Epic Dev for helping with tests. 
						
						
					 
					
						2023-10-04 19:58:27 +02:00 
						 
				 
			
				
					
						
							
							
								Niccolò Mineo 
							
						 
					 
					
						
						
							
						
						79c298c9ce 
					 
					
						
						
							
							Fixed   #34266  -- Added ClosestPoint GIS database functions.  
						
						
						
						
					 
					
						2023-01-20 08:13:43 +01:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						552384fa97 
					 
					
						
						
							
							Refs  #31014  -- Added FromWKB and FromWKT GIS database functions.  
						
						... 
						
						
						
						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-10 11:51:09 +01:00 
						 
				 
			
				
					
						
							
							
								Claude Paroz 
							
						 
					 
					
						
						
							
						
						2a14b8df39 
					 
					
						
						
							
							Fixed   #33783  -- Added IsEmpty GIS database function and __isempty lookup on PostGIS.  
						
						
						
						
					 
					
						2023-01-03 05:47:44 +01:00 
						 
				 
			
				
					
						
							
							
								Nick Pope 
							
						 
					 
					
						
						
							
						
						847f46e9bf 
					 
					
						
						
							
							Removed redundant QuerySet.all() calls in docs and tests.  
						
						... 
						
						
						
						Most QuerySet methods are mapped onto the Manager and, in general,
it isn't necessary to call .all() on the manager. 
						
						
					 
					
						2022-02-22 10:29:38 +01:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						7119f40c98 
					 
					
						
						
							
							Refs  #33476  -- Refactored code to strictly match 88 characters line length.  
						
						
						
						
					 
					
						2022-02-07 20:37:05 +01:00 
						 
				 
			
				
					
						
							
							
								django-bot 
							
						 
					 
					
						
						
							
						
						9c19aff7c7 
					 
					
						
						
							
							Refs  #33476  -- Reformatted code with Black.  
						
						
						
						
					 
					
						2022-02-07 20:37:05 +01:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						c5cd878382 
					 
					
						
						
							
							Refs  #33476  -- Refactored problematic code before reformatting by Black.  
						
						... 
						
						
						
						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-02-03 11:20:46 +01:00 
						 
				 
			
				
					
						
							
							
								Claude Paroz 
							
						 
					 
					
						
						
							
						
						30e123ed35 
					 
					
						
						
							
							Fixed   #32575  -- Added support for SpatiaLite 5.  
						
						
						
						
					 
					
						2021-04-08 09:36:29 +02:00 
						 
				 
			
				
					
						
							
							
								Claude Paroz 
							
						 
					 
					
						
						
							
						
						e3cfba0029 
					 
					
						
						
							
							Fixed   #32544  -- Confirmed support for GDAL 3.2 and GEOS 3.9.  
						
						
						
						
					 
					
						2021-04-07 15:54:24 +02:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						e3ece0144a 
					 
					
						
						
							
							Removed redundant database vendor helpers in gis_tests/utils.py.  
						
						
						
						
					 
					
						2021-01-13 09:22:44 +01:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						9f91122ed8 
					 
					
						
						
							
							Added SpatialFeatures.empty_intersection_returns_none.  
						
						
						
						
					 
					
						2021-01-13 09:22:44 +01:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						5a434677a7 
					 
					
						
						
							
							Relaxed MemSize test for CockroachDB.  
						
						
						
						
					 
					
						2020-12-14 12:28:38 +01:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						c9e8544321 
					 
					
						
						
							
							Added SpatialFeatures.unsupported_geojson_options.  
						
						
						
						
					 
					
						2020-11-11 07:39:15 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Charette 
							
						 
					 
					
						
						
							
						
						1b7623fdfd 
					 
					
						
						
							
							Refs  #30446  -- Defined output_field of BoundingCircle() GIS database function.  
						
						... 
						
						
						
						This prevented the default behavior of
BaseExpression._resolve_output_field from error'ing out when such
functions accepted both expressions from mixed types
(e.g. BoundingCircle(Polygon, num_seg=12)). 
						
						
					 
					
						2020-07-14 09:36:17 +02:00 
						 
				 
			
				
					
						
							
							
								Sergey Fedoseev 
							
						 
					 
					
						
						
							
						
						31e2ab345b 
					 
					
						
						
							
							Fixed   #31195  -- Relaxed GeometryDistance test for PROJ 5.2+.  
						
						
						
						
					 
					
						2020-01-21 22:16:23 +01:00 
						 
				 
			
				
					
						
							
							
								Sergey Fedoseev 
							
						 
					 
					
						
						
							
						
						a920c0b852 
					 
					
						
						
							
							Fixed   #31142  -- Fixed MakeValid.output_field when geometry type is changed.  
						
						... 
						
						
						
						Regression in 2ef4b4795e 
						
						
					 
					
						2020-01-20 08:59:45 +01:00 
						 
				 
			
				
					
						
							
							
								Sergey Fedoseev 
							
						 
					 
					
						
						
							
						
						a5855c8f0f 
					 
					
						
						
							
							Fixed   #30996  -- Added AsWKB and AsWKT GIS functions.  
						
						
						
						
					 
					
						2019-11-22 13:40:48 +01:00 
						 
				 
			
				
					
						
							
							
								Sergey Fedoseev 
							
						 
					 
					
						
						
							
						
						f95b59a1b3 
					 
					
						
						
							
							Fixed   #30994  -- Added Oracle support for AsGeoJSON GIS function.  
						
						
						
						
					 
					
						2019-11-18 15:32:44 +01:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						bebf61de11 
					 
					
						
						
							
							Added gis_tests.utils.mariadb hook.  
						
						
						
						
					 
					
						2019-10-18 07:46:31 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						3dca8738cb 
					 
					
						
						
							
							Simplified GISFunctionsTests.test_point_on_surface().  
						
						
						
						
					 
					
						2019-06-12 12:59:02 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						b616f65855 
					 
					
						
						
							
							Added missing support for PointOnSurface function on MariaDB.  
						
						
						
						
					 
					
						2019-06-12 10:51:43 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						198a0adef2 
					 
					
						
						
							
							Removed obsolete comment from GISFunctionsTests.test_asgeojson().  
						
						
						
						
					 
					
						2019-06-12 09:43:03 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						2e00119e39 
					 
					
						
						
							
							Fixed GISFunctionsTests.test_asgeojson() crash on MariaDB 10.2+.  
						
						
						
						
					 
					
						2019-06-12 09:43:03 +02:00 
						 
				 
			
				
					
						
							
							
								Francisco Couzo 
							
						 
					 
					
						
						
							
						
						0193bf874f 
					 
					
						
						
							
							Fixed   #28738  -- Added the GeometryDistance function.  
						
						
						
						
					 
					
						2019-03-20 12:54:42 -04:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						b435f82939 
					 
					
						
						
							
							Reverted "Fixed relative paths imports per isort 4.3.5."  
						
						... 
						
						
						
						This reverts commit 463fe11bc8 
						
						
					 
					
						2019-03-03 19:33:48 +01:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						463fe11bc8 
					 
					
						
						
							
							Fixed relative paths imports per isort 4.3.5.  
						
						
						
						
					 
					
						2019-02-25 11:03:30 +01:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						6f23996a59 
					 
					
						
						
							
							Refs  #28841  -- Removed ForceRHR function per deprecation timeline.  
						
						
						
						
					 
					
						2019-01-17 10:52:19 -05:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						0004daa536 
					 
					
						
						
							
							Used 4 space hanging indent for dictionaries.  
						
						... 
						
						
						
						Thanks Mariusz Felisiak for auditing. 
						
						
					 
					
						2019-01-02 18:18:19 -05:00 
						 
				 
			
				
					
						
							
							
								Sergey Fedoseev 
							
						 
					 
					
						
						
							
						
						d8d21d3891 
					 
					
						
						
							
							Made test for GIS Envelope function more strict.  
						
						
						
						
					 
					
						2018-06-20 16:48:50 +05:00 
						 
				 
			
				
					
						
							
							
								Sergey Fedoseev 
							
						 
					 
					
						
						
							
						
						aefe624c62 
					 
					
						
						
							
							Fixed   #28841  -- Added ForcePolygonCW GIS function and deprecated ForceRHR.  
						
						
						
						
					 
					
						2017-12-27 19:26:14 -05:00 
						 
				 
			
				
					
						
							
							
								Simon Charette 
							
						 
					 
					
						
						
							
						
						9d93dff333 
					 
					
						
						
							
							Fixed   #28665  -- Change some database exceptions to NotImplementedError per PEP 249.  
						
						
						
						
					 
					
						2017-10-06 12:47:08 -04:00 
						 
				 
			
				
					
						
							
							
								Sergey Fedoseev 
							
						 
					 
					
						
						
							
						
						3905cfa1a5 
					 
					
						
						
							
							Fixed   #28353  -- Fixed some GIS functions when queryset is evaluated more than once.  
						
						... 
						
						
						
						Reverted test for refs #27603  in favor of using FuncTestMixin. 
						
						
					 
					
						2017-09-11 11:56:39 -04:00 
						 
				 
			
				
					
						
							
							
								Sergey Fedoseev 
							
						 
					 
					
						
						
							
						
						63d2472b10 
					 
					
						
						
							
							Fixed capitalization of "Spherical Mercator."  
						
						
						
						
					 
					
						2017-09-09 09:35:30 -04:00 
						 
				 
			
				
					
						
							
							
								Sergey Fedoseev 
							
						 
					 
					
						
						
							
						
						1a85b07bdd 
					 
					
						
						
							
							Fixed   #28518  -- Improved performance of loading geometries from DB.  
						
						
						
						
					 
					
						2017-08-24 14:08:35 -04:00 
						 
				 
			
				
					
						
							
							
								Sergey Fedoseev 
							
						 
					 
					
						
						
							
						
						306b961a4d 
					 
					
						
						
							
							Fixed   #28383  -- Made NumPoints GIS function return None for non-LINESTRING geometries on MySQL.  
						
						
						
						
					 
					
						2017-07-11 08:21:11 -04:00 
						 
				 
			
				
					
						
							
							
								Sergey Fedoseev 
							
						 
					 
					
						
						
							
						
						44a7b98abb 
					 
					
						
						
							
							Fixed   #27964  -- Made MySQL backend raise exception if spatial transformation is needed for query.  
						
						
						
						
					 
					
						2017-06-26 15:10:55 -04:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						890537253c 
					 
					
						
						
							
							Made runtests.py run gis_tests only when using a GIS database backend.  
						
						... 
						
						
						
						This facilitates other changes like refs #28160 . 
						
						
					 
					
						2017-05-04 20:29:19 -04:00 
						 
				 
			
				
					
						
							
							
								Sergey Fedoseev 
							
						 
					 
					
						
						
							
						
						5e710cf4a5 
					 
					
						
						
							
							Fixed   #11854  -- Added Azimuth GIS function. ( #8286 )  
						
						
						
						
					 
					
						2017-04-02 14:24:06 -04:00