per page, with , order by , clip by
Results of 1 - 4 of about 4 for miles (0.001 sec.)
測定オブジェクト 12316
測定オブジェクト django.contrib.gis.measure モジュールには、距離や面積の単位を便利に表現するためのオブジェクトが含まれています。 [ 1 ] 具体的には、 Distance と Area の 2 つのオブジェクトを実装しており、それぞれ D と A の便利なエイリアスを介 ... text 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 ( d1 ) 5.0 km >>> d ... には、変換された距離の量を取得するために好ましい単位属性にアクセスします: >>> 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 9005
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 ... 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, SpatiaLite doe ... calculations between geometries using geographic coordinate systems, e.g. constructing a query to find all points within 5 miles of a county boundary stored as WGS84. [ 5 ] Portions of the earth's surface may projected onto a two-dimensional, or Carte ...
https://man.mtool.work/django/6.1/ref/contrib/gis/model-api.html
GeoDjango データベース API 7803
GeoDjango データベース API 空間バックエンド (Spatial Backend) GeoDjango は現在、次の空間データベースバックエンドを提供しています: django.contrib.gis.db.backends.postgis django.contrib.gis.db.backends.mysql django.contrib.gis.db.backends.ora ... ed. >>> qs = SouthTexasCity . objects . filter ( point__distance_lte = ( pnt , 7000 )) # Find all Cities within 7 km, > 20 miles away, and > 100 chains away (an obscure unit) >>> qs = SouthTexasCity . objects . filter ( point__distance_lte = ( pnt , D ...
https://man.mtool.work/django/6.1/ref/contrib/gis/db-api.html
地理情報データベース関数 7803
地理情報データベース関数 このページで説明する関数を使えば、Django のアノテーションや集約、フィルタで使う地理情報データベース関数にアクセスできます。 例: >>> from django.contrib.gis.db.models.functions import Length >>> Track . objects . ann ... ject, you can easily express the value in the units 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 サポートさ ...
https://man.mtool.work/django/6.1/ref/contrib/gis/functions.html
PREV 1 NEXT