The MP data from the Modern.gov needs to have the geometry columns populated before it can be used by iShare. This is done via a Stored Procedure Task. In the tree, right click on the Update Modern.gov Data Job you have just created and select New Task.
...
Task Details
Enter the following:
Task Name
Enter a Name for the task e.g. Modern.gov MPs Geometry
Connection
Select the Data Share database from the list.
Function
First select the Astun radio button as this will limit the list of available functions and then select the at_wkf_executecmd function from the list.
Parameters
Click on Parameter 1. cmdtoexecute and in the Edit parameter 'cmdtoexecute' box enter the following:
Code Block | ||||
---|---|---|---|---|
| ||||
SELECT Populate_Geometry_Columns('public.moderngov_mps_spatial'::regclass); |
Now click the Run button to run the Task to populate the geometry.