If your data has latitude and longitude columns, you can add the reserved document properties for geo-location. This task describes adding the properties as a first step to activating a location icon on a mobile device.
Perform this task in
Spotfire Analyst.
Prerequisites
The data set must have columns for latitude and longitude.
Procedure
-
Open a file containing the data with latitude and longitude columns.
Note: Check the
Import Settings to make sure the column names and data types are correct.
-
Using
Recommended Visualizations, select the latitude and longitude for your axes.
The first recommendation is a Map Chart.
-
Select the recommended Map Chart, and then close the
Recommended Visualizations dialog.
Note: You can apply any Color by settings, map layers, or filters at any time.
-
On the menu, click
, and in the
Document Properties dialog, click the
Properties tab.
-
Click
New, and in the resulting dialog, provide the reserved name
AppGeoLatitude.
-
Set the
Data Type to
Real, and the
Default Value to
0.0 (the equator).
Tip: For testing purposes, you can set
AppGeoLatitude to your latitude, but before saving the final version, set it to
0.0.
-
Add another document property, providing the reserved name
AppGeoLongitude, setting the
Data Type to
Real and setting the Default Value to
0.0 (the prime meridian).
Tip: For testing purposes, you can set
AppGeoLongitude to your longitude, but before saving the final version, set it to
0.0.
Result
Your visualization now has the document properties required to activate the location icon on a mobile device that can open it from either the
Spotfire Cloud or
Spotfire Consumer.
Copyright © TIBCO Software Inc. All rights reserved.