Select to view content in your preferred language

Project Polygon Result to FeatureSet

2276
0
12-04-2013 10:16 AM
AndrewBlakey
Deactivated User
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? 

   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?
Tags (2)
0 Kudos
0 Replies