Report Studio

Matching Data Values to Names in Map File

 

If the Ignore Data with No Features property is set to No, then each object that is called from the data source must have a matching label in the specified layer of the map file. For example, if your data source has a country named United States and the layer in the map file labels the same country USA, then there is a mismatch that must be corrected. Report Studio only makes you aware of a mismatch if each object in your data source does not have a corresponding label in the map file. If there are extra labels in the map file that do not have a match in the data source, the report will run without an error message.

A mismatch between your data and the map file must be corrected by the report author. It can not be corrected by a consumer of the map report at run time. You can use the dictionary property to create an alias for each mismatched object. When you use the dictionary property, it resolves the mismatch only for a single report, and is not shared with other reports. If you intend to continue using a map with the same data source, contact Changepoint support so they can add the properties to the main map.

Creating an Alias

  1. Select the map object.

    The Title Bar of the Properties pane now shows the word Map.
  2. In the General section of the Properties pane, click Dictionary, then click the ellipses points (...).
  3. Click the new button .
  4. In the Dictionary Entry dialog box, click Search.
  5. In the Search string box, type a word or part of a word that you want to search the map file for.

    For example, if you are searching for United States, type in part or all of the name.
  6. In the Search map layer box, click the layer that you want to search, and click Search.
  7. In the Matching features box, click the label that you want to match your data source to and click OK.
  8. In the Alias box, type the name as it appears in the data source and click OK.

    For example, if the country in your data source is named USA, type USA as the alias.

    To find out the name for the objects in your data source, run a list report. For example, you can run a list report to show the names of all the countries in your data source. For more information see List Reports.

 

Related Topics: