サマリー
Visualizes flow direction and magnitude information in a raster with vector symbols.
説明
The referenced raster dataset for the raster object is temporary. To make it permanent, you can call the raster object's save method.
構文
VectorFieldRenderer (raster, {is_uv_components}, {reference_system}, {mass_flow_angle_representation}, {calculation_method}, {symbology_name})
パラメーター | 説明 | データ タイプ |
raster | The input raster. | Raster |
is_uv_components | Specifies whether the input components represent U-V, or magnitude and direction.
(デフォルト値は次のとおりです None) | Boolean |
reference_system | Specifies how the direction component is measured.
(デフォルト値は次のとおりです 2) | Integer |
mass_flow_angle_representation | Specifies the angle of mass flow.
(デフォルト値は次のとおりです From) | Integer |
calculation_method [calculation_method,...] | Specifies the thinning method to be used to calculate the magnitude and direction value of a tile.
(デフォルト値は次のとおりです Vector Average) | String |
symbology_name [symbology_name,...] | Specifies the name of the symbol depicting direction and magnitude.
(デフォルト値は次のとおりです Single Arrow) | String |
データ タイプ | 説明 |
Raster | The output raster displayed according to your rendering parameters. |
コードのサンプル
Visualizes flow direction and magnitude information in a raster with vector symbols.
import arcpy
Stretch_raster = arcpy.ia.Stretch(imagePath1, "PercentClip", None, None, None, None, True, 0.25, 0.75, None, None, None)