Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
D
django
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
django
Commits
762bd34c
Kaydet (Commit)
762bd34c
authored
Ock 07, 2018
tarafından
Sergey Fedoseev
Kaydeden (comit)
Tim Graham
Ock 07, 2018
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fixed #28842 -- Added SpatiaLite support for ForcePolygonCW function.
üst
8f8a93a9
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
operations.py
django/contrib/gis/db/backends/spatialite/operations.py
+2
-1
functions.txt
docs/ref/contrib/gis/functions.txt
+2
-1
No files found.
django/contrib/gis/db/backends/spatialite/operations.py
Dosyayı görüntüle @
762bd34c
...
...
@@ -67,6 +67,7 @@ class SpatiaLiteOperations(BaseSpatialOperations, DatabaseOperations):
return
'CAST (AsEWKB(
%
s) AS BLOB)'
if
self
.
spatial_version
>=
(
4
,
3
,
0
)
else
'AsText(
%
s)'
function_names
=
{
'ForcePolygonCW'
:
'ST_ForceLHR'
,
'Length'
:
'ST_Length'
,
'LineLocatePoint'
:
'ST_Line_Locate_Point'
,
'NumPoints'
:
'ST_NPoints'
,
...
...
@@ -78,7 +79,7 @@ class SpatiaLiteOperations(BaseSpatialOperations, DatabaseOperations):
@cached_property
def
unsupported_functions
(
self
):
unsupported
=
{
'BoundingCircle'
,
'Force
PolygonCW'
,
'Force
RHR'
,
'MemSize'
}
unsupported
=
{
'BoundingCircle'
,
'ForceRHR'
,
'MemSize'
}
if
not
self
.
lwgeom_version
():
unsupported
|=
{
'Azimuth'
,
'GeoHash'
,
'IsValid'
,
'MakeValid'
}
return
unsupported
...
...
docs/ref/contrib/gis/functions.txt
Dosyayı görüntüle @
762bd34c
...
...
@@ -285,7 +285,8 @@ representing the bounding box of the geometry.
.. versionadded:: 2.1
*Availability*: `PostGIS <https://postgis.net/docs/ST_ForcePolygonCW.html>`__
*Availability*: `PostGIS <https://postgis.net/docs/ST_ForcePolygonCW.html>`__,
SpatiaLite
Accepts a single geographic field or expression and returns a modified version
of the polygon/multipolygon in which all exterior rings are oriented clockwise
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment