AnsweredAssumed Answered

Sending FeatureSet as a parameter to geoprocessing task

Question asked by modybsystematics-co-il-esridist Employee on May 15, 2016
Latest reply on May 16, 2016 by modybsystematics-co-il-esridist

I am running a gp tool with point feature set as input parameter.

I would like to user to click on a few points and send it as a parameter.

I can easily do it with one point:

var inputPoint = await MyMapView.Editor.RequestPointAsync();

parameter.GPParameters.Add(new GPFeatureRecordSetLayer("observer", inputPoint));

 

I created a GraphicsOverlay and put all the points the user entered.

How do I send this as a parameter? The constructor of GPFeatureRecordSetLayer can get a FeatureSet but I found no way to create it from the GraphicsOverlay

 

Thanks

Outcomes