Point in Polygon Dataflow (Job)
This procedure describes how to create a Point in Polygon dataflow from a Point in Polygon subflow that already contains the necessary processing instructions. By creating this dataflow as a service it can be accessed from a web service or when using the Spectrumâ„¢ Technology Platform API. Alternatively, this dataflow could be created as a service for use with a web service. A subflow must be incorporated into a dataflow to be used.
To create a point in polygon dataflow:
- In Enterprise Designer, choose from the File menu or from the Task pane.
- Drag the Point in Polygon subflow from the User-Defined Stages folder.
- Drag a Read from File icon onto the canvas and connect the output port to the Point In Polygon subflow.
- Double-click on Read from File to display the Options dialog. In the File Properties tab, specify the input file and other information as needed.
- In the Fields tab click Regenerate and click Yes to populate the list of fields in the input file. Click Detect Type to determine the data type for each field. Click OK.
- Drag a Write to File sink onto the canvas and connect the output port of the Point in Polygon subflow to the input port of the Output.
- Double-click on Write to File to display the Options dialog. In the File Properties tab specify the output file and information as needed.
- In the Fields tab click Quick Add, then click Select All and click OK.
- Select File Save. Give your dataflow a name and click OK.
- To test the dataflow, select Run Run Current Flow.