Last modified by Maptitude Support - 1 year ago
135 Views
2 min read

How can I make a Postcode Heat Map for the DACH Region?

When making a heat map, you need to join your data to the layer that you want as the base layer for your heat map and then apply a color theme on the attached data. Unfortunately, in the DACH region, a postal code is not enough to uniquely identify a postal code area, since the same postal code number can appear in two or more countries (e.g. Switzerland and Austria). In order to join your data to the Postal Area layer therefore, you need to add a field that uniquely defines the postcodes. This article discusses how to add the “EuroPost” field to your map and use that to join directly to the Postal Area layer:

Step 1: Adding the EuroPost field to your data

There is a field on the Postal Area layer called EuroPost that is unique for each Postcode in the entire region. The EuroPost values have the following format:

"{2-letter-country-abbreviation}{5-digit-postal-code}"

E.g.:

DE85540, AT02120, CH06900

Note that even if the Postcode only has 4 digits, the EuroPost uses a 5 Digit Postcode so you need a leading zero.

You can manually fill in the EuroPost field for your data or you can make it as a formula field. In Excel, you can use this formula:

G2&TEXT(F2,"00000")

Where G2 contains your country code, and F2 contains the Postcode. In this example, the TEXT() function makes sure that all the postcodes have 5 digits.

Step 2: Joining your data to the Postal Area layer

Now that you have a field that uniquely identifies each postcode in the region you can join your data to the DACH Postal Area layer

  1. Open a map of the DACH Region
  2. Right-click on DACH Postal Area in the Display Manager and choose New Dataview
  3. Click in the main toolbar
  4. In the top half of the Join Window, set Field to EuroPost
  5. In the bottom half of the window, click File Open…
  6. Change the format in the bottom right corner to the correct type (e.g. Excel Worksheet)
  7. Select your data and click Open. Click OK.
  8. Save the table somewhere appropriate.
  9. In the bottom half, set Field to the field containing your EuroPost data
  10. Your window should look like this.

    Click OK
  11. If a Creating One to Many Join window comes up, choose Aggregate records in the right side of the join and click OK

This will add extra fields to the Postal Area layer for the map you have open. Go back to the map and apply a theme:

How to Make a Thematic Map in Maptitude