Standard Map visualization does not work after having installed Heatmap plugin — Oracle Analytics

Oracle Analytics Cloud and Server

Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture

Standard Map visualization does not work after having installed Heatmap plugin

Received Response
64
Views
4
Comments

Summary

Standard Map visualization does not work after having installed Heatmap plugin

Content

Hi experts,

I installed the Heatmap plugin and followed the instructions included:

Deploy steps:

1) Download the plugin. Plugin is a self contained zip file with all necessary setup files

2) Copy the zip file as-is in %LOCALAPPDATA%\DVDesktop\plugins (create folder if it doesn't exist)

3) Edit \war\va\WEB-INF\quickstart-web.xml. Modify oracle.bi.tech.contentSecurityPolicy parameter. Add 'maps.googleapis.com:*' (without quotes) under 'script-src'.

e.g. script-src 'self' 'unsafe-inline' 'unsafe-eval' *.@requestDomain@:*@sawServerHost@:* maps.us.oracle.com:* elocation.oracle.com:* maps.googleapis.com:* ;

The new visualization Heatmap works fine with Google maps and Oracle maps as you can see below:

The problem is when using the standard Map visualization it renders an error: Unable to Display Map - Invalid Data. Map layer not found for this data.

I tried several things, like removing the plugin, restoring the original quickstart-web.xml file, but nothing works. Please advise how to fix this issue. Also, where I can find what is the problem with DVD that can not render properly the map, in other words how to troubleshoot any initialization/visualization errors.

Thank you,

Jose

Answers

  • Jose J Valencia
    Jose J Valencia Rank 3 - Community Apprentice

    Hi Joseph,

    Thanks for your quick answer. I'm using the Sample Project provided from the download page of DVD (http://www.oracle.com/technetwork/topics/virtualization/whatsnew/sample-project-2998542.zip ), see below screenshot in a side by side visualizations MAP v TABLE of the same fields.

    This is not the only visualization failing, anyone using the default MAP visualization fails.

    Perhaps the plugin was a coincidence but the question is: what makes DVD to not render properly anymore a MAP visualization? and How to troubleshoot and fix this?

    Please advise.

    Jose

  • Joseph Kuttikat-Oracle
    Joseph Kuttikat-Oracle Rank 3 - Community Apprentice

    Hi Jose,

    Do you mind posting or emailing me that dva project? Pls remove any sensitive data. But keep enough to reproduce the prob.

    I can take a look and get back. It is unlikely that heatmap plugin is causing the issue. I've the plugin deployed on my DV and I dont see the issue you describe.

    Meanwhile, you may look at that data in a table (just switch that view to table) and verify if country column contains valid values.

    Regards

    Joseph

  • Jose J Valencia
    Jose J Valencia Rank 3 - Community Apprentice

    Hi Joseph,

    This is what I have done for trying to correct this issue:

    1. Close DVD

    2. Backed up first and then Deleted folder C:\Users\<username>AppData\Local\Temp\DVDesktop

    3. Start DVD

    4. It rebuilds the ...\Temp\DVDDesktop

    5. I can open the Sample project without error. However, it shows a white space instead of the map, I have to adjust the Properties of the visualization and then it redraws the map properly. Or even making a copy of the visualization it displays it correctly.

    However, once I use the Headmap plugin and try to open another project that uses Location Name or Region with the standard Map visualization, it triggers an error: We've encountered an unexpected error. If the issue persists, please contact support.  To bypass this error I have to clear all my computer temp files, delete the C:\Users\<username>AppData\Local\Temp\DVDesktop folder  and rebooted. After these steps, Map visualizations seems working fine until I use the Headmap visualization again. Please advice.

    Thank you,

    Jose

  • Joseph Kuttikat-Oracle
    Joseph Kuttikat-Oracle Rank 3 - Community Apprentice

    Map layers are saved under the folder path : C:\Users\<username>AppData\Local\Temp\DVDesktop\config\fmwconfig\biconfig\catalogs\oraclemaps_pub

    It looks like some of the files under that got corrupted or went missing? Also it will be interesting to see if issue is happening only for countries or for others as well - like cities, states, continents.

    Is it possible for you to reinstall DV Desktop and check? i.e uninstall DVD, Clear the AppData folder (back it up if required) and reinstall. Make sure to take back up of your projects and data.

    -Joseph