Working with geodata in LookML
Geodata in your tables gives you the possibility to create map chart visualizations. In this section, we will have the opportunity to use the things we previously learned in combination with some new elements related to geodata.
Getting ready
You will need to download the following file to your computer, then drag and drop this file in your LookML environment (as shown in the previous section): communes.topojson - https://github.com/PacktPublishing/Business-Intelligence-with-Looker-Cookbook/blob/main/communes.topojson. This file contains the coordinates of the French communes – cities, towns, villages – local administrative units.
To visualize the geodata in a map chart, you need to include at least one of the following fields in your query: a dimension based on latitude and longitude data, a dimension with a map layer assigned to it, or a ZIP code dimension.
Note
According to the documentation, a ZIP code dimension automatically...