... 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 オブジェクト同士を掛け ... ... 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 オブジェクト同士を掛け ... ... 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 ... ... 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 ... ... 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 ( e ... ... 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 ( e ... 2026年10月08日