- 
要初始化一個區域對象,請傳入一個關鍵字,該關鍵字對應於設置了所需值的所需單元屬性名稱。例如,以下創建一個麵積對象,代表 5 平方英裏:
>>> a = Area(sq_mi=5) 
本文介紹 django.contrib.gis.measure.Area 的用法。
聲明
class Area(**kwargs)[source]
相關用法
- Python Django Area.__getattr__用法及代碼示例
 - Python Django Area.unit_attname用法及代碼示例
 - Python Django ArchiveIndexView用法及代碼示例
 - Python Django ArraySubquery用法及代碼示例
 - Python Django ArrayAgg.ordering用法及代碼示例
 - Python Django ArrayField.base_field用法及代碼示例
 - Python Tweepy API.mentions_timeline()用法及代碼示例
 - Python Tweepy API.get_user()用法及代碼示例
 - Python Tweepy API.list_timeline()用法及代碼示例
 - Python Django ACos用法及代碼示例
 - Python Tweepy API.add_list_members()用法及代碼示例
 - Python Django Abs用法及代碼示例
 - Python Django AuthenticationForm.confirm_login_allowed用法及代碼示例
 - Python Tweepy API.create_block()用法及代碼示例
 - Python Django ATan用法及代碼示例
 - Python Tweepy API.trends_closest()用法及代碼示例
 - Python Tweepy API.send_direct_message()用法及代碼示例
 - Python Tweepy API.destroy_status()用法及代碼示例
 - Python Tweepy API.destroy_saved_search()用法及代碼示例
 - Python Tweepy API.get_list()用法及代碼示例
 - Python Tweepy API.favorites()用法及代碼示例
 - Python Tweepy API.blocks_ids()用法及代碼示例
 - Python Tweepy API.configuration()用法及代碼示例
 - Python Tweepy API.lists_memberships()用法及代碼示例
 - Python Tweepy API.home_timeline()用法及代碼示例
 
注:本文由純淨天空篩選整理自djangoproject.com大神的英文原創作品 django.contrib.gis.measure.Area。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。
