Kaydet (Commit) 395af23a authored tarafından Sergey Fedoseev's avatar Sergey Fedoseev Kaydeden (comit) Tim Graham

Refs #25659 -- Added missing docs for Difference/Intersection/SymDifference functions.

Complements 7127eb28.
üst 83a710b8
......@@ -186,12 +186,16 @@ Difference
.. class:: Difference(expr1, expr2, **extra)
*Availability*: PostGIS, Oracle, SpatiaLite
*Availability*: MySQL (≥ 5.6.1), PostGIS, Oracle, SpatiaLite
Accepts two geographic fields or expressions and returns the geometric
difference, that is the part of geometry A that does not intersect with
geometry B.
.. versionchanged:: 1.10
MySQL support was added.
Distance
--------
......@@ -274,11 +278,15 @@ Intersection
.. class:: Intersection(expr1, expr2, **extra)
*Availability*: PostGIS, Oracle, SpatiaLite
*Availability*: MySQL (≥ 5.6.1), PostGIS, Oracle, SpatiaLite
Accepts two geographic fields or expressions and returns the geometric
intersection between them.
.. versionchanged:: 1.10
MySQL support was added.
Length
------
......@@ -395,12 +403,16 @@ SymDifference
.. class:: SymDifference(expr1, expr2, **extra)
*Availability*: PostGIS, Oracle, SpatiaLite
*Availability*: MySQL (≥ 5.6.1), PostGIS, Oracle, SpatiaLite
Accepts two geographic fields or expressions and returns the geometric
symmetric difference (union without the intersection) between the given
parameters.
.. versionchanged:: 1.10
MySQL support was added.
Transform
---------
......
......@@ -82,6 +82,12 @@ Minor features
* Added support for the :class:`~django.contrib.gis.db.models.MakeLine`
aggregate on SpatiaLite.
* Added support for the
:class:`~django.contrib.gis.db.models.functions.Difference`,
:class:`~django.contrib.gis.db.models.functions.Intersection`, and
:class:`~django.contrib.gis.db.models.functions.SymDifference`
functions on MySQL.
:mod:`django.contrib.messages`
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment