Using task.identify through a workflow
I got a workflow who projects a buffer around a point. Now I want to query all features inside that buffer. These features are located in multiple layers. I use Geocortex Web as my viewer and inside that viewer I can draw a polygon and then can identify all features within it with the tasks.identify operation (this is build in functionality). It will than return all features inside the polygon (multiple layers).
When I try to use the tasks.identify operation with my workflow (with the run operation activitie) I set up the parameter geometry and maps but I get an empty array as results. Anyone got an idea how to set this operation up?
-
Hi Atze,
Here is the documentation for the arguments for tasks.identify in Geocortex Web:
https://developers.geocortex.com/docs/web/api-commands-operations-events/#definition-IdentifyArgs
It'd be helpful to see the expression you're using to be able to compare and see if the names and values are correct.
0 -
Hi Ken, thanks for your respons. I had found the arguments and I think I set them right. But I still won't get any results. I added my workflow below, maybe you can find an error.
-1 -
Your maps parameter should be a reference to a MapExtension object. Use the Get Map activity to get $map, then the input to tasks.identify should be = { "maps" : [ $map.map.mapExt ], "geometry": $bufferenginetask1.geometry }
0 -
Jostein and Atze,
I think Jostein made a small error it should be:
= { "maps" : [$map.map.extension] , "geometry": $bufferenginetask1.geometry }
0 -
I have only used this within the context of GXM, and there both $map.map.mapExt and $map.map.extension gives you the MapExtension object. I don't know with GXW
0 -
In GXW it only works, for me, with $map.map.extension. I already noticedthat Mobile and Web behave differently on some points. The Log-activity is my biggest friend
0 -
Thanks for your respons everyone, I got it working now!
0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
7 kommentarer