Open AlbertEjiestein opened 4 years ago
I don't think pick function would work for objects rendered by WebGL, and my suggestion is to load the wind field data as a layer in Cesium.
The easiest solution probably is making use of the WMS function of Cesium
By this way the wind field data is static, if you want to pick the dynamic data like particle movement, you have to find another solution
Thank you very much, I will try the WMS function.
I have successfully picked up wind field data by WMS, thank you for your generous help.
Dear author, I encountered another problem when picking up data. The "imageryProvider.pickFeatures" API will initiate two requests by default. One request format is application/json, which will return 400, and the other is text/xml, which returns 200. It can be seen that when the format is ‘application/json’, the corresponding resource does not exist. What should I do if I don’t want to initiate a request in the "application/json" format? Because the request failed will take a lot of time.
I am not a Cesium experts so I suggest that for Cesium related problems you better check the Cesium document or ask question in the Cesium Community
If I want to pick up the wind field data at a certain point on the earth, what method should I use? I use the following API, and the result returns undefined.
var pick = viewer.scene.pick(movement.position);