/
Create Task to populate Councillor geometry columns

Create Task to populate Councillor geometry columns

The Councillor 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.

Select the Stored Procedure type and click OK.

Task Details

Enter the following:

Task Name

Enter a Name for the task e.g. Modern.gov Councillors Geometry

Connection

Select the Data Share database from the list.

Function

First select the Workflow radio button as this will limit the list of available functions and then select the at_wkf_executecmd function from the list (from v6.0.0 this is called wkf_executecmd under the -Workflow- Function filter).

Parameters

Click on Parameter 1. cmdtoexecute and in the Edit parameter 'cmdtoexecute' box enter the following:

Example
SELECT Populate_Geometry_Columns('public.moderngov_spatial'::regclass);

E.g.

Now click the Run button  to run the Task to populate the geometry.

Related content

Create Task to populate MPs geometry columns
Create Task to populate MPs geometry columns
More like this
Create Task to format Councillor data
Create Task to format Councillor data
More like this
Create Task to format MP data
Create Task to format MP data
More like this
Create Job to Refresh Modern.gov data
Create Job to Refresh Modern.gov data
More like this
Create Task to add AddressBase View to Geometry columns
Create Task to add AddressBase View to Geometry columns
More like this
Configure a Stored Procedure Task
Configure a Stored Procedure Task
More like this