... レートできます: >>> 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 ... hod GEOSGeometry. from_gml ( gml_string ) ¶ 与えられたGML文字列から GEOSGeometry を構築します。 プロパティ ¶ GEOSGeometry. coords ¶ ジオメトリの座標をタプルで返します。 GEOSGeometry. dims ¶ ジオメトリの次元を返します: Point および MultiPoint に対しては ... ... レートできます: >>> 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 ... hod GEOSGeometry. from_gml ( gml_string ) ¶ 与えられたGML文字列から GEOSGeometry を構築します。 プロパティ ¶ GEOSGeometry. coords ¶ ジオメトリの座標をタプルで返します。 GEOSGeometry. dims ¶ ジオメトリの次元を返します: Point および MultiPoint に対しては ... ... 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 ... ... 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_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 プロパ ... ... 、 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 オブジェクトとして返します ... 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座 ... 2026年10月08日