... Yes 3.14, 3.13, 3.12, 3.11, 3.10 PROJ Cartographic Projections library Yes (PostgreSQL and SQLite のみ) 9.x, 8.x, 7.x, 6.x GDAL Geospatial Data Abstraction Library Yes 3.13, 3.12, 3.11, 3.10, 3.9, 3.8, 3.7, 3.6, 3.5, 3.4, 3.3 GeoIP IPベースのジオロケ ... ango でも全く問題なく動くかもしれません。あなたの感覚によって異なるかもしれません。 注釈 The GeoDjango interfaces to GEOS, GDAL, and GeoIP may be used independently of Django. In other words, no database or settings file required -- import them as no ... 係によってインストールする以下のパッケージをインストールすることをお勧めします: $ sudo apt-get install binutils libproj-dev gdal-bin また、 macOS や Windows を使用している場合は、プラットフォーム別の説明も参照してください。 ソースコードからビルドする ... ... data in a variety of standard formats. GeoDjango は、ベクトル空間データの読み込みと座標変換、ラスタ (画像) データに関する GDAL の機能の最小限のサポートを含む、OGR の機能の一部に対する高レベルの Python インタフェースを提供します。 注釈 モジュールの名 ... 前は gdal ですが、GeoDjangoは現時点ではOGRの一部機能とGDALのラスタ機能のみをサポートしています。 サンプルデータ The GDAL/OGR tools d ... ることができます。データのレイヤー自体へのアクセスについては、次のセクションを参照してください: >>> from django.contrib.gis.gdal import DataSource >>> ds = DataSource ( "/path/to/your/cities.shp" ) >>> ds . name '/path/to/your/cities.shp' >>> ds . lay ... ... for each of the supported database backends: データベース ライブラリの要件 サポートされるバージョン 備考 PostgreSQL GEOS, GDAL, PROJ, PostGIS 15+ PostGIS が必要です。 MySQL GEOS, GDAL 8.4+ 機能制限があります 。 Oracle GEOS, GDAL 19+ XE not supported ... . SQLite GEOS, GDAL, PROJ, SpatiaLite 3.37.0+ Requires SpatiaLite 4.3+ PostgreSQL/PostGIS/GEOS/GDAL の可能な組み合わせについては、OSGeo Wikiの ... nt as "GIS". ライブラリの環境設定 GeoDjango をインストールする際に最もよくある問題は、外部の共有ライブラリ (例えば GEOS や GDAL) が見つからないというものです [ 1 ] 。通常、この問題の原因は、オペレーティングシステムがソースからビルドされたライブラリが ... ... oJSON geometries Earlier versions of the GeoJSON spec allowed specifying a coordinate reference system (CRS) by URL. Since GDAL still resolves these URLs, any validation, save, or query path where a geometry is instantiated from user input allowed an ... y . CVE-2026-114582: Server-side request forgery via SpatialReference string input SpatialReference passed string input to GDAL, which by default resolves URLs and reads files. This behavior was not documented by Django. Other affected methods includ ... ed GEOSGeometry.transform() , OGRGeometry.transform() , GDALRaster.transform() , the srs setter of OGRGeometry , and the srs and srid setters of GDALRaster . A URL or file path reachi ... ... oJSON geometries Earlier versions of the GeoJSON spec allowed specifying a coordinate reference system (CRS) by URL. Since GDAL still resolves these URLs, any validation, save, or query path where a geometry is instantiated from user input allowed an ... y . CVE-2026-114582: Server-side request forgery via SpatialReference string input SpatialReference passed string input to GDAL, which by default resolves URLs and reads files. This behavior was not documented by Django. Other affected methods includ ... ed GEOSGeometry.transform() , OGRGeometry.transform() , GDALRaster.transform() , the srs setter of OGRGeometry , and the srs and srid setters of GDALRaster . A URL or file path reachi ... ... oJSON geometries Earlier versions of the GeoJSON spec allowed specifying a coordinate reference system (CRS) by URL. Since GDAL still resolves these URLs, any validation, save, or query path where a geometry is instantiated from user input allowed an ... y . CVE-2026-114582: Server-side request forgery via SpatialReference string input SpatialReference passed string input to GDAL, which by default resolves URLs and reads files. This behavior was not documented by Django. Other affected methods includ ... ed GEOSGeometry.transform() , OGRGeometry.transform() , GDALRaster.transform() , the srs setter of OGRGeometry , and the srs and srid setters of GDALRaster . A URL or file path reachi ... ... use case of binding to a specific port following the bind to port zero change in Django 1.11. バグ修正 Added detection for GDAL 2.1 and 2.0, and removed detection for unsupported versions 1.7 and 1.8 ( #28181 ). Changed contrib.gis to raise Improperl ... yConfigured rather than GDALException if gdal isn't installed, to allow third-party apps to catch that exception ( #28178 ). Fixed django.utils.http.is ... 204 ). Prevented Subquery from adding an unnecessary CAST which resulted in invalid SQL ( #28199 ). Corrected detection of GDAL 2.1 on Windows ( #28181 ). Made date-based generic views return a 404 rather than crash when given an out of range date ( ... ... モデルに挿入するまでのコードの繰り返しをなくしたいという作者の個人的なニーズから生まれました。 注釈 LayerMapping の使用には GDAL が必要です。 警告 GIS data sources, like shapefiles, may be very large. If you find that LayerMapping is using too much me ... SQL statements contain geometries, this may consume more memory than is typical. カスタマイズ例 シェープファイルのような、GDALがサポートするデータソースが必要です (ここでは、3つのフィーチャを持つ単純なポリゴンシェープファイル、 test_poly.shp を使用し ... ています): >>> from django.contrib.gis.gdal import DataSource >>> ds = DataSource ( "test_poly.shp" ) >>> layer = ds [ 0 ] >>> print ( layer . fields ) # Exploring th ... ... イル。 .prj : シェープファイルに格納されている地理データの空間参照情報が含まれています。 ogrinfo を使って空間データを調べる GDAL の ogrinfo ユーティリティを使うと、シェープファイルやその他のベクトルデータソースのメタデータを調べることができます: / ... ースにデータをインポートする方法は色々あります。GeoDjango に含まれるツール以外にも、以下のような方法があります: ogr2ogr は、GDAL に含まれるコマンドラインユーティリティであり、多くのベクトルデータ形式を PostGIS、MySQL、および Oracle データベースにインポ ... ートできます。 shp2pgsql : このユーティリティはPostGISに含まれ、ESRI shapefileをPostGISにインポートします。 GDAL インターフェース Earlier, you used ogrinfo to examine the contents of the world borders shapefile. GeoDjango also includes ... ... b.SessionStore (django.contrib.sessions のクラス) backends.smtp.EmailBackend (django.core.mail のクラス) BadRequest bands (GDALRaster の属性) base36_to_int() (django.utils.http モジュール) base_field (ArrayField の属性) (django.contrib.postgres.forms ... ン --clear --dry-run --ignore --link --no-default-ignore --no-input --no-post-process --noinput -c -i -l -n color_interp() (GDALBand のメソッド) ColorInput (django.forms のクラス) ComboField (django.forms のクラス) CommandError comment template tag co ... の属性) cookies (HttpResponse の属性) coords (GEOSGeometry の属性) (OGRGeometry の属性) CoordTransform (django.contrib.gis.gdal のクラス) copy() (QueryDict のメソッド) Corr (django.contrib.postgres.aggregates のクラス) Cos (django.db.models.functions ... 2026年10月08日