per page, with , order by , clip by
Results of 1 - 10 of about 18 for height (0.007 sec.)
GDAL API 15442
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 ... クトです。 入力がファイルパスの場合は、そのパスからラスタがオープンされます。入力が辞書の生データの場合、パラメータ width 、 height 、 srid が必要です。入力がバイトオブジェクトの場合、GDALの仮想ファイルシステムを使用してオープンされます。 辞書入力を使用し ... DALRaster ( "/path/to/your/raster.tif" , write = False ) >>> rst . name '/path/to/your/raster.tif' >>> rst . width , rst . height # This file has 163 x 174 pixels (163, 174) >>> rst = GDALRaster ( ... { # Creates an in-memory raster ... "srid" : 4326 , ... ... "width" : 4 , ... "height" : 4 , ... "datatype" : 1 , ... "bands" : [ ... { ... "data" : ( 2 , 3 ), ... "offset" : ( 1 , 1 ), ... "size" : ( 2 , 2 ) ...
https://man.mtool.work/django/6.1/ref/contrib/gis/gdal.html
Django 3.1.3 リリースノート 8973
Django 3.1.3 リリースノート November 2, 2020 Django 3.1.3 fixes several bugs in 3.1.2 and adds compatibility with Python 3.9. バグ修正 Fixed a regression in Django 3.1.2 that caused the incorrect height of the admin changelist search bar ( ...
https://man.mtool.work/django/6.1/releases/3.1.3.html
Porting your apps from Django 0.96 to 1.0 8836
Porting your apps from Django 0.96 to 1.0 Django 1.0 breaks compatibility with 0.96 in some areas. This guide will help you port 0.96 projects and apps to 1.0. The first part of this document includes the common changes needed to run with 1 ... t.size myfile.save_content_file() myfile.content.save() myfile.get_content_width() myfile.content.width myfile.get_content_height() myfile.content.height Note that the width and height attributes only make sense for ImageField fields. More details can ...
https://man.mtool.work/django/6.1/releases/1.0-porting-guide.html
モデル index リファレンス 8699
モデル index リファレンス Index クラスを利用すると、データベースのインデックスの作成が簡単になります。インデックスは、 Meta.indexes オプションを使用して追加できます。このドキュメントでは、 index options を含む Index の API リファレンスを説明 ... ルドを小文字にした値の降順と、 pub_date フィールドのデフォルトの昇順で、インデックスを作成します。 もう1つの例: Index ( F ( "height" ) * F ( "weight" ), Round ( "weight" ), name = "calc_idx" ) この例は、 height および weight フィールドの積の結果と、 weig ...
https://man.mtool.work/django/6.1/ref/models/indexes.html
ファイルの管理 8699
ファイルの管理 この文書では、ユーザがアップロードしたようなファイルに対する Django のファイルアクセス API について説明します。下位レベルの API は十分一般的なので、他の目的にも使えます。"静的ファイル" (JS や CSS など) を扱いたい場合は、 静的 ... "rb" ) as f : ... car . specs = File ( f , name = path . name ) ... car . save () ... 注釈 ImageField のインスタンスでは、 height , width , size などの画像データ以外の属性は利用可能ですが、ベースとなる画像データは画像を開き直さなければ利用できません。た ... >> from PIL import Image >>> car = Car . objects . get ( name = "57 Chevy" ) >>> car . photo . width 191 >>> car . photo . height 287 >>> image = Image . open ( car . photo ) # Raises ValueError: seek of closed file. >>> car . photo . open () <ImageFie ...
https://man.mtool.work/django/6.1/topics/files.html
GeoDjango データベース API 8424
GeoDjango データベース API 空間バックエンド (Spatial Backend) GeoDjango は現在、次の空間データベースバックエンドを提供しています: django.contrib.gis.db.backends.postgis django.contrib.gis.db.backends.mysql django.contrib.gis.db.backends.ora ... 保存に使用できます: >>> from django.contrib.gis.gdal import GDALRaster >>> rast = GDALRaster ( ... { ... "width" : 10 , ... "height" : 10 , ... "name" : "Canyon" , ... "srid" : 4326 , ... "scale" : [ 0.1 , - 0.1 ], ... "bands" : [{ "data" : range ( 100 ) ... this is equivalent to: >>> dem = Elevation . objects . create ( ... name = "Canyon" , ... rast = { ... "width" : 10 , ... "height" : 10 , ... "name" : "Canyon" , ... "srid" : 4326 , ... "scale" : [ 0.1 , - 0.1 ], ... "bands" : [{ "data" : range ( 100 ) ...
https://man.mtool.work/django/6.1/ref/contrib/gis/db-api.html
File オブジェクト 8287
File オブジェクト django.core.files モジュールとそのサブモジュールでは、Django の基本的なファイルハンドリングに関するビルトインクラスが定義されています。 File クラス class File ( file_object , name = None ) [ソース] The File class is a thin ... s.ImageFile は File のすべての属性とメソッドを継承し、さらに次のものを提供します: width [ソース] 画像の幅 (ピクセル単位)。 height [ソース] 画像の高さ(ピクセル単位)。 オブジェクトに添付されたファイルに関する追加メソッド オブジェクト(以下の Car.photo の ...
https://man.mtool.work/django/6.1/ref/files/file.html
Django 3.2 リリースノート 8287
Django 3.2 リリースノート April 6, 2021 Django 3.2 へようこそ! このリリースノートでは、 バージョン 3.2 の新機能 と、Django 3.1 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。また、 一部の機能を非推奨 とし ... models . Model ): first_name = models . CharField ( max_length = 255 ) last_name = models . CharField ( max_length = 255 ) height = models . IntegerField () weight = models . IntegerField () class Meta : indexes = [ Index ( Lower ( "first_name" ), Uppe ... r ( "last_name" ) . desc (), name = "first_last_name_idx" , ), Index ( F ( "height" ) / ( F ( "weight" ) + Value ( 5 )), name = "calc_idx" , ), ] Functional indexes are added to models using the Meta.index ...
https://man.mtool.work/django/6.1/releases/3.2.html
Django 5.1 リリースノート 8287
Django 5.1 リリースノート 2024年8月7日 Django 5.1 へようこそ! このリリースノートでは、 バージョン 5.1 の新機能 と、Django 5.0 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。また、 一部の機能を非推奨 とし ... e_dimension_fields(force=True) が呼び出されなくなりました。ストレージバックエンドが画像をリサイズする場合、 width_field と height_field が実際の画像の幅と高さと一致しなくなります。 asgiref の最小サポートバージョンが 3.7.0 から 3.8.1 に引き上げられました ... 削除されました。 django.contrib.postgres.fields.CIText ミックスインは削除されました。 BaseGeometryWidget の map_width と map_height 属性は削除されました。 SimpleTestCase.assertFormsetError() メソッドは削除されました。 TransactionTestCase.assertQuerysetEq ...
https://man.mtool.work/django/6.1/releases/5.1.html
モデルフィールドリファレンス 8030
モデルフィールドリファレンス このドキュメントには、Django が提供するフィールドオプション field options とフィールド型 field types を含む、 Field のすべての API リファレンスが記載されています。 注釈 フィールドは django.db.models.fields に定義 ... 、ブランク値は null として保持されるため、null 値を許容する必要があります。 ImageField class ImageField ( upload_to = None , height_field = None , width_field = None , max_length = 100 , ** options ) [ソース] FileField から全ての属性とメソッドを継承して、 ... にアップロードされたオブジェクトが有効な画像であることを検証します。 FileField で使える専用の属性に加えて、 ImageField には height と width 属性があります。 これらの属性に対するクエリを容易にするために、 ImageField は以下のオプション引数を持ちます: Imag ... eField. height_field 画像オブジェクトがセットされるたびに自動的に画像の高さが入力されるモデルフィールドの名前。 ImageField. width_field 画 ...
https://man.mtool.work/django/6.1/ref/models/fields.html
PREV 1 2 NEXT