a partial list of administrative areas from Brazil. I found the shapefile for this from http://www.ibge.gov.br/. I then converted it using shp2text.exe. I then ran it through MS Access which allowed me to add a unique key for Tableau polygon paths. The list of states is partial simply to reduce the row count.
UPDATE: Some folks asked for more details on how this is achieved. I have tried to write it up a bit more. The details are below the visual. I really don't know why this is such a tedious process... but it is. Hopefully my additional notes below will help.
There are a few different ways to get a shapefile into Tableau as "polygon" data.
Joe Mako has a great video located here:
The "shp2text to ms access to tableau" method. Download all three of these files to a directory:
Download shp2text.exe from here:
from a prompt, run this command:
shp2text.exe --spreadsheet 55mu500gc.sph > output.tab
This outputs the contents to a tab delimited file called "output.tab"
Now import this file into MS ACCESS - when importing, tell MS ACCESS to add a "primary key" - you will use this new column in Tableau for the Tableau "path ID". Also, during the import, make sure that you tell MS ACCESS that "the first row contains field names".
Once the data is inside of MS ACCESS, you can now connect to it with Tableau, and follow the general instructions for polygons found here:
If you have ArcGIS, you can follow these instructions instead, as they will save you some time:
Field Names of importance, specific to the Brazilian data set:
X-Coordinate: this is the longitude, set this to "longitude" in Tableau
Y-Coordinate: this is the latitude, set this to "latitude" in Tableau
ID2: this is the MS Access generated primary key, you will want to use this on the "path" shelf in Tableau.