per page, with , order by , clip by
Results of 1 - 10 of about 24 for srid (0.004 sec.)
GEOS API 14195
GEOS API 背景 GEOS とは? GEOS stands for Geometry Engine - Open Source , and is a C++ library, ported from the Java Topology Suite . GEOS implements the OpenGIS Simple Features for SQL spatial predicate functions and spatial operators. GEOS ... r: >>> from django.contrib.gis.geos import Point >>> pnt = Point ( 5 , 23 ) これらのコンストラクタはすべて、キーワード引数 srid を受け取ります。例えば: >>> from django.contrib.gis.geos import GEOSGeometry , LineString , Point >>> print ( GEOSGeometry ... ( "POINT (0 0)" , srid = 4326 )) SRID=4326;POINT (0 0) >>> print ( LineString (( 0 , 0 ), ( 1 , 1 ), srid = 4326 )) SRID=4326;LINESTRING (0 0, 1 ... 1) >>> print ( Point ( 0 , 0 , srid = 32140 )) SRID=32140;POINT (0 0) 最後に、ファイルから GEOSGeometry オブジェクトを返す fromfile() ファクトリーメソッドがあ ...
https://man.mtool.work/django/6.1/ref/contrib/gis/geos.html
GDAL API 10992
GDAL API 概要 GDAL stands for Geospatial Data Abstraction Library , and is a veritable "Swiss army knife" of GIS data functionality. A subset of GDAL is the OGR Simple Features Library, which specializes in reading and writing vector geogra ... SpatialReference object, or any input that SpatialReference accepts. Example: >>> city . geom . srs . name 'GCS_WGS_1984' srid Returns or sets the spatial reference identifier corresponding to SpatialReference of this geometry. Returns None if there ... is no spatial reference information associated with this geometry, or if an SRID cannot be determined. geos [ソース] このジオメトリに対応する GEOSGeometry オブジェクトを返します。 gml [ソース] このジオメ ... 、 SpatialReference オブジェクト、または SpatialReference が受け付けるその他の入力 (空間参照系の WKT や PROJ 文字列、整数の SRID など) を受け付けます。 デフォルトでは何も返されず、ジオメトリはインプレースで変換されます。しかし、 clone キーワードが Tru ...
https://man.mtool.work/django/6.1/ref/contrib/gis/gdal.html
GeoDjango モデル API 10608
GeoDjango モデル API This document explores the details of the GeoDjango Model API. Throughout this section, we'll be using the following geographic model of a ZIP code and of a Digital Elevation Model as our examples: from django.contrib.g ... ドで利用できる通常の フィールドオプション に加えて、空間フィールドには以下の追加オプションがあります。すべてオプションです。 srid BaseSpatialField. srid ジオメトリフィールドの SRID [ 2 ] (Spatial Reference System Identity) を指定した値に設定します。デフ ... ォルトは 4326 (別名 WGS84 、単位は緯度経度)。 Setting the SRID to -1 disables automatic SRID transformations when saving geometries. The assigned geometry's SRID is set to -1 , discardi ... ng any explicit SRID it had. SRID の選択 Choosing an appropriate SRID for your model is an important decision that the developer should conside ...
https://man.mtool.work/django/6.1/ref/contrib/gis/model-api.html
地理情報データベース関数 9841
地理情報データベース関数 このページで説明する関数を使えば、Django のアノテーションや集約、フィルタで使う地理情報データベース関数にアクセスできます。 例: >>> from django.contrib.gis.db.models.functions import Length >>> Track . objects . ann ... SQL では、座標が測地系の場合、生の float 値が返されます。 測地座標での距離計算をサポートするバックエンドでは、ジオメトリの SRID 値に応じて適切なバックエンド関数が自動的に選択されます (例: PostGIS の ST_DistanceSphere )。 デフォルトのWGS84 (4326) SRID ... 。 2 グリッドをスナップさせるXとYのサイズ。 4 X、Yのサイズと、対応するX、Yの原点。 Transform class Transform ( expression , srid , ** extra ) [ソース] 利用可能なDB : PostGIS , Oracle, SpatiaLite 地理情報フィールドまたは式と SRID 整数コードを受け取り、 ... srid パラメータで指定された空間参照系に変換されたジオメトリを返します。 注釈 What spatial reference system an integer SRID corr ...
https://man.mtool.work/django/6.1/ref/contrib/gis/functions.html
GeoDjango フォーム API 9574
GeoDjango フォーム API GeoDjango はジオローカライズされたデータを地図上に視覚的に表示・編集するために、いくつかの特殊なフォームフィールドとウィジェットを提供します。デフォルトでは、 NASA が提供する WMS レイヤーをベースとした OpenLayers を利 ... ィールドの引数 通常の フォームフィールドの引数 に加えて、 GeoDjango のフォームフィールドは以下のオプションの引数を取ります。 srid Field. srid これはフィールドの値を変換するSRIDコードです。例えば、マップウィジェットのSRIDがアプリケーションやデータベース ... で一般的に使われるSRIDと異なる場合、フィールドは入力値を自動的にそのSRIDに変換します。 geom_type Field. geom_type 通常、その属性を設定または変更す ... GeometryWidget. geom_type OpenGIS ジオメトリタイプ。通常、フォームフィールドによって設定されます。 BaseGeometryWidget. map_srid 地図で使用されるSRIDコード (デフォルトは4326)。 BaseGeometryWidget. display_raw 主にデバッグのために、現在のジオメトリのシ ...
https://man.mtool.work/django/6.1/ref/contrib/gis/forms-api.html
GeoDjango チュートリアル 9024
GeoDjango チュートリアル はじめに GeoDjangoは、Django用の標準のcontribモジュールであり、それを世界クラスの地理情報Webフレームワークに変えます。GeoDjangoは、位置情報サービスなどの地理情報Webアプリケーションを作成するのを可能な限り簡単にするこ ... インポートされていることに注意してください。 The default spatial reference system for geometry fields is WGS84 (meaning the SRID is 4326) -- in other words, the field coordinates are in longitude, latitude pairs in units of degrees. To use a different ... coordinate system, set the SRID of the geometry field with the srid argument. Use an integer representing the coordinate system's EPSG code. migrate を実行 ... sform キーワードは False に設定されています。なぜなら、shapefile のデータは変換する必要がないためです。これはすでに WGS84 (SRID=4326) であるからです。 その後、 geodjango プロジェクトディレクトリから Django シェルを呼び出してください。 /  $ python ...
https://man.mtool.work/django/6.1/ref/contrib/gis/tutorial.html
GeoDjangoの管理コマンド 8807
GeoDjangoの管理コマンド inspectdb django-admin inspectdb django.contrib.gis が INSTALLED_APPS に入っている場合、 inspectdb 管理コマンドは GeoDjango のコマンドでオーバーライドされます。オーバーライドされたコマンドは空間を認識し、自動生成され ... するには、OGR フィールド名のカンマ区切りリストを使用します。 true と設定すると、該当するすべてのフィールドに適用されます。 --srid SRID The SRID to use for the geometry field. If not set, ogrinspect attempts to automatically determine the SRID of the da ...
https://man.mtool.work/django/6.1/ref/contrib/gis/commands.html
GeoDjango データベース API 8807
GeoDjango データベース API 空間バックエンド (Spatial Backend) GeoDjango は現在、次の空間データベースバックエンドを提供しています: django.contrib.gis.db.backends.postgis django.contrib.gis.db.backends.mysql django.contrib.gis.db.backends.ora ... = Zipcode ( code = 77096 , poly = poly ) >>> z . save () さらに、 GEOSGeometry がフィールドの座標系と異なる座標系 (異なる SRID 値を持つ) 場合は、空間データベースの変換プロシージャを使用して、モデルのフィールドの SRID に暗黙的に変換されます: >>> poly ... _3084 = GEOSGeometry ( ... "POLYGON(( 10 10, 10 20, 20 20, 20 15, 10 10))" , srid = 3084 ... ) # SRID 3084 is 'NAD83(HARN) / Texas Centric Lambert Conformal' >>> z = Zipcode ( code = 78212 , poly = poly_3 ... s.gdal import GDALRaster >>> rast = GDALRaster ( ... { ... "width" : 10 , ... "height" : 10 , ... "name" : "Canyon" , ... "srid" : 4326 , ... "scale" : [ 0.1 , - 0.1 ], ... "bands" : [{ "data" : range ( 100 )}], ... } ... ) >>> dem = Elevation ( name ...
https://man.mtool.work/django/6.1/ref/contrib/gis/db-api.html
GeoJSON シリアライザ 7923
GeoJSON シリアライザ GeoDjango は GeoJSON フォーマット専用のシリアライザを提供します。シリアライズの詳細については Django オブジェクトのシリアライズ を参照してください。 geojson シリアライザーはデシリアライザーに相当するものがないため、デー ... _field : GeoJSONフィーチャの id キーに使用するフィールド名を含む文字列。デフォルトではオブジェクトの主キーが使用されます。 srid : geometry の内容に使用する SRID。デフォルトは 4326 (WGS 84) です。 fields オプションは、他のすべてのシリアライザと同様に機 ...
https://man.mtool.work/django/6.1/ref/contrib/gis/serializers.html
LayerMapping データインポートユーティリティ 7873
LayerMapping データインポートユーティリティ LayerMapping クラスは、ベクトル空間データファイル (例: shapefile) の内容を GeoDjango モデルにマッピングする方法を提供します。 このユーティリティは、ベクターレイヤーからジオメトリとフィールドを取り ... s . Model ): name = models . CharField ( max_length = 25 ) # corresponds to the 'str' field poly = models . PolygonField ( srid = 4269 ) # we want our model in a different SRID def __str__ ( self ): return "Name: %s " % self . name LayerMapping を使用 ... e_srs Use this to specify the source SRS manually (for example, some shapefiles don't come with a '.prj' file). An integer SRID, WKT or PROJ strings, and django.contrib.gis.gdal.SpatialReference objects are accepted. encoding Specifies the character ...
https://man.mtool.work/django/6.1/ref/contrib/gis/layermapping.html
PREV 1 2 3 NEXT