I have a geoTiff that contains the information of the wind (Magnitude, Direction) in two different bands. I display it using VectorFieldRenderer (like https://developers.arcgis.com/javascript/latest/sample-code/layers-imagery-vfrenderer/) and I do not have any problem with it, it just displays as expected. Then, If I try to display it using FlowRenderer (following https://developers.arcgis.com/javascript/latest/sample-code/layers-imagery-afrenderer/) nothing displays and no errors appear in the console.
I think that the problem comes from the source type of my raster dataset, I don't know how to transform the actual structure of two bands for magnitude-direction information to a Vector-MagDir one.
Thank you for your answer!
Is there any way to do so using only JavaScript? In the posts you sent me they process the data using ArcGIS Pro or ArcGIS Online, I'd like to apply the multidimensional filters and the vector field function using JavaScript.
You can check out the following blog posts that talk about how you can prepare your data for visualization with the FlowRenderer:
Hope this helps!
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.