User Data
<< Click to Display Table of Contents >> Navigation: JMap Server Management > User Data |
JMap application users can generate certain data that will be stored in the JMap Server environment.
This can include various types of data, including user preferences (choice of units, print settings, etc.), map contexts (JMap Pro and JMap Web) and customized print layouts.
Map context data is stored in JSON format in the JMAP_CONTEXTS table of the System database.
Non-context data is stored in separate folders for each user. The parent folder of these user folders is
(JMap_Home)\workspaces\<username>
Note that this folder can have a different location if you indicate a different folder in the server.workspaces.path line of the jmapserver.properties file and manually copy the files and subfolders.
In some cases, the administrator may have to copy certain files when a migration occurs or when these files need to be shared with other users. The following sections describe each of these situations in detail.
Note that the functions to export and import JMap configurations also handle user data.
Contexts
Map contexts are comprised of all the parameters that allow a JMap Pro or JMap Web user to recreate a geographic map. Contexts can be used to save maps and even share them between users. Existing contexts can be recalled easily to recreate a map environment. All layer parameters, annotations, thematics, selections, etc. are part of the context and are recreated when the context is opened.
A context is associated with the project in which it was created. It cannot be accessed in other projects.
Personal Layers
The Personal Layers section provides more information on managing personal layers and how to make them public. The data from personal layers is not stored in the workspaces folder; instead, it is saved directly in JMap Server's System database (one table per personal layer).
Export and import tools can handle the data of personal layers.
JMap Spatial Tables
As with personal layers, the data from editable layers of JMap projects is stored directly in JMap Server's System database, in tables that are called JMap Spatial tables.
Export and import tools can handle the data from JMap Spatial tables.
Print Layouts
The users of JMap Pro applications can create their own print layouts. The files are stored in the folder
(JMap_Home)\workspaces\<username>\printLayouts
The print layouts created by users can be made public. To do this, you must copy the files in the following directory:
JMap_Home)\workspaces\public\printLayouts.
Public print layouts can be accessed by all JMap Pro users.