Error 2 Activating the Map Type Display in DIAdem

Updated Jul 31, 2024

Reported In

Software

  • DIAdem

Operating System

  • Windows
  • Mac OS X

Issue Details

I get an error message in DIAdem when trying to activate the Map type display. The error occurs when I attempt to open cached Open Street Map data in DIAdem VIEW while working in an offline environment, where the map was cached for synchronization. 
 
Error when generating the directory "MAP Cache\".
Operating system error: "2"
The operation was terminated or only partially performed


image.png

Solution

When the Map type activation process runs, DIAdem searches the CachePath \Examples\Documents\MapCache\ specified during the Map Display configuration.  

If an error pop-up window appears indicating a problem generating the file's directory, go to the Settings window within DIAdem and Verify that the file path is correctly specified and has not been removed. 

This should resolve the issue by ensuring that DIAdem can locate the necessary files in the specified directory. 

Additional Information

You can refer to Configuring a Map Display  to see the steps of loading the geographical data and displaying the data in a map section.