mirror of
https://github.com/django/django.git
synced 2025-07-25 14:14:13 +00:00
parent
4f99ba84b3
commit
5e710cf4a5
9 changed files with 46 additions and 13 deletions
|
@ -376,6 +376,7 @@ Function PostGIS Oracle MySQL Spat
|
|||
:class:`AsGML` X X X
|
||||
:class:`AsKML` X X
|
||||
:class:`AsSVG` X X
|
||||
:class:`Azimuth` X X (LWGEOM)
|
||||
:class:`BoundingCircle` X X
|
||||
:class:`Centroid` X X X X
|
||||
:class:`Difference` X X X (≥ 5.6.1) X
|
||||
|
|
|
@ -23,11 +23,11 @@ Function's summary:
|
|||
================== ======================= ====================== =================== ================== =====================
|
||||
Measurement Relationships Operations Editors Output format Miscellaneous
|
||||
================== ======================= ====================== =================== ================== =====================
|
||||
:class:`Area` :class:`BoundingCircle` :class:`Difference` :class:`ForceRHR` :class:`AsGeoJSON` :class:`IsValid`
|
||||
:class:`Distance` :class:`Centroid` :class:`Intersection` :class:`MakeValid` :class:`AsGML` :class:`MemSize`
|
||||
:class:`Length` :class:`Envelope` :class:`SymDifference` :class:`Reverse` :class:`AsKML` :class:`NumGeometries`
|
||||
:class:`Perimeter` :class:`PointOnSurface` :class:`Union` :class:`Scale` :class:`AsSVG` :class:`NumPoints`
|
||||
.. :class:`SnapToGrid` :class:`GeoHash`
|
||||
:class:`Area` :class:`Azimuth` :class:`Difference` :class:`ForceRHR` :class:`AsGeoJSON` :class:`IsValid`
|
||||
:class:`Distance` :class:`BoundingCircle` :class:`Intersection` :class:`MakeValid` :class:`AsGML` :class:`MemSize`
|
||||
:class:`Length` :class:`Centroid` :class:`SymDifference` :class:`Reverse` :class:`AsKML` :class:`NumGeometries`
|
||||
:class:`Perimeter` :class:`Envelope` :class:`Union` :class:`Scale` :class:`AsSVG` :class:`NumPoints`
|
||||
.. :class:`PointOnSurface` :class:`SnapToGrid` :class:`GeoHash`
|
||||
.. :class:`Transform`
|
||||
.. :class:`Translate`
|
||||
================== ======================= ====================== =================== ================== =====================
|
||||
|
@ -173,6 +173,21 @@ Keyword Argument Description
|
|||
|
||||
__ http://www.w3.org/Graphics/SVG/
|
||||
|
||||
``Azimuth``
|
||||
===========
|
||||
|
||||
.. class:: Azimuth(point_a, point_b, **extra)
|
||||
|
||||
.. versionadded:: 2.0
|
||||
|
||||
*Availability*: `PostGIS <https://postgis.net/docs/ST_Azimuth.html>`__,
|
||||
SpatiaLite (LWGEOM)
|
||||
|
||||
Returns the azimuth in radians of the segment defined by the given point
|
||||
geometries, or ``None`` if the two points are coincident. The azimuth is angle
|
||||
referenced from north and is positive clockwise: north = ``0``; east = ``π/2``;
|
||||
south = ``π``; west = ``3π/2``.
|
||||
|
||||
``BoundingCircle``
|
||||
==================
|
||||
|
||||
|
|
|
@ -68,8 +68,9 @@ Minor features
|
|||
:class:`~django.contrib.gis.db.models.functions.IsValid` function, and
|
||||
:lookup:`isvalid` lookup.
|
||||
|
||||
* Added the :class:`~django.contrib.gis.db.models.functions.LineLocatePoint`
|
||||
function, supported on PostGIS and SpatiaLite.
|
||||
* Added the :class:`~django.contrib.gis.db.models.functions.Azimuth` and
|
||||
:class:`~django.contrib.gis.db.models.functions.LineLocatePoint` functions,
|
||||
supported on PostGIS and SpatiaLite.
|
||||
|
||||
* Any :class:`~django.contrib.gis.geos.GEOSGeometry` imported from GeoJSON now
|
||||
has its SRID set.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue