summaryrefslogtreecommitdiff
path: root/django/contrib/gis/db/backends/postgis/operations.py
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #33638 -- Fixed GIS lookups crash with geography fields on PostGIS.Jacob Walls2023-02-071-7/+9
|
* Refs #31014 -- Added FromWKB and FromWKT GIS database functions.Mariusz Felisiak2023-01-101-0/+2
| | | | | 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 #33308 -- Added support for psycopg version 3.Daniele Varrazzo2022-12-151-1/+5
| | | | | | | 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>
* Fixed #33675 -- Dropped support for PostgreSQL 10 and PostGIS 2.4.Mariusz Felisiak2022-05-041-3/+1
|
* Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak2022-02-071-2/+4
|
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-071-96/+121
|
* Fixed #32357 -- Dropped support for PostgreSQL 9.6 and PostGIS 2.3.Mariusz Felisiak2021-01-191-1/+1
|
* Renamed BaseSpatialOperations.geography to ↵Tim Graham2020-11-091-1/+0
| | | | BaseSpatialFeatures.supports_geography.
* Fixed #31579 -- Dropped support for PostgreSQL 9.5 and PostGIS 2.2.Mariusz Felisiak2020-05-141-1/+1
|
* Renamed PROJ.4 to PROJ.Claude Paroz2020-05-131-3/+3
|
* Refs #30116 -- Simplified regex match group access with Match.__getitem__().Jon Dufresne2020-05-111-1/+1
| | | | | The method has been available since Python 3.6. The shorter syntax is also marginally faster.
* Simplified imports from django.db and django.contrib.gis.db.Nick Pope2020-02-041-1/+1
|
* Fixed #30996 -- Added AsWKB and AsWKT GIS functions.Sergey Fedoseev2019-11-221-0/+2
|
* Fixed #30155 -- Dropped support for PostgreSQL 9.4 and PostGIS 2.1.Tim Graham2019-02-041-8/+1
|
* Fixed typo in contrib.gis variable name.HyunTae Hwang2018-12-161-3/+3
|
* Fixed typos in comments and docs.luz.paz2018-08-011-1/+1
|
* Fixed #28841 -- Added ForcePolygonCW GIS function and deprecated ForceRHR.Sergey Fedoseev2017-12-271-0/+2
|
* Fixed #28665 -- Change some database exceptions to NotImplementedError per ↵Simon Charette2017-10-061-2/+2
| | | | PEP 249.
* Fixed #28353 -- Fixed some GIS functions when queryset is evaluated more ↵Sergey Fedoseev2017-09-111-0/+3
| | | | | than once. Reverted test for refs #27603 in favor of using FuncTestMixin.
* Removed unneeded __init__() methods.Sergey Fedoseev2017-09-071-13/+8
|
* Replaced @cached_property with class attributes where possible.Sergey Fedoseev2017-09-061-4/+1
|
* Refs #28518 -- Improved performance of loading geometries from DB.Sergey Fedoseev2017-09-051-2/+6
|
* Fixed #28518 -- Improved performance of loading geometries from DB.Sergey Fedoseev2017-08-241-0/+12
|
* Fixed #28432 -- Allowed geometry expressions to be used with distance lookups.Sergey Fedoseev2017-07-251-24/+30
| | | | Distance lookups use the Distance function for decreased code redundancy.
* Refs #25588 -- Removed obsolete bits of RasterField support.Tim Graham2017-07-201-10/+2
| | | | Unused since bbfad84dd980a97174c3b061a3d1b5f1373c380d.
* Simplified handling of GIS lookup params.Sergey Fedoseev2017-07-201-9/+3
|
* Fixed #27830 -- Used distutils.version.LooseVersion for version parsing.chillaranand2017-06-131-12/+2
|
* Sorted imports per isort 4.2.9.Tim Graham2017-06-011-2/+3
|
* Fixed #26788 -- Fixed QuerySet.update() crash when updating a geometry to ↵Sergey Fedoseev2017-04-101-7/+6
| | | | another one.
* Removed connection agnostic SRID info cache from BaseSpatialField.Sergey Fedoseev2017-04-071-1/+1
|
* Made isvalid lookup use IsValid function to decrease code redundancy.Sergey Fedoseev2017-03-291-1/+0
|
* Removed more GeoQuerySet leftovers.Sergey Fedoseev2017-03-211-2/+2
| | | Follow up to a0d166306fbdc41f49e6fadf4ec84b17eb147daa.
* Removed GeoQuerySet leftovers.Sergey Fedoseev2017-03-161-34/+4
| | | Follow up to a0d166306fbdc41f49e6fadf4ec84b17eb147daa.
* Fixed #25524 -- Removed GISOperations.get_distance()'s handle_spheroid param.Tim Graham2017-02-111-11/+2
|
* Refs #27656 -- Updated django.contrib docstring verb style according to PEP 257.Anton Samarchyan2017-02-041-8/+8
|
* Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand2017-01-251-4/+4
|
* Refs #23919 -- Removed six.<various>_types usageClaude Paroz2017-01-181-3/+2
| | | | Thanks Tim Graham and Simon Charette for the reviews.
* Removed unneeded GeoAggregate.convert_value() & ↵Sergey Fedoseev2016-11-301-10/+0
| | | | DatabaseOperations.convert_geom().
* Fixed #27448 -- Switched use of functions deprecated in PostGIS 2.2.Christian von Roques2016-11-121-8/+21
| | | | Thanks Claude Paroz and Tim Graham for reviews, and Mjumbe Wawatu Poe for the initial regression test.
* Fixed #26775 -- Supported dim=3 geography fieldsClaude Paroz2016-06-181-8/+9
| | | | Thanks François-Xavier Thomas for the report.
* Fixed #26675 -- Dropped support for PostgreSQL 9.2/PostGIS 2.0.Tim Graham2016-06-011-1/+1
|
* Fixed #25588 -- Added spatial lookups to RasterField.Daniel Wiesmann2016-05-061-27/+81
| | | | Thanks Tim Graham for the review.
* Fixed #26455 -- Allowed filtering and repairing invalid geometries.Daniel Wiesmann2016-04-091-0/+3
| | | | | | | Added the IsValid and MakeValid database functions, and the isvalid lookup, all for PostGIS. Thanks Tim Graham for the review.
* Fixed W503 flake8 warnings.Tim Graham2016-04-041-2/+1
|
* Fixed a few docstring typos.Noenglish Professorbut2016-03-121-1/+1
|
* Fixed #25835 -- Removed Adaptor alias from spatial operations classes.Sergey Fedoseev2015-11-301-1/+0
|
* Moved around imports in PostGIS operationsClaude Paroz2015-10-271-5/+2
| | | | Thanks Daniel Wiesmann for inspiration.
* Fixed #25592 -- Fixed misnamed strictly_above PostGIS lookupClaude Paroz2015-10-221-1/+1
| | | | | Fixes a regression from 2bd1bbc42. Thanks Daniel Wiesmann for the report and Tim Graham for the review.
* Fixed #25499 -- Added the ability to pass an expression in distance lookupsClaude Paroz2015-10-091-15/+19
| | | | Thanks Bibhas Debnath for the report and Tim Graham for the review.
* Fixed #25175 -- Renamed the postgresql_psycopg2 database backend to postgresql.Caio Ariede2015-08-071-2/+1
|