... きる通常の フィールドオプション に加えて、空間フィールドには以下の追加オプションがあります。すべてオプションです。 srid BaseSpatialField. srid ジオメトリフィールドの SRID [ 2 ] (Spatial Reference System Identity) を指定した値に設定します。デフォルトは 43 ... The SRID is an integer specifier that corresponds to the projection system that will be used to interpret the data in the spatial database. [ 3 ] Projection systems give the context to the coordinates that specify a location. Although the details of ge ... ters and miles). Using a geographic coordinate system may introduce complications for the developer later on. For example, SpatiaLite does not have the capability to perform distance calculations between geometries using geographic coordinate systems, e ... ... te and request forgery via spatial lookups Spatial lookups allowed str and dict lookup values to be passed to GDALRaster when they represented rasters. Depen ... ing via lookup_allowed() , the flaw was reachable by staff users with view permission on any registered model 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 ser ... nments to model fields are unaffected and still accept these input types. For guidance on how to keep using these types in spatial lookups, on validating untrusted input, and on further security considerations, see raster security considerations . This ... ... de file-write and request forgery via spatial lookups Spatial lookups allowed str and dict lookup values to be passed to GDALRaster when they represented rasters. Depen ... ing via lookup_allowed() , the flaw was reachable by staff users with view permission on any registered model 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 ser ... nments to model fields are unaffected and still accept these input types. For guidance on how to keep using these types in spatial lookups, on validating untrusted input, and on further security considerations, see raster security considerations . This ... ... rol, or making a feed a named URL. GeoDjango The most significant new feature for GeoDjango in 1.2 is support for multiple spatial databases. As a result, the following spatial database backends are now included: django.contrib.gis.db.backends.postgis d ... jango.contrib.gis.db.backends.mysql django.contrib.gis.db.backends.oracle django.contrib.gis.db.backends.spatialite GeoDjango now supports the rich capabilities added in the PostGIS 1.5 release. New features include support for the geo ... ted to use thread-safe C library functions when available on the platform. The GDAL interface now allows the user to set a spatial_filter on the features returned when iterating over a Layer . Finally, GeoDjango's documentation is now included with Djan ... ... This issue has severity "moderate" according to the Django security policy . CVE-2026-87890: Potential request forgery via spatial lookup byte values Spatial lookups accepted raster values provided as bytes without requiring them to be explicitly wrappe ... le preparing the lookup. This issue could be exploited by applications that passed attacker-controlled bytes directly to a spatial lookup. It was overlooked in the fix for CVE-2026-15307. To mitigate this issue, raster values provided as bytes must now ... be wrapped in GDALRaster before being used in spatial lookups. Byte values representing valid hexadecimal geometries remain accepted. This is a backward incompatible change. As ... ... This issue has severity "moderate" according to the Django security policy . CVE-2026-87890: Potential request forgery via spatial lookup byte values Spatial lookups accepted raster values provided as bytes without requiring them to be explicitly wrappe ... le preparing the lookup. This issue could be exploited by applications that passed attacker-controlled bytes directly to a spatial lookup. It was overlooked in the fix for CVE-2026-15307. To mitigate this issue, raster values provided as bytes must now ... be wrapped in GDALRaster before being used in spatial lookups. Byte values representing valid hexadecimal geometries remain accepted. This is a backward incompatible change. As ... ... This issue has severity "moderate" according to the Django security policy . CVE-2026-87890: Potential request forgery via spatial lookup byte values Spatial lookups accepted raster values provided as bytes without requiring them to be explicitly wrappe ... le preparing the lookup. This issue could be exploited by applications that passed attacker-controlled bytes directly to a spatial lookup. It was overlooked in the fix for CVE-2026-15307. To mitigate this issue, raster values provided as bytes must now ... be wrapped in GDALRaster before being used in spatial lookups. Byte values representing valid hexadecimal geometries remain accepted. This is a backward incompatible change. As ... ... フィールドのタイプ 空間フィールドのオプション ジオメトリフィールドのオプション GeoDjango データベース API 空間バックエンド (Spatial Backend) モデルを作成し、ジオメトリフィールドを保存する ラスターフィールドを持つモデルの作成と保存 空間のルックアップ (Spa ... ォーム API フィールドの引数 フォームフィールド クラス フォームウィジェット GIS QuerySet API リファレンス 空間のルックアップ (Spatial Lookup) 距離ルックアップ 地理情報データベース関数 寸法 リレーション 操作 編集 入力フォーマット 出力フォーマット その他 測定 ... ... tible with a particular spatial backend, refer to the spatial lookup compatibility table . ラスターのルックアップ 以下のリファレンスにあるすべての例は地理 ... ISバックエンド (この節ではPGRasterと表記) のみでサポートされています。 bbcontains 利用可能なDB : PostGIS , MariaDB, MySQL, SpatiaLite, PGRaster (Native) ジオメトリまたはラスタフィールドのバウンディングボックスが、ルックアップジオメトリのバウンディングボ ... contains = geom ) バックエンド 等価なSQL PostGIS poly ~ geom MariaDB MBRContains(poly, geom) MySQL MBRContains(poly, geom) SpatiaLite MbrContains(poly, geom) bboverlaps 利用可能なDB : PostGIS , MariaDB, MySQL, SpatiaLite, PGRaster (Native) ジオメトリフィ ... ... スタ機能のみをサポートしています。 サンプルデータ The GDAL/OGR tools described here are designed to help you read in your geospatial data, in order for most of them to be useful you have to have some data to work with. If you're starting out and don't yet ... ource DataSource is a wrapper for the OGR data source object that supports reading data from a variety of OGR-supported geospatial file formats and data sources using a consistent interface. Each data source is represented by a DataSource object which c ... として返します。 >>> layer . extent . tuple (-104.609252, 29.763374, -95.23506, 38.971823) srs このレイヤーに関連付けられた SpatialReference を返すプロパティ: >>> print ( layer . srs ) GEOGCS["GCS_WGS_1984", DATUM["WGS_1984", SPHEROID["WGS_1984",6378137, ... 2026年10月08日