Using Latitude and Longitude Data

You can use raw latitude and longitude to designate location, rather than specifying place names (city, state, etc.). The following example provides an illustration.

Walkthrough

In this example, you will label a map with a list of landmarks along Historic Route 66. The locations of the landmarks are provided by a Worksheet Data Block containing raw latitude and longitude. Follow the steps below:

1. Create a new Viewsheet based on the 'Tutorial' > 'Map Points' Worksheet.

2. Add a Chart component to the Viewsheet, and click the center of the Chart to open the Chart Editor.

3. In the Data panel, click the 'Select Chart Style' button. Select the 'Map' type, and click the green 'Apply' button.

 

The 'Lat' field con­tains latitude values.

4. In the Data Source panel, right-click the 'Lat' measure, and select 'Set Geographic' from the context menu.

 

5. From the 'Map' menu, select 'U.S.', and click the green 'Apply' button.

 

The 'Long' field con­tains longitude values.

6. Repeat the above steps to set the 'Long' measure as a geographic field.

7. Drag the 'Long' field to the 'X' region of the Data panel.

8. Drag the 'Lat' field to the 'Y' region of the Data panel.

 

Data points now appear on the map to mark the locations specified by the latitude and longitude data, and outline the progression of Historic Route 66.

9. To add the landmark labels to the points on the map, drag the 'Name' field from the Data Source panel to the 'Text' field in the Visual panel.

 

Note: By default, the landmark names are displayed as tooltips.

The labels appear fairly crowded because of the long landmark names. You can zoom the chart to see the labels more clearly. See Zooming a Chart for instructions.

<< Resolving Geographical Data © 1996-2013 InetSoft Technology Corporation (v11.5) Transforming Longitude/Latitude for Alaska and Hawaii >>