... のコンストラクタはすべて、キーワード引数 srid を受け取ります。例えば: >>> from django.contrib.gis.geos import GEOSGeometry , LineString , Point >>> print ( GEOSGeometry ( "POINT (0 0)" , srid = 4326 )) SRID=4326;POINT (0 0) >>> print ( LineString (( 0 , 0 ), ... ( 1 , 1 ), srid = 4326 )) SRID=4326;LINESTRING (0 0, 1 1) >>> print ( Point ( 0 , 0 , srid = 32140 )) SRID=32140;POINT (0 0) 最後に、ファイルから GEOSGeometry オブジェク ... thon indexing techniques. However, what is returned depends on the geometry type of the object. For example, indexing on a LineString returns a coordinate tuple: >>> from django.contrib.gis.geos import LineString >>> line = LineString (( 0 , 0 ), ( 0 , 50 ... ... ssmethod from_bbox ( bbox ) [ソース] 与えられたバウンディングボックス (4要素タプル) から Polygon を構築します。 __len__ () LineString の点の数、 Polygon のリングの数、または GeometryCollection のジオメトリの数を返します。他のジオメトリタイプには適用されませ ... ん。 __iter__ () LineString の点、 Polygon のリング、または GeometryCollection のジオメトリをイテレートします。他のジオメトリタイプには適用されません。 ... __getitem__ () LineString オブジェクトにおける指定されたインデックスのポイント、 Polygon オブジェクトにおける指定されたインデックスの内部リング、また ... ... ession , spheroid = True , ** extra ) [ソース] 利用可能なDB : MariaDB, MySQL , Oracle, PostGIS , SpatiaLite 単一の地理的な linestring または multilinestring フィールドまたは式を受け取り、その長さを Distance メジャーとして返します。 PostGISとSpatiaLiteでは、 ... ドまたは式を受け取り、ジオメトリのバウンディングボックスを表すジオメトリを返します。 LineLocatePoint class LineLocatePoint ( linestring , point , ** extra ) [ソース] 利用可能なDB : PostGIS , SpatiaLite 与えられた point に最も近い linestring 上の点の位置を 0 ... PostGIS , Oracle, SpatiaLite 単一の地理情報フィールドまたは式を受け取り、ジオメトリ内のポイント数を返します。 MySQL では、 LINESTRING でないジオメトリに対しては None を返します。 ... ... eld , filter = None ) [ソース] 利用可能なDB : PostGIS , SpatiaLite QuerySet 内のポイントフィールドジオメトリから構築された LineString を返します。現在、クエリセットの順序は意味がありません。 例: >>> qs = City . objects . filter ( name__in = ( "Houston" , " ... Dallas" )) . aggregate ( MakeLine ( "poly" )) >>> print ( qs [ "poly__makeline" ]) LINESTRING (-95.3631510000000020 29.7633739999999989, -96.8016109999999941 32.7820570000000018) Union class Union ( geo_field , filte ... ... 応します。もしくは、モデルフィールドがジオグラフィックの場合は、OGRジオメトリの種類に対応する必要があります。例: 'POINT' 、 'LINESTRING' 、 'POLYGON' 。 キーワード引数 layer データソースから使用するレイヤーのインデックス (デフォルトは 0) source_srs Use this ... ... class GeometryField [ソース] ジオメトリフィールドの基本クラス。 PointField class PointField [ソース] Point を格納します。 LineStringField class LineStringField [ソース] LineString を格納します。 PolygonField class PolygonField [ソース] Polygon を格納します ... 。 MultiPointField class MultiPointField [ソース] MultiPoint を格納します。 MultiLineStringField class MultiLineStringField [ソース] MultiLineString を格納します。 MultiPolygonField class MultiPolygonField [ソース] ... ... のメソッド) (File のメソッド) (HttpResponse のメソッド) close_rings() (OGRGeometry のメソッド) closed (HttpResponse の属性) (LineString の属性) (MultiLineString の属性) ClosestPoint (django.contrib.gis.db.models.functions のクラス) Coalesce (django.db.models ... linebreaksbr template filter LineLocatePoint (django.contrib.gis.db.models.functions のクラス) linenumbers template filter LineString (django.contrib.gis.gdal のクラス) (django.contrib.gis.geos のクラス) LineStringField (django.contrib.gis.db.models のクラ ... .db.models.functions のクラス) lt field lookup type lte field lookup type LTrim (django.db.models.functions のクラス) M m (LineString の属性) (Point の属性) mail_admins() (django.core.mail モジュール) mail_managers() (django.core.mail モジュール) MAILERS s ... ... nheriting from ContextMixin ), the context dictionary contains a view variable that points to the View instance. GeoDjango LineString and MultiLineString GEOS objects now support the interpolate() and project() methods (so-called linear referencing). The w ... ... ました。 新しい OGRGeometry.set_3d() メソッドにより、 Z 座標次元の追加および削除が可能になりました。 OGRGeometry 、 Point 、 LineString 、 Polygon 、および GeometryCollection とそのサブクラスは、新しい OGRGeometry.is_measured 属性、 m プロパティ、および OGRG ... ... and precision properties of WKTWriter allow controlling output of the fractional part of the coordinates in WKT. Added the LineString.closed and MultiLineString.closed properties. The GeoJSON serializer now outputs the primary key of objects in the propert ... 2026年10月08日