Configure thematic mapping

To display shaded (Thematic) maps, you need to obtain a shape file that defines the boundaries of the geographic entity displayed. A shape file, or boundary file, is actually a set of several files. Each set of shapes to be used are defined by a .SHP file containing the geographic shapes, a .SHX file containing a shape index (not used or required by FastStats), and a .DBF file which connects the shapes to the data.

Please see the following article for a more detailed explanation: https://en.wikipedia.org/wiki/Shapefile

The boundaries may include:

  • Continents

  • Countries

  • Counties

  • Regions

  • Postcode Areas

  • Postcode Districts

  • Postcode Sectors

  • 5 Digit Zip Codes

  • 3 Digit Zip Codes

  • Territories

  • etc.

The shape files need to be based on the WGS84 co-ordinate system. You need to convert your shape files to WGS84 if they have been supplied in the UK or other co-ordinate system. See the Resources section for details of utilities to help create the appropriate shape files.

Once you have the .SHP file and the associated .DBF file, you then need to connect the polygons in the shape file to the data that it represents in your FastStats variable. FastStats thematic maps are created from selector variables which have a series of categories, each with a code and description. You need to add these codes to the .DBF file. This is done by adding two columns, one called FS_CODE and one called FS_DESC. The FS_CODE column needs to be populated with the codes for each appropriate category in the FastStats selector. The FS_DESC is optionally populated with the descriptive text to be used for each category in the FastStats selector variable.

Boundary files for thematic mapping

UK boundaries

The following boundaries are available from Apteco via their partners:

  • UK Postcode Area

  • UK Postcode District

  • UK Postcode Sector

These boundary files are configured to the WGS84 co-ordinate system and have been coded to match the typical decodes for each postcode variable.

For FastStats systems that use non-standard decodes, please contact Apteco for details on editing the .DBF files.

Other boundaries

If you choose to source your own boundary files and require instructions on how to configure them for use within FastStats then please contact Apteco via your partner for documentation and support.

Boundary file names

It is easiest to rename your boundary files to the reference name of the equivalent FastStats variable. However, if you wish to retain the original boundary names for clarity etc., you may specify the GeoFormat parameter in your autoexec.fsf file. For example datadef.variable(x).GeoFormat="y" where x is the variable reference as stated in the system, and y is the name you have called your shape file.

Installing boundary files

Boundary files are held in the Maps folder, in one of the following locations:

Note: You need to create the appropriate Maps folder when adding online mapping to a FastStats system if not already in place.

  • On the web server in …\FastStats\Maps\ - if using the Apteco FastStats Launcher

  • On the user’s PC in …\Program Files\Apteco\FastStats Discoverer (x64)\Maps - for a locally installed Apteco FastStats connecting to a local system (i.e. using a .system.xml connection file such as when launched from FastStats Designer)

  • On the user’s PC in the …\Program Files\Apteco\FastStats Discoverer (x64)\Maps\ for a locally installed Apteco FastStats connecting to an Enterprise system (i.e. via the FastStats WebService)

Inserting boundary files into Binaries

The process of installing the Boundary files into the Client Binaries is the same as installing the Bing Key up to step five in the Install mapping resources process. From step five, insert the Boundary files by selecting all files (except the <systemname> folder) and clicking Open:

The files are then displayed in the Add or Replace File(s) menu window as a File(s) to add. Insert Binaries\Maps\ into the Base path in database field (as shown below) and click OK:

The files should now be viewable in the Customise Binaries menu window: