per page, with , order by , clip by
Results of 1 - 3 of about 3 for kilometers (0.001 sec.)
測定オブジェクト 11924
測定オブジェクト django.contrib.gis.measure モジュールには、距離や面積の単位を便利に表現するためのオブジェクトが含まれています。 [ 1 ] 具体的には、 Distance と Area の 2 つのオブジェクトを実装しており、それぞれ D と A の便利なエイリアスを介 ... ent indicating the context of the units. In the example below, two different distance objects are instantiated in units of kilometers ( km ) and miles ( mi ): >>> from django.contrib.gis.measure import D , Distance >>> d1 = Distance ( km = 5 ) >>> print ( ... 5.0 mi 変換には、変換された距離の量を取得するために好ましい単位属性にアクセスします: >>> print ( d1 . mi ) # Converting 5 kilometers to miles 3.10685596119 >>> print ( d2 . km ) # Converting 5 miles to kilometers 8.04672 また、距離オブジェクト間で算術演算 ... を行うこともできます: >>> print ( d1 + d2 ) # Adding 5 miles to 5 kilometers 13.04672 km >>> print ( d2 - d1 ) # Subtracting 5 kilometers from 5 miles 1.89314403881 mi Distance オブジェクト同士を掛け ...
https://man.mtool.work/django/6.1/ref/contrib/gis/measure.html
GeoDjango モデル API 8110
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 ... h) is an arc of a great circle . [ 4 ] Thus, additional computation is required to obtain distances in planar units (e.g., kilometers and miles). Using a geographic coordinate system may introduce complications for the developer later on. For example, Spat ...
https://man.mtool.work/django/6.1/ref/contrib/gis/model-api.html
地理情報データベース関数 7850
地理情報データベース関数 このページで説明する関数を使えば、Django のアノテーションや集約、フィルタで使う地理情報データベース関数にアクセスできます。 例: >>> from django.contrib.gis.db.models.functions import Length >>> Track . objects . ann ... of your choice. For example, city.distance.mi is the distance value in miles and city.distance.km is the distance value in kilometers. See 測定オブジェクト for usage details and the list of サポートされる単位 . GeometryDistance class GeometryDistance ( exp ...
https://man.mtool.work/django/6.1/ref/contrib/gis/functions.html
PREV 1 NEXT