Hi All:
I'm trying to take the geometry from a GeometryService Project result and pack it into a FeatureSet so that I can pass it to a geoprocessing task. What's the smoothest way to do this?
BONUS: I've always struggled with the best way to inter-manipulate FeatureSet, Features, Geometry, Graphic in Flex. Is there any good single cheat sheet showing the best way to create and access these?
I'm trying to take the geometry from a GeometryService Project result and pack it into a FeatureSet so that I can pass it to a geoprocessing task. What's the smoothest way to do this?
Code:
protected function geomService_projectCompleteHandler(event:GeometryServiceEvent):void
{
var myFeatureSet:FeatureSet = ???
var params:Object = {
"Waterbody_Input": myFeatureSet,
"Transect_Spacing__Metres_": 30.0,
"Shoreline_Buffer__Metres_": 30.0
};
gp.execute(params);
BONUS: I've always struggled with the best way to inter-manipulate FeatureSet, Features, Geometry, Graphic in Flex. Is there any good single cheat sheet showing the best way to create and access these?