... hon で実装された GEOS ジオメトリルーチンへの BSD ライセンスのインターフェイス。 Loosely-coupled to GeoDjango. For example, GEOSGeometry objects may be used outside of a Django project/application. In other words, no need to have DJANGO_SETTINGS_MODULE set or ... use a database, etc. ミュータビリティ (Mutability): GEOSGeometry オブジェクトは変更可能です。 クロスプラットフォームでテストされています。 チュートリアル ¶ このセクションには、 GEOSGeomet ... ry オブジェクトの簡単な紹介とチュートリアルが含まれています。 ジオメトリを作成する ¶ GEOSGeometry objects may be created in a few ways. The first is to simply instantiate the object on some spatial input -- the following ... ... hon で実装された GEOS ジオメトリルーチンへの BSD ライセンスのインターフェイス。 Loosely-coupled to GeoDjango. For example, GEOSGeometry objects may be used outside of a Django project/application. In other words, no need to have DJANGO_SETTINGS_MODULE set or ... use a database, etc. ミュータビリティ (Mutability): GEOSGeometry オブジェクトは変更可能です。 クロスプラットフォームでテストされています。 チュートリアル ¶ このセクションには、 GEOSGeomet ... ry オブジェクトの簡単な紹介とチュートリアルが含まれています。 ジオメトリを作成する ¶ GEOSGeometry objects may be created in a few ways. The first is to simply instantiate the object on some spatial input -- the following ... ... クラス) (組み込みクラス) Area (django.contrib.gis.db.models.functions のクラス) (django.contrib.gis.measure のクラス) area (GEOSGeometry の属性) (OGRGeometry の属性) arefresh() (TaskResult のメソッド) arefresh_from_db() (Model のメソッド) aremove() (RelatedMa ... jango.contrib.postgres.aggregates のクラス) bound_field_class (BaseRenderer の属性) (Field の属性) (Form の属性) boundary (GEOSGeometry の属性) boundary() (OGRGeometry のメソッド) BoundField (django.forms のクラス) BoundingCircle (django.contrib.gis.db.model ... istExtension (django.contrib.postgres.operations のクラス) BTreeIndex (django.contrib.postgres.indexes のクラス) buffer() (GEOSGeometry のメソッド) buffer_with_style() (GEOSGeometry のメソッド) build_absolute_uri() (HttpRequest のメソッド) build_suite() (Dis ... ... クラス) (組み込みクラス) Area (django.contrib.gis.db.models.functions のクラス) (django.contrib.gis.measure のクラス) area (GEOSGeometry の属性) (OGRGeometry の属性) arefresh() (TaskResult のメソッド) arefresh_from_db() (Model のメソッド) aremove() (RelatedMa ... jango.contrib.postgres.aggregates のクラス) bound_field_class (BaseRenderer の属性) (Field の属性) (Form の属性) boundary (GEOSGeometry の属性) boundary() (OGRGeometry のメソッド) BoundField (django.forms のクラス) BoundingCircle (django.contrib.gis.db.model ... istExtension (django.contrib.postgres.operations のクラス) BTreeIndex (django.contrib.postgres.indexes のクラス) buffer() (GEOSGeometry のメソッド) buffer_with_style() (GEOSGeometry のメソッド) build_absolute_uri() (HttpRequest のメソッド) build_suite() (Dis ... ... s import Zipcode >>> z = Zipcode ( code = 77096 , poly = "POLYGON(( 10 10, 10 20, 20 20, 20 15, 10 10))" ) >>> z . save () GEOSGeometry オブジェクトもジオメトリモデルを保存するために使用できます: >>> from django.contrib.gis.geos import GEOSGeometry >>> poly ... = GEOSGeometry ( "POLYGON(( 10 10, 10 20, 20 20, 20 15, 10 10))" ) >>> z = Zipcode ( code = 77096 , poly = poly ) >>> z . save () さらに、 ... GEOSGeometry がフィールドの座標系と異なる座標系 (異なる SRID 値を持つ) 場合は、空間データベースの変換プロシージャを使用して、モデルのフ ... ... s import Zipcode >>> z = Zipcode ( code = 77096 , poly = "POLYGON(( 10 10, 10 20, 20 20, 20 15, 10 10))" ) >>> z . save () GEOSGeometry オブジェクトもジオメトリモデルを保存するために使用できます: >>> from django.contrib.gis.geos import GEOSGeometry >>> poly ... = GEOSGeometry ( "POLYGON(( 10 10, 10 20, 20 20, 20 15, 10 10))" ) >>> z = Zipcode ( code = 77096 , poly = poly ) >>> z . save () さらに、 ... GEOSGeometry がフィールドの座標系と異なる座標系 (異なる SRID 値を持つ) 場合は、空間データベースの変換プロシージャを使用して、モデルのフ ... ... odel containing a spatial field. The following types are now disallowed by spatial lookups: dict A str that is not a valid GEOSGeometry , e.g. a serialized dictionary This is a backward incompatible change. As a reminder, all untrusted user input should be v ... o the Django security policy . CVE-2026-15830: Potential denial-of-service vulnerability via nested geometry collections ¶ GEOSGeometry was subject to a potential denial-of-service attack when provided deeply nested GEOMETRYCOLLECTION objects, leading to a s ... eld form field were also affected. The limit can be customized through the new max_geom_collections argument, available on GEOSGeometry , the form field , and the model field . The limit is not applied to GeoJSON inputs, as they were parsed by GDAL and are n ... ... odel containing a spatial field. The following types are now disallowed by spatial lookups: dict A str that is not a valid GEOSGeometry , e.g. a serialized dictionary This is a backward incompatible change. As a reminder, all untrusted user input should be v ... o the Django security policy . CVE-2026-15830: Potential denial-of-service vulnerability via nested geometry collections ¶ GEOSGeometry was subject to a potential denial-of-service attack when provided deeply nested GEOMETRYCOLLECTION objects, leading to a s ... eld form field were also affected. The limit can be customized through the new max_geom_collections argument, available on GEOSGeometry , the form field , and the model field . The limit is not applied to GeoJSON inputs, as they were parsed by GDAL and are n ... ... , item ): ... geometry ( obj ) ¶ get_object() で返されたオブジェクトを受け取り、 feed のジオメトリを返します。通常、これは GEOSGeometry インスタンスであり、ポイントまたはボックスを表すタプルであることもあります。例えば: class ZipcodeFeed ( Feed ): def geomet ... like: (X0, Y0, X1, Y1). item_geometry ( item ) ¶ これをセットすると、フィードの各 アイテム のジオメトリを返します。これは GEOSGeometry のインスタンス、 あるいは点座標やバウンディングボックスを表すタプルとなります。たとえば次のようになります: class ZipcodeFe ... lf フィード サブクラス ソース poly GeoDjango ジオメトリ return フォーマット syndication セット contrib 提供 オーバーライド GEOSGeometry インスタンス ボックス タプル ZipcodeFeed SyndicationFeed 地理 GeoRSS クイック検索 Last update: 2026年10月09日 « previous | ... ... odel containing a spatial field. The following types are now disallowed by spatial lookups: dict A str that is not a valid GEOSGeometry , e.g. a serialized dictionary This is a backward incompatible change. As a reminder, all untrusted user input should be v ... o the Django security policy . CVE-2026-15830: Potential denial-of-service vulnerability via nested geometry collections ¶ GEOSGeometry was subject to a potential denial-of-service attack when provided deeply nested GEOMETRYCOLLECTION objects, leading to a s ... eld form field were also affected. The limit can be customized through the new max_geom_collections argument, available on GEOSGeometry , the form field , and the model field . The limit is not applied to GeoJSON inputs, as they were parsed by GDAL and are n ... 2026年10月08日