Zusammenfassung
Visualize flow direction and magnitude information in your raster with vector symbols.
Auswertung
For more information about how this function works, see the Vector Renderer Field raster function.
The referenced raster dataset for the raster object is temporary. To make it permanent, you can call the raster object's save method.
Syntax
VectorFieldRenderer (raster, {is_uv_components}, {reference_system}, {mass_flow_angle_representation}, {calculation_method}, {symbology_name})
Parameter | Erklärung | Datentyp |
raster | The input raster. | Raster |
is_uv_components | Specifies whether the input components represent U-V, or magnitude and direction.
(Der Standardwert ist None) | Boolean |
reference_system | Specifies how the direction component is measured.
(Der Standardwert ist 2) | Integer |
mass_flow_angle_representation | Specifies the angle of mass flow.
(Der Standardwert ist From) | Integer |
calculation_method [calculation_method,...] | Specify the thinning method to be used to calculate the magnitude and direction value of a tile.
(Der Standardwert ist Vector Average) | String |
symbology_name [symbology_name,...] | Name of the symbol depicting direction and magnitude.
(Der Standardwert ist Single Arrow) | String |
Datentyp | Erklärung |
Raster | The output raster displayed according to your rendering parameters. |
Codebeispiel
Visualize flow direction and magnitude information in your raster with vector symbols.
import arcpy
VectorFieldRenderer_raster = arcpy.sa.VectorFieldRenderer(out_vector_field_raster,
is_uv_components=False, reference_system='Geographic',
mass_flow_angle_representation='from')