Hi Sofie,
You should not have to upload your json file into Cognos. The idea is that in the data you want to analyse there is a column that corresponds to a column in the JSON (For example the name of the district).
When you create a new map in Cognos, in the properties of the map, in the region section, you fill in the Mapbox MapId, The Layer Name of your JSON in that map, and the name of the column on mapbox of the name of the District (in this example).
Then you drag the name of the district in Cognos to the locations slot of the map and a measure you want to visualise into the Region Color or Size slot. That should work.
Technically, what will happen now, is that in your browser, the data for the map is downloaded (so, measure, per district). Also, the polygons for districts are downloaded from Mapbox. Your browser will then match the 2 and color them according to your design.
More detail here:
Mapbox hosted custom polygons in reports and dashboards
| IBM Analytics Communities |
remove preview |
|
|
------------------------------
Reinier Battenberg
------------------------------