Cognos Analytics

 View Only
Expand all | Collapse all

Cognos 11 doesn't show map visualization

  • 1.  Cognos 11 doesn't show map visualization

    Posted Fri August 10, 2018 06:16 AM

    Hello everyone,
    I need help in Cognos Analytics 11.0.10 version.

    I created a map visualization but the map is only show blank. Legacy map still worked.



    ------------------------------
    Giang Smile
    ------------------------------

    #CognosAnalyticswithWatson


  • 2.  RE: Cognos 11 doesn't show map visualization

    Posted Fri August 10, 2018 07:55 AM
    Hi,
    How does your data look like? I presume you are matching a column with country/district/city names with the names in Cognos.
    Do you have any error in your javascript console?
    How do the properties of your map look like (the ones on the right of the screen)

    Reinier

    ------------------------------
    Reinier Battenberg
    ------------------------------



  • 3.  RE: Cognos 11 doesn't show map visualization

    Posted Mon August 13, 2018 04:00 AM

    Hi @Reinier Battenberg​, 
    Here is my report on IBM Cognos Analytic Cloud.


    I didn't see any error, issue is only can not load map.
    Regards, Giang.



    ------------------------------
    Giang Smile
    ------------------------------



  • 4.  RE: Cognos 11 doesn't show map visualization

    Posted Mon August 13, 2018 04:51 AM

    Hi,

    I got javascript console errors.



    ------------------------------
    Giang Smile
    ------------------------------



  • 5.  RE: Cognos 11 doesn't show map visualization

    Posted Mon August 13, 2018 10:28 AM

    Hi Giang,

    I am not IBM, so I am only guessing. Here is what you could do:

    - Login to Cognos
    - Open a second tab in your browser
    - Go to the URL:
    https://yourserver:9300/bi/v1/configuration/keys?keys=Mapbox.secretToken,Mapbox.accountName,Mapbox.token

    You now receive a file with the tokens that Cognos uses to access Mapbox tiles.

    To check if your tokens are valid, construct the following URL:

    https://api.mapbox.com/styles/v1/ibmrave/civih7tgu003l2jre7itlidc9/sprite.png?access_token=<YOUR Mapbox token, the one starting with pk.>

    If that last URL throws an error, your key is invalid, and your install is probably broken. Contact IBM or reinstall your cognos.

    Good luck,

    Reinier



    ------------------------------
    Reinier Battenberg
    ------------------------------



  • 6.  RE: Cognos 11 doesn't show map visualization

    Posted Tue August 14, 2018 07:13 AM

    Hi,
    I don't understand your point. So for Map visualization, IBM Cognos have to access to api.mapbox.com to get map? 
    Can you give me any architecture when IBM Cognos connect to Mapbox?

    Is that require IBM Cognos Server have internet to access mapbox?

    Thanks.

    Regards, Giang.



    ------------------------------
    Giang Smile
    ------------------------------



  • 7.  RE: Cognos 11 doesn't show map visualization

    Posted Tue August 14, 2018 09:08 AM
    Hi Giang,

    The server does not need to communicate with Mapbox, but the client does. The background images of the world come from Mapbox for example.

    It is explained in more detail here:
    Cognos Analytics - MapBox Usage Notes
    IBM Analytics Communities remove preview
    Cognos Analytics - MapBox Usage Notes
    When Maps are rendered in Cognos Analytics they usilize MapBox technology, which is cloud-hosted. Frequently asked questions 1- How does CA comm...
    View this on IBM Analytics Communities >


    The full documentation on maps that IBM provides is here: https://www.ibm.com/support/knowledgecenter/en/SSEP7J_11.0.0/com.ibm.swg.ba.cognos.ug_ca_dshb.doc/ca_concept_using_maps.html
    Ibm remove preview
    View this on Ibm >


    rgds,
    Reinier

    ------------------------------
    Reinier Battenberg
    ------------------------------



  • 8.  RE: Cognos 11 doesn't show map visualization

    Posted Tue August 14, 2018 11:41 PM

    Hi Rienier,
    Thanks for your reply.

    Did you see my errors in js console?
    As i understand, i only need to install Cognos and use without any configure Mapbox right?


    I don't know when i should use access token from my account?

    Here what i tested and it's worked with access token public.
    https://api.mapbox.com/v4/mapbox.emerald/page.html?access_token=pk.eyJ1IjoiZ2lhbmd0ZWNhcHJvIiwiYSI6ImNqa204b29idTI5aGYzd3A5amx6c2ZwbjIifQ.5TafFNih745RiSYG30cRSg#8/37.773/-121.226
    Emerald

    Regards, Giang.



    ------------------------------
    Giang Smile
    ------------------------------



  • 9.  RE: Cognos 11 doesn't show map visualization

    Posted Wed August 15, 2018 04:53 AM
    If that token is valid, and the error is invalid token, then the cognos javascript is somehow in error. If the errors you posted are the only errors in your javascript console, I think you can contact IBM support, because your product is not behaving as it should.

    rgsd,
    Reinier

    ------------------------------
    Reinier Battenberg
    ------------------------------



  • 10.  RE: Cognos 11 doesn't show map visualization

    Posted Wed August 15, 2018 05:21 AM
    OK Thank you.

    ------------------------------
    Giang Smile
    ------------------------------



  • 11.  RE: Cognos 11 doesn't show map visualization

    Posted Thu September 06, 2018 12:28 PM

    Giang:

    Did you solve this problem?

    I have two separate installation (11.0.11, 11.0.12) and both are having the same issue.

    Regards,
    Juan



    ------------------------------
    Juan Padilla
    ------------------------------



  • 12.  RE: Cognos 11 doesn't show map visualization

    Posted Mon September 10, 2018 01:10 AM

    Hi,
    I have found this problem.

    Missing file:  /configuration/metadata/metadata_mapbox.xml

    Check it, and copy from lastest version to your server.

    Regards, Giang.



    ------------------------------
    Giang Smile
    ------------------------------



  • 13.  RE: Cognos 11 doesn't show map visualization

    Posted Tue September 11, 2018 10:25 AM

    Thanks Giang!

    Where do you get the file?

    Regards,
    Juan

    ------------------------------
    Juan Padilla
    ------------------------------



  • 14.  RE: Cognos 11 doesn't show map visualization

    Posted Fri September 14, 2018 04:01 AM
      |   view attached
    Hi,
    You can upgrade to 11.0.12 or take my file. I copy from my server.

    Copy to ../analytics/configuration/metadata
    chmod -R 775 [file] to make sure user can get your files.

    Restart Cognos Server.



    Goodluck, Giang.

    ------------------------------
    Giang Smile
    ------------------------------

    Attachment(s)

    xml
    metadata_mapbox.xml   716 B 1 version


  • 15.  RE: Cognos 11 doesn't show map visualization

    Posted Fri September 14, 2018 02:22 PM
    Giang!

    Thank you very much!  It worked perfectly.

    Regards,
    Juan

    ------------------------------
    Juan Padilla
    ------------------------------