How to configure a table so Spotfire recognizes it for geocoding

How to configure a table so Spotfire recognizes it for geocoding

book

Article ID: KB0070310

calendar_today

Updated On:

Products Versions
Spotfire Analyst All

Description

There may be times when you may want to use local data tables for geocoding in map charts instead of the pre-loaded geocoding tables.

Issue/Introduction

How to configure a table so TIBCO Spotfire recognizes it for geocoding

Resolution

For Spotfire to recognize a data table for geocoding, certain Property fields must be set at the Column and Data Table level.

Under Data > Column Properties > Properties tab
The "MapChart.ColumnTypeId" property for the Latitude and Longitude columns should have the appropriate value. For example:
  • [Latitude column] == YCenter
  • [Longitude column] == XCenter
User-added image

Under Data > Column Properties >General
The "DataType" for these columns must be set to "Real". Occasionally they are imported as "Currency". To adjust this, you can modify the data type during data import or if the data is already imported, use Insert > Transformation > "Change data types" to change to a real. See the Details on Change Data Types reference for more details.

Under Data >Data Table Properties > Properties
The Property "MapChart.IsGeocodingTable" must be set to "True"
User-added image

Refer to  Setting Up New Geocoding Table in the Spotfire Analyst manual for more information on this topic. 

Additional Information

Doc: Setting Up New Geocoding Tables Doc: Details on Column Properties – Properties Doc: Details on Change Data Types