Professional Documents
Culture Documents
CMF)
Even though Cognos Analytics 11 is available, many organizations continue to use Cognos 10 because of its
familiarity. The following exercise guides you through the process of converting an Esri Shapefile (.SHP) to a
Cognos-recognized .CMF file for mapping functionality.
Software Requirements:
Start by getting yourself a shapefile! They’re all over the internet, or some of our customers get them from
geospatial or Esri teams within their organizations. Generally, shapefiles are zipped up with a bunch of other
files. You need the other files too, so keep everything you download. For this exercise, we use Idaho school
district information found at data.gov: https://catalog.data.gov/dataset/tiger-line-shapefile-2014-state-idaho-
current-unified-school-districts-state-based-shapefile.
2. Unzip all contents to a directory of your choosing. You should see a .SHP file alongside several other
files.
1
4. Open the shapefile you just downloaded and unzipped:
5. You are then prompted to specify a .TAB file name. Save the .TAB file in the directory of your choosing.
6. Save the new MapInfo Professional workspace to the directory of your choosing:
NOTE
As a rule, keep all defaults, such as “Use Projection In Source File.” However, you may
experiment with alternative projections for your specific map. Northern states are typically
stretched in traditional Mercator projections.
2
7. Click Table, Table, and Modify Structure:
Within the Modify Table Structure window, many fields will appear:
NOTE
If you do not see several fields (as those shown the image directly above), do the following:
3
8. Highlight each field (except the NAME field), and click Remove Field. When done, your window should
look as follows:
9. Click OK. Ignore the “one or more fields have been shortened” warning, and click OK.
10. Click Home and Close All (your change to the .TAB file has already been made).
11. Close MapInfo Professional.
NOTE
Use Framework Manager version 10.2.1 or earlier. GeosetManager installs during the
Framework Manager installation. Newer versions don’t come with the following directory and
do not use the GeosetManager application.
4
13. Close out of the “Open” window that opens automatically:
15. Click Add in the Layer Control window and navigating to the .tab file you altered:
5
17. The .TAB file imports and appears in the canvas:
18. Save the .GST file to a directory of your choice by clicking on File and Save As:
6
20. Click File and Import.
21. Navigate to your .GST file and open it.
22. It should appear as follows:
25. Your new map file can now be used in Report Studio or Cognos Analytics 11 when creating a new
report with a map tool.
7
Alternative Instructions – Omitting the above GeosetManager.exe Steps
NOTE
The following instructions work for Cognos 10.2.1. EKS&H is working on a solution for Cognos
Analytics 11.
1. Save a new .XML file (be sure to add the .XML extension to your file name) in the same directory as
your .TAB file and change the .TAB reference (in green) to reflect your .TAB file therein:
<?xml version="1.0" encoding="UTF-8"?>
<Map Name="Senate">
<Layers>
<Layer Name="Senate" Path=".\SENATE_DST_CENSUS.TAB" Order="1">
<Color Red="245" Green="245" Blue="220" />
</Layer>
</Layers>
</Map>
Next Steps
EKS&H would love to discuss performing this work as a professional service to your organization. We have
dozens of business analytics consultants who are well-versed in Cognos. EKS&H would be delighted to learn
more about your organization’s goals and strategic direction for Cognos and/or other business analytics
initiatives, such as business intelligence and data integration. We have created .CMF files for many
referenceable customers, such as school districts, retail store floorplans, and even airplane seat maps.
8
About the author:
DAVID TAYLOR
For additional information about EKS&H's business analytics services, please contact Mark Richards at
mrichards@eksh.com or at (303) 740-9400.