... ta sources using a consistent interface. Each data source is represented by a DataSource object which contains one or more layers of data. Each layer, represented by a Layer object, contains some number of geographic features ( Feature ), information ... about the type of features contained in that layer (e.g. points, polygons, etc.), as well as the names and types of any additional fields ( Field ) of data that may be assoc ... iated with each feature in that layer. class DataSource ( ds_input , encoding = 'utf-8' ) [ソース] ¶ データソース DataSource のコンストラクタに必要なパラメータは ... ... ta sources using a consistent interface. Each data source is represented by a DataSource object which contains one or more layers of data. Each layer, represented by a Layer object, contains some number of geographic features ( Feature ), information ... about the type of features contained in that layer (e.g. points, polygons, etc.), as well as the names and types of any additional fields ( Field ) of data that may be assoc ... iated with each feature in that layer. class DataSource ( ds_input , encoding = 'utf-8' ) [ソース] ¶ データソース DataSource のコンストラクタに必要なパラメータは ... ... ットを提供します。デフォルトでは、 NASA が提供する WMS レイヤーをベースとした OpenLayers を利用した地図を使います。 フィールドの引数 ¶ 通常の フォームフィールドの引数 に加えて、 GeoDjango のフォームフィールドは ... ェットはテンプレートベースなので、その属性のほとんどは他の Django ウィジェットの属性と異なります。 BaseGeometryWidget. base_layer ¶ New in Django 6.0. 対応する JavaScript のマップウィジェットで使用されるデフォルトのベースマップレイヤーの識別子を指定する ... ジェットです。このウィジェットを直接ジオメトリフィールドに使うことはできません。GeoDjango ウィジェットのレンダリングは base_layer クラス属性で識別されるベースレイヤー名に基づいていることに注意してください。 OpenLayersWidget class OpenLayersWidget [ソー ... ... ットを提供します。デフォルトでは、 NASA が提供する WMS レイヤーをベースとした OpenLayers を利用した地図を使います。 フィールドの引数 ¶ 通常の フォームフィールドの引数 に加えて、 GeoDjango のフォームフィールドは ... ェットはテンプレートベースなので、その属性のほとんどは他の Django ウィジェットの属性と異なります。 BaseGeometryWidget. base_layer ¶ New in Django 6.0. 対応する JavaScript のマップウィジェットで使用されるデフォルトのベースマップレイヤーの識別子を指定する ... ジェットです。このウィジェットを直接ジオメトリフィールドに使うことはできません。GeoDjango ウィジェットのレンダリングは base_layer クラス属性で識別されるベースレイヤー名に基づいていることに注意してください。 OpenLayersWidget class OpenLayersWidget [ソー ... ... ど) に変換し、GeoDjango モデルに挿入するまでのコードの繰り返しをなくしたいという作者の個人的なニーズから生まれました。 注釈 LayerMapping の使用には GDAL が必要です。 警告 GIS data sources, like shapefiles, may be very large. If you find that LayerMappi ... poly.shp を使用しています): >>> from django.contrib.gis.gdal import DataSource >>> ds = DataSource ( "test_poly.shp" ) >>> layer = ds [ 0 ] >>> print ( layer . fields ) # Exploring the fields in the layer, we only want the 'str' field. ['float', 'int' ... , 'str'] >>> print ( len ( layer )) # getting the number of features in the layer (should be 3) 3 >>> print ( layer . geom_type ) # Should be 'Polygon' Pol ... ... ど) に変換し、GeoDjango モデルに挿入するまでのコードの繰り返しをなくしたいという作者の個人的なニーズから生まれました。 注釈 LayerMapping の使用には GDAL が必要です。 警告 GIS data sources, like shapefiles, may be very large. If you find that LayerMappi ... poly.shp を使用しています): >>> from django.contrib.gis.gdal import DataSource >>> ds = DataSource ( "test_poly.shp" ) >>> layer = ds [ 0 ] >>> print ( layer . fields ) # Exploring the fields in the layer, we only want the 'str' field. ['float', 'int' ... , 'str'] >>> print ( len ( layer )) # getting the number of features in the layer (should be 3) 3 >>> print ( layer . geom_type ) # Should be 'Polygon' Pol ... ... を設定します。 --geom-name GEOM_NAME ¶ ジオメトリフィールドに使用するモデル属性名を指定します。デフォルトは 'geom' です。 --layer LAYER_KEY ¶ OGR DataSource 内のどのレイヤーを使用するかを指定するキー。デフォルトは 0 (最初のレイヤー) です。 Layer の整数 ... または文字列識別子として使用できます。データベースを調査する場合、 layer は通常、調査したいテーブル名です。 --mapping ¶ LayerMapping で使用するマッピング辞書を自動生成します。 --multi-geom ¶ ジオ ... GeoDjango 管理 inspectdb カンマ 区切り 適用 geom admin contrib オーバーライド 配置 DataSource blank キーワード 該当 float layer レイヤー 調査 空間 認識 model クイック検索 Last update: 2026年10月09日 « previous | up | next » ... ... p' using driver `ESRI Shapefile' successful. 1: TM_WORLD_BORDERS-0.3 (Polygon) ogrinfo tells us that the shapefile has one layer, and that this layer contains polygon data. To find out more, we'll specify the layer name and use the -so option to get o ... 0.3.shp TM_WORLD_BORDERS-0.3 INFO: Open of `world/data/TM_WORLD_BORDERS-0.3.shp' using driver `ESRI Shapefile' successful. Layer name: TM_WORLD_BORDERS-0.3 Metadata: DBF_DATE_LAST_UPDATE=2008-07-30 Geometry: Polygon Feature Count: 246 Extent: (-180.00 ... 0000, -90.000000) - (180.000000, 83.623596) Layer SRS WKT: GEOGCRS["WGS 84", DATUM["World Geodetic System 1984", ELLIPSOID["WGS 84",6378137,298.257223563, LENGTHUNIT["metre ... ... p' using driver `ESRI Shapefile' successful. 1: TM_WORLD_BORDERS-0.3 (Polygon) ogrinfo tells us that the shapefile has one layer, and that this layer contains polygon data. To find out more, we'll specify the layer name and use the -so option to get o ... 0.3.shp TM_WORLD_BORDERS-0.3 INFO: Open of `world/data/TM_WORLD_BORDERS-0.3.shp' using driver `ESRI Shapefile' successful. Layer name: TM_WORLD_BORDERS-0.3 Metadata: DBF_DATE_LAST_UPDATE=2008-07-30 Geometry: Polygon Feature Count: 246 Extent: (-180.00 ... 0000, -90.000000) - (180.000000, 83.623596) Layer SRS WKT: GEOGCRS["WGS 84", DATUM["World Geodetic System 1984", ELLIPSOID["WGS 84",6378137,298.257223563, LENGTHUNIT["metre ... ... を設定します。 --geom-name GEOM_NAME ¶ ジオメトリフィールドに使用するモデル属性名を指定します。デフォルトは 'geom' です。 --layer LAYER_KEY ¶ OGR DataSource 内のどのレイヤーを使用するかを指定するキー。デフォルトは 0 (最初のレイヤー) です。 Layer の整数 ... または文字列識別子として使用できます。データベースを調査する場合、 layer は通常、調査したいテーブル名です。 --mapping ¶ LayerMapping で使用するマッピング辞書を自動生成します。 --multi-geom ¶ ジオ ... 2026年10月08日