This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
04-05-2019 11:22 AM - edited 08-03-2021 03:58 PM
Data Products 101
Part 2: Maps
This article focuses on one key area of our Location Insights products – Maps. I'll use the US Location Insight product for this example, but all of our international Location Insight products are functionally the same unless I call it out specifically as a unique part of the US package.
FAQ
As a quick recap before I begin this article, let's cover two frequently asked questions:
What do the Location Insight packages include?
What countries does Alteryx have Location Insight products for (as of Q4 2018)?
Let's get started:
Using Alteryx Maps
In Part 1 we covered installing our Data Products – now let’s jump into actually using it.
First, let’s drag a Map Input tool onto our canvas and review what maps we have available to us by clicking the ‘Base Map’ drop down.
As we can see here, we have multiple maps at our disposal. Carto Positron and Dark Matter come pre-loaded with Alteryx and function well as a basic map for your data – but the TomTom and Digital Globe maps you get with the Location Insights packages bring more accuracy and a lot more utility.
Let’s examine a quick comparison below to understand the features of each Base Map.
TomTom US
DigitalGlobe Aerials
DigitalGlobe Aerials with Streets
Carto (Positron)
As we can see above, there are some big differences between the 4 main Base Maps.
While the Map Input tool is useful for creating spatial data at the beginning of our analytical journey, it doesn’t help provide context to the data we are currently working with. Thankfully, the Browse tool has a built-in map function when working with spatial data.
All you have to do is select the ‘Map’ tab on the top left, then select your desired Base Map in the drop down. Now you can see your data visualized on one of our maps. Let’s pause and take a moment to reflect upon the fact that Maps are the OG in Visualytics.
Now we’ve seen how the Map Input tool can help start our analytical journey, and how maps within the browse tool provide context to the data we are working with - the lastmapping tool in our toolkit we need to discuss is the Report Map tool.
Report Map is apowerful tool for visualizing your spatial data. It provides spatial context to the results at the end of your analytical journey. I highly recommend you check outthe Tool Mastery article for it as well as the One Tool Sample found in the ‘Help’ menu in Alteryx.
As the Tool Mastery article provides plenty of context on how to configure the tool, I’ll point out that the TomTom base map within the Report Map tool allows users to customize individual geography layers. For example, your analysis is based near airports – the Report Map tool allows you to customize the appearance of the airport polygon layer and even other surrounding layers to show importance. Select the TomTom map in the Reference Base Map configuration to enable base layer customization.
You should now be equipped to use the Map portion of your Location Insights package. If you’re wondering where to start with diving deeper into spatial analytics then be sure to stay tuned for Part 3 of my Data Products 101 series - Drivetime Data.
Bonus Section
Let's circle back to an earlier point about the three main maps of the Location Insights packages – the "DigitalGlobe Aerials with Streets" map uses the exact same street network data as the TomTom map. You might be wondering how that works, so let's take a quick dive into how maps work in Alteryx.
There are two ways Alteryx creates maps– fetching map tiles from an API (Carto and DigitalGlobe Aerials use this method) and rendering spatial data with a .map file(TomTom uses this method). In a practical sense,the TomTom mapconsists of a file inventory of .yxdb's, andthe styling, layering, andrendering of the data within those .yxdb's is orchestrated by a .map file.TheDigitalGlobe Aerials with Streets map is actually a hybrid of theroad network spatial data in select .yxdb’s rendered on top of the satellite imagery tiles from the API.
Why does this matter?
Location Insights customers can take advantage of the base .yxdb’s for use in their spatial analysis. Perhaps you’re interested in lake polygons.
These raw .yxdb’s can be foundwherever you installed the Location Insights package. For instance,the files should be found in C:\Data_Install\AlteryxMap\TomTom_US_2018_Q4\Data if I installed the Q4 2018 US data to C:\Data_Install.
To make this even more convenient, our US Location Insights users have a TomTom Layer Extraction app included with their installation.Access it within Alteryx via: Options > Run Analytical Apps >TomTom Layer Extraction App > Run
Configure the app to according to your needs – narrow downto which state geography(s) you want to extract from, then select the specificlayer(s) you want data for, and finally select your output and if you want to merge the geographies.
Now you can integrate the spatial data for these layers directly into your workflow!
Asmentioned previously,the styling, layering, and rendering of the spatial data within the .yxdb's isorchestrated by a .map file. Userscan actually edit those .map files to make styling tweaks or add new elements.This process can be a bit tricky, especially for users without a GIS background. I won't dive into the process, but here is aCommunity Articlethat discusses .map file customization if you are interested.