How to build a map in DSS with no code

Applies to DSS 2.0 and above | July 14, 2015

Creating a map in DSS is as easy as creating a simple bar chart. Read this article to see how!

Install geo plugins

You will first need to install the geoadmin and geozip plugins.

The data

The only requirement to create a map is a dataset with location data, encoded as latitude/longitude coordinates.

The example here is based on the list of geocoded French postal offices. Once imported in DSS, the dataset looks like this:

Imported dataset

You can now go in the Analyze interface and start building your map.

Create Geopoints

We have a list of postal offices, with some characteristics and their latitudes/longitudes. The first thing to do is to transform these coordinates into “GeoPoints” to be able to display them onto the map. In order to do this, use the appropriate visual processor:

Analyze interface - script: create GeoPoint

Please note that many unused columns were removed, to have something easier to read.

Pretty simple right?

Build the map

Just click on the chart button to start the interesting work. Choose the map chart:

Chart window with drag and drop for values for the map chart

To build the map, you only need to drag and drop the GeoPoint column on “Break down by…”, place your metric of interest on “Color”. We’ll use here “Count of records” to visualize the spatial distribution of postal offices:

Default chart map

By default, the aggregation is done at the country level. It’s fun to see that there are French postal offices in several other countries.

Now you can play with the different parameters to get the map you want. For example a filled map of the number of postal offices per “département” in France, with color ranging from green to red:

Chart map with color range: geopoint by level 6 (department/country)

Here you are!