Before You Begin

This 5-minute tutorial shows you how to assign the Latitude, Longitude map layer to latitude and longitude data columns in your dataset and workbook.

Background

When you assign the Latitude, Longitude map layer, the data columns must use numeric or text data types as attributes. If your latitude and longitude data columns are treated as measures, change the columns to attributes before assigning the Latitude, Longitude map layer to the columns.

What Do You Need?

Create a Dataset

In this section, you create a dataset and assign the Latitude, Longitude map layer to the dataset's latitude and longitude columns.

  1. Sign in to Oracle Analytics.
  2. On the Home page, click Create, and then click Dataset.
  3. In Create Dataset, click Drop data file here or click browse. In File Upload, select sample_orders_states.csv, and then click Open. In Create Dataset Table from sample_orders_states.csv, click OK.
  4. Click sample_orders_states, select Options Options menu icon in the Latitude column, and then select Location Details.
  5. In Location Details: Latitude, select Latitude, Longitude from the Map Layer list, and then click OK.


    Latitude is automatically added as the value in the Location Type field.

  6. In the Longitude column, select Options Options menu icon, and then select Location Details.
  7. In Location Details: Longitude, select Latitude, Longitude from the Map Layer list, and then click OK.


    Longitude is automatically added as the value in the Location Type field.

  8. Click Save Save icon. In Save Dataset As, enter sample_orders_states in Name, and then click OK.


    Description of lat_long_samp_orders.png follows
    Description of the illustration lat_long_samp_orders.png

Create a Map Visualization

  1. Click Create Workbook.
  2. In the Data Data pane icon pane, hold down the Ctrl key, select Sales, Latitude, and Longitude data elements, and then drag and drop them on the canvas.
  3. Click Properties Properties icon. In Properties, click Map Map properties icon.
  4. In the Default Map Type row, click Default (Thematic) and select Oracle DataViz.


    Description of lat_long_map_viz.png follows
    Description of the illustration lat_long_map_viz.png

Learn More