iShare Studio where Data Share database is your SDW

These steps rely on using an iShare Studio instance whose Data Share database is your Spatial Data Warehouse e.g.

You need to have installed the Astun Core PostgreSQL functions - see the section on Installation of Astun Core functions.

First you need to grant permission for SDW Admin staff to write to the public schema in your SDW. This can be done either via pgAdmin III or by creating a Stored Procedure Task in Studio using the 

astun_wkf_executecmd function (from v6.0.0 this is called wkf_executecmd) with the cmdtoexecute parameter similar to the following:

GRANT ALL ON SCHEMA public TO sdw_admin;

Now you can use the following steps:

iShare Studio where Data Share database is not your SDW

The easiest way of migrating non-spatial data into the SDW is to use Studio to define a Data Share Connection. A Data Share Connection in Studio will create a connection to numerous different sources. Syncing a Data Share Connection will migrate the data to a public table of the same name in the public schema of the local iShareData database. PostgreSQL commands are then used to move the table to the SDW database.

  1. Create data in iShare database if necessary
  2. Export the data for iShare database
  3. Before importing the data into the SDW ensure a schema with the same name (in this case education) exists. To create a schema see Creating a Schema