本文简要介绍 python 语言中 arcgis.features.hydrology.trace_downstream
的用法。
用法:
arcgis.features.hydrology.trace_downstream(input_points, point_id_field=None, source_database='Finest', generalize=False, gis=None, future=False)
返回:
一个新的
FeatureSet
trace_downstream
方法从指定位置描绘下游路径。 Esri-curated 高程数据用于创建输出折线,描绘指定输入位置下游的流动路径。此方法使用可用于不同地理区域和不同空间尺度的多个源数据库访问服务。Parameter
Description
input_points
必需 FeatureSet 或空间启用 DataFrame 描绘起始位置的点,以计算下游位置。请参阅特征输入。
point_id_field
可选字符串。用于从源数据中识别特征的字段。这对于将结果关联回原始源数据很有用。
source_database
可选字符串。表示将在分析中使用的源数据的关键字。该关键字是用于构建基础水文数据库的数字高程模型的空间分辨率的近似值。由于许多高程源都以弧秒为单位分布,因此该关键字是一个以米为单位的近似值,以便于理解。
最佳:所有可能数据源中每个位置可用的最佳分辨率。
10m:水文源从 1/3 角秒构建 - 大约 10 米分辨率,高程数据。
30m:水文源是从 1 角秒构建的 - 大约 30 米的分辨率,高程数据。
90m:水文源建立在 3 弧秒 - 大约 90 米的分辨率,高程数据。
默认值为“最佳”。
generalize
可选的布尔值。确定输出的下游跟踪线是否将被平滑成更简单的线。
默认值为假。
gis
可选的
GIS
对象实例。如果未作为输入提供,则必须已在活动 Python 会话中创建登录到活动门户并定义了高程帮助程序服务的 GIS 对象实例。还可以选择通过此参数显式传入 GIS 对象实例。future
可选布尔值。如果为 True,则将返回 future 对象,并且进程不会等待任务完成。默认为False,表示等待结果。
例子:
# USAGE EXAMPLE: To trace downstream path from from the outlet points. path = trace_downstream(input_points=fs, source_database='Finest', generalize=False)
相关用法
- Python ArcGIS trace_downstream用法及代码示例
- Python ArcGIS train_classifier用法及代码示例
- Python ArcGIS train_random_trees_regression_model用法及代码示例
- Python arcgis.learn.train_model用法及代码示例
- Python ArcGIS trim_extend用法及代码示例
- Python ArcGIS tanh用法及代码示例
- Python ArcGIS to_geo_coordinate_string用法及代码示例
- Python ArcGIS tan用法及代码示例
- Python ArcGIS threshold用法及代码示例
- Python ArcGIS times用法及代码示例
- 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用法及代码示例
注:本文由纯净天空筛选整理自arcgis.com大神的英文原创作品 arcgis.features.hydrology.trace_downstream。非经特殊声明,原始代码版权归原作者所有,本译文未经允许或授权,请勿转载或复制。