... s/data/cities/cities. { shp,prj,shx,dbf } $ wget https://raw.githubusercontent.com/django/django/main/tests/gis_tests/data/rasters/raster.tif ベクトルデータソースオブジェクト DataSource DataSource is a wrapper for the OGR data source object that suppor ... t . geom # getting clone of feature geometry ... geom . transform ( ct ) # transforming ... ラスターデータオブジェクト GDALRaster GDALRaster is a wrapper for the GDAL raster source object that supports reading data from a variety of GDAL-supported geos ... patial file formats and data sources using a consistent interface. Each data source is represented by a GDALRaster object which contains one or more layers of data named bands. Each band, represented by a GDALBand object, contains georef ... ... 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 wrapped in GDALRaster . Although these values were opened ... through GDAL's in-memory virtual filesystem, they could contain a VRT document referencing an external raster source. This could cause GDAL to issue network requests as the Django process user while preparing the lookup. This issue ... er-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 ... ... 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 wrapped in GDALRaster . Although these values were opened ... through GDAL's in-memory virtual filesystem, they could contain a VRT document referencing an external raster source. This could cause GDAL to issue network requests as the Django process user while preparing the lookup. This issue ... er-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 ... ... 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 wrapped in GDALRaster . Although these values were opened ... through GDAL's in-memory virtual filesystem, they could contain a VRT document referencing an external raster source. This could cause GDAL to issue network requests as the Django process user while preparing the lookup. This issue ... er-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 ... ... e. This issue has severity "moderate" according to the Django security policy . CVE-2026-1207: Potential SQL injection via raster lookups on PostGIS Raster lookups on GIS fields (only implemented on PostGIS) were subject to SQL injection if untrusted d ... ... e. This issue has severity "moderate" according to the Django security policy . CVE-2026-1207: Potential SQL injection via raster lookups on PostGIS Raster lookups on GIS fields (only implemented on PostGIS) were subject to SQL injection if untrusted d ... ... 空間関数をサポートしています。しかし、空間関数は PostGIS のような他のバックエンドほど豊富ではありません。 ラスターのサポート RasterField は現在、PostGIS バックエンドのみに実装されています。ラスターフィールドに対する空間ルックアップは可能ですが、空間データ ... スターフィールドを持つモデルの作成と保存 ラスターモデルを作成するとき、ラスターフィールドは、遅延評価を使用して、入力を GDALRaster に暗黙的に変換します。そのため、ラスタフィールドは GDALRaster コンストラクタが受け付けるすべての入力を受け入れます。 以下は ... ation モデルを想定) : >>> from elevation.models import Elevation >>> dem = Elevation ( name = "Volcano" , rast = "/path/to/raster/volcano.tif" ) >>> dem . save () GDALRaster オブジェクトもラスターモデルの保存に使用できます: >>> from django.contrib.gis. ... ... e. This issue has severity "moderate" according to the Django security policy . CVE-2026-1207: Potential SQL injection via raster lookups on PostGIS Raster lookups on GIS fields (only implemented on PostGIS) were subject to SQL injection if untrusted d ... ... te and request forgery via spatial lookups Spatial lookups allowed str and dict lookup values to be passed to GDALRaster when they represented rasters. Depending on the raster driver, this could write a file to disk (in some cases enabling rem ... w to keep using these types in spatial lookups, on validating untrusted input, and on further security considerations, see raster security considerations . This issue has severity "high" according to the Django security policy . CVE-2026-15337: Potenti ... ... 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. Depending on the raster driver, this could write a file to disk (in some cases enabling rem ... w to keep using these types in spatial lookups, on validating untrusted input, and on further security considerations, see raster security considerations . This issue has severity "high" according to the Django security policy . CVE-2026-15337: Potenti ... 2026年10月08日