Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

We need to create a Workflow Task to import each of the different types of EduBase data into the PostgreSQL database.

  • Right click on the Jobs entry you have just created to Refresh the EduBase Data in the tree and select New Task.
  • Select Spatial Data Transformation as the task type and click OK.

Task Name

Enter a Name for the task. In the above example we have chosen Download EduBase Data

Source Data

Here you need to select the WFS Workflow Connection you have just created.

Table

Here you need to select the correct table for the type of EduBase data that you wish to extract from EduBase. This is actually a layer name and the options are:

      • all (All Services)

Note: If there is no drop down selection then it is possible that you are missing the errorconfig.xml file from your Studio\config folder.

Output

In this instance will want to output to the PostgreSQL database so select then name of your Data Share database.

Table

Enter a name for the Table that you wish to create in the PostgreSQL database; we have chosen edubase.

  • Click Save to update the Studio with your changes.

 

Although we have created the Workflow Task to import the data from the WFS Feed we need to actually Run the task to import the data.

  • Right Click on the Task you have just created and select Run Task Download EduBase Data or whatever you have called it. This may take a little while but you should see a successful completion message when the download has finished. This will import the WFS feed into the specified table.
  • Now you need to repeat these steps to create a Task for each type of EduBase data that you wish to download and display.

Table Structure

If you open pgAdmin and select the Datashare database you should see your new edubase table.  

The column phase_of_education_name can be used to split this data into the different phases of Education e.g. Primary, Secondary etc.

 

  • No labels