本文簡要介紹 python 語言中 arcgis.raster.analytics.list_datastore_content
的用法。
用法:
arcgis.raster.analytics.list_datastore_content(datastore, filter=None, *, gis=None, future=False, **kwargs)
返回:
數據存儲中的內容列表
列出向服務器注冊的數據存儲的內容(fileShares、cloudStores、rasterStores)。
Parameter
Description
datastore
必需的字符串或列表。要列出其中內容的文件共享、光柵存儲或雲存儲數據存儲。它可以是指定數據存儲路徑的字符串,例如:“/fileShares/SensorData”、“/cloudStores/testcloud”、“/rasterStores/rasterstore”,也可以是包含文件共享、光柵存儲或雲存儲路徑的數據存儲對象。
例子:
ds=analytics.get_datastores()ds_items=ds.search()ds_items[1]ds_items[1] may be specified as input for datastore它也可以是數據存儲路徑列表或包含文件共享、柵格存儲或雲存儲路徑的數據存儲對象列表。
為了列出數據存儲項,可以隻指定數據存儲的名稱
例如:fileShares 或例如:cloudStore、rasterStore
filter
可選的。過濾掉要顯示的柵格內容
gis
僅關鍵字參數。可選的
GIS
對象。運行該工具的 GIS。如果未指定,則使用活動 GIS。future
僅關鍵字參數。可選的布爾值。如果為 True,則結果將是一個 GPJob 對象,並且結果將異步返回。
例子:
# Usage Example 1: Returns the contents of the rasterstore registered with the server. datastore_op = list_datastore_content("/rasterStores/rasterstore", gis=gis)
相關用法
- Python arcgis.learn.list_models用法及代碼示例
- Python ArcGIS linear_spectral_unmixing用法及代碼示例
- Python ArcGIS log10用法及代碼示例
- Python ArcGIS log2用法及代碼示例
- Python ArcGIS landtrendr_analysis用法及代碼示例
- Python ArcGIS less_than用法及代碼示例
- Python ArcGIS less_than_equal用法及代碼示例
- Python ArcGIS ln用法及代碼示例
- Python ArcGIS local用法及代碼示例
- Python ArcGIS power用法及代碼示例
- Python ArcGIS APIKeyManager.get用法及代碼示例
- Python ArcGIS KnowledgeGraph.named_object_type_delete用法及代碼示例
- Python ArcGIS ContentManager.unshare_items用法及代碼示例
- Python ArcGIS ImageryLayer.thumbnail用法及代碼示例
- Python ArcGIS FormFieldElement用法及代碼示例
- Python ArcGIS Geometry.true_centroid用法及代碼示例
- Python ArcGIS Site.delete用法及代碼示例
- Python ArcGIS GeoAccessor.bbox用法及代碼示例
- Python arcgis.apps.hub.Initiative.update用法及代碼示例
- Python ArcGIS generate_service_areas用法及代碼示例
- Python ArcGIS build_overview用法及代碼示例
- Python ArcGIS RunInterval用法及代碼示例
- Python ArcGIS describe_dataset用法及代碼示例
- Python ArcGIS acos用法及代碼示例
- Python ArcGIS Item.publish用法及代碼示例
注:本文由純淨天空篩選整理自arcgis.com大神的英文原創作品 arcgis.raster.analytics.list_datastore_content。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。