Skip to main content
Version: Early Access

Providing geographical data for display in maps or geospatial service visualizations with markers or map visualizations with density areas

Digital.ai Intelligence Applications uses geo roles to display geographical data in map and geospatial service visualizations. During the data importprocess, Digital.ai Intelligence Applications automatically assigns geo roles, such as city or longitude information. You can also assign geo roles during import.

If your data is already imported into Digital.ai Intelligence Applications, you can assign geo roles in the following ways:

  • Define a single attribute and assign it a geo role to identify what type of geographical information it contains. Digital.ai Intelligence Applications automatically adds latitude and longitude information to data columns that you assign the Country, State, City, ZIP Code, or Location geo roles.

    Your data source includes the names of cities where your company has field offices. You can create an attribute called City, which contains the names of these cities, then assign it the City geo role. The latitude and longitude information is added automatically for each city to the City attribute. You can then use the City attribute to provide latitude and longitude information for map markers in the visualization.

    The latitude and longitude information is added to an attribute by adding attribute forms. An attribute form is a component of an attribute that provides additional descriptive information. Attribute forms appear in the Editor panel of an map or geospatial service visualization when you display your data using an attribute that has been assigned a geo role. The supplemental latitude and longitude information for the City attribute is contained in the attribute forms City@Latitude and City@Longitude.

  • Define two separate attributes to provide the latitude and longitude information of each location.

    Note: Your data source has latitude and longitude information for each of your company's stores. First, create an attribute that contains the latitude of each store and assign it the Latitude geo role. Second, create an attribute that contains the longitude of each store and assign it the Longitude geo role. Then use the two Latitude and Longitude attributes to provide latitude and longitude information for map markers in the visualization.

To assign geo roles

  1. In the Datasets panel, right-click the attribute you want to assign a geo role and select Define Geography.
  2. Select the geographic type from the drop-down list. If you need to remove the geographic type later, you can select None.
  3. When selecting some geographic types, such as zip codes, checkboxes appear for new attributes you can create (for example, County, State, Zip, etc.). Select the appropriate checkboxes to create additional attributes.
  4. Click OK.