... レートできます: >>> pnt = Point ( 5 , 23 ) >>> [ coord for coord in pnt ] [5.0, 23.0] ジオメトリオブジェクトの GEOSGeometry.coords プロパティを使用すると、ジオメトリ座標を Python のタプルで取得できます: >>> pnt . coords (5.0, 23.0) You can get/set geome ... 加や変更が可能です: >>> line [ 0 ] = ( 1.0 , 1.0 ) >>> line . pop () (0.0, 0.0) >>> line . append (( 1.0 , 1.0 )) >>> line . coords ((1.0, 1.0), (0.0, 50.0), (50.0, 50.0), (50.0, 0.0), (1.0, 1.0)) ジオメトリーは set のような演算子をサポートします: >>> fr ... smethod GEOSGeometry. from_gml ( gml_string ) 与えられたGML文字列から GEOSGeometry を構築します。 プロパティ GEOSGeometry. coords ジオメトリの座標をタプルで返します。 GEOSGeometry. dims ジオメトリの次元を返します: Point および MultiPoint に対しては 0 L ... ... compat.is_iterable() function and the django.utils.itercompat module will be removed. The django.contrib.gis.geoip2.GeoIP2.coords() method will be removed. The django.contrib.gis.geoip2.GeoIP2.open() method will be removed. Support for passing position ... () , set_x() , get_y() , set_y() , get_z() , and set_z() methods of django.contrib.gis.geos.Point will be removed. The get_coords() and set_coords() methods of django.contrib.gis.geos.Point will be removed. The cascaded_union property of django.contrib ... ... 、 set_x() 、 get_y() 、 set_y() 、 get_z() 、 set_z() の各メソッドが削除されました。 django.contrib.gis.geos.Point の get_coords() と set_coords() メソッドが削除されました。 django.contrib.gis.geos.MultiPolygon の cascaded_union プロパティが削除されま ... ... 、 set_y() 、 get_z() 、 set_z() の各メソッドが非推奨になり、代わりに x 、 y 、 z プロパティが導入されました。 Point の get_coords() と set_coords() メソッドが非推奨になり、かわりに tuple プロパティが導入されました。 MultiPolygon の cascaded_union プロパ ... ... または Lookup を返すかを動的に変更したい場合があります。 例として、座標または任意の次元を格納するフィールドがあり、 .filter(coords__x7=4) のような構文で、7番目の座標の値が4であるオブジェクトを返すことができます。 これを行うには、次のようなもので get_loo ... ... 記述するのに使用されたポイントの数を返します: >>> polygon . point_count 4 num_points [ソース] point_count のエイリアス。 num_coords [ソース] point_count のエイリアス。 geom_type [ソース] このジオメトリのタイプを OGRGeomType オブジェクトとして返します。 g ... RGeometry ( "POINT (1 2)" ) . tuple (1.0, 2.0) >>> OGRGeometry ( "LINESTRING (1 2,3 4)" ) . tuple ((1.0, 2.0), (3.0, 4.0)) coords tuple のエイリアス。 class Point x この点のX座標を返します: >>> OGRGeometry ( "POINT (1 2)" ) . x 1.0 y この点のY座標を返し ... ... 非推奨になりました。代わりに isinstance(..., collections.abc.Iterable) を使用してください。 django.contrib.gis.geoip2.GeoIP2.coords() メソッドは非推奨になりました。代わりに django.contrib.gis.geoip2.GeoIP2.lon_lat() を使用してください。 django.contrib.gi ... ... itercompat.is_iterable() function and the django.utils.itercompat module are removed. The django.contrib.gis.geoip2.GeoIP2.coords() method is removed. The django.contrib.gis.geoip2.GeoIP2.open() method is removed. Support for passing positional argumen ... ... OSGeometry の属性) (OGRGeometry の属性) cookies (Client の属性) COOKIES (HttpRequest の属性) cookies (HttpResponse の属性) coords (GEOSGeometry の属性) (OGRGeometry の属性) CoordTransform (django.contrib.gis.gdal のクラス) copy() (QueryDict のメソッド) ... のクラス) NullIf (django.db.models.functions のクラス) nulls_distinct (UniqueConstraint の属性) num (OGRGeomType の属性) num_coords (GEOSGeometry の属性) (OGRGeometry の属性) num_dimensions field lookup type num_feat (Layer の属性) num_fields (Feature の ... 2026年10月08日