Creating geo maps in Qlik Sense®
Geographical information can be plotted in Qlik Sense by making use of the Map
object. In order to create geo maps in Qlik Sense, we need to load the location information, also called point or area data. The location information can be loaded either from a Keyhole Markup Language (KML) file, if available, or a database, web service, or simple Excel file. Data can also be loaded inline, which is what we are going to do in the following recipe.
Getting ready
For the purpose of this recipe, we will make use of inline data loading, which gives us the location information for different countries in the form of latitudes and longitudes:
- Create a new Qlik Sense file and name it
Geolocations
. - Add the following
Inline
, which that contains the location information for countries:
Country: Load RowNo() As CountryID, *,GeoMakePoint(Latitude, Longitude) As CountryGeoPoint Inline [ Country, Latitude, Longitude Australia, -25.274398,133.775136 Argentina...