Converting Geocortex Geometry to Features
Hi All,
Just getting started with workflow. Using display capture geometry to capture a point. How do we assign the Essentials Point to an AGS Client geometry so we can use the Addfeatures task to add the features to a feature service?
Arcgisclientgeometryconverter?
Using 3.9 & SLV1.5
Thanks,
James
-
Hi James,
There is a Result property on the DisplayCaptureGeometry activity, which will let you store the point in a variable of type Esri.ArcGIS.Client.Geometry.
The AddFeatures task takes an IEnumerable of Esri.ArcGIS.Client.Graphic objects, so you will have to create a new Graphic object, and assign the point you captured to it's geometry property. For example, you could use an Assign activity where myGraphicVariable.Geometry() = myCapturedPoint
See workflow (https://support.geocortex.com/Data/Sites/1/addfeatures.zip) here .
-Victoria
0
Please sign in to leave a comment.
Comments
1 comment