Create a New CSA Project: Difference between revisions

From OCAD 12 Wiki - English
Jump to navigation Jump to search
No edit summary
No edit summary
 
(16 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Category:Client Server Architecture]][[File:Ent40px.PNG|This function is only available in the OCAD 11 Enterprise Edition.|link=https://www.ocad.com/en/products/ocad-for-cartography]]
[[Category:Client Server Architecture]][[File:Ent40px.PNG|This function is only available in the OCAD Enterprise Edition.|link=https://www.ocad.com/en/products/ocad-for-cartography]]
==Connect to the Server==
==Connect to the Server==
After the '''[[Installation of the Client Server Architecture|Installation and Setup of the Client Server Architecture (CSA)]]''', a connection to the server can be made. Click the [[File:Icon_ConnectDisconnect.PNG]] '''Connect/Disconnect''' icon in the '''Client Server''' toolbar to build up a new connection. The '''New Connection''' dialog is shown.
After the '''[[Installation of the Client Server Architecture|Installation and Setup of the Client Server Architecture (CSA)]]''', a connection to the server can be made. Click the [[File:Icon_ConnectDisconnect.PNG]] '''Load and Manage Client Server Projects''' icon in the '''Client Server''' toolbar to build up a new connection. The '''Load and Manage Client Server Projects''' dialog is shown.


The upper left side shows the connection data to the PostgreSQL server. It should be preconfigured by your administrator. The upper right side provides a login form in order to gain access to your projects. This login is personal for each user. Click the '''Connect''' button when you have entered all relevant data. If the login succeeds, a table is shown in the middle of the dialog with an overview of all available projects on the server.  
The upper left side shows the connection data to the PostgreSQL server. It should be preconfigured by your administrator. The upper right side provides a login form in order to gain access to your projects. This login is personal for each user. Click the '''Connect''' button when you have entered all relevant data. If the login succeeds the table with all availaboe projects on the server is shown in the middle of the dialog. With the button '''Manage...''' in the Project user group box you are able to manage the project users if you have the right to. For further details read the article [[Rights_Management#Server_Rights| Manage project users]]


[[File:NewConnectionDialog.PNG]]
[[File:NewConnectionDialog.PNG]]


In the lower part of the '''New Connection''' dialog there are several buttons and options:
In the lower part of the '''Load and Manage Client Server Projects''' dialog there are several buttons and options:


* '''Import mode''': The '''Import mode''' option allows to import local OCAD data into a CSA-Project. Read the '''[[Create a New CSA Project#Import Map|Import Map]]''' article for more information.
* '''Resync current open project after offline work''': The '''Resync mode''' option allows to synchronize OCAD data back into the CSA-Project. Read the '''[[Create a New CSA Project#Resync|Resync a project after offline work]]''' article for more information.
* '''Autoreload changes (5 seconds)''': With a checked '''Autoreload changes''' option, changes made by other users on the loaded CSA-Project are updated automatically every fifth second. The update happens in the background and does not become visible until the screen is refreshed.
* '''Autoreload changes (5 seconds)''': With a checked '''Autoreload changes''' option, changes made by other users on the loaded CSA-Project are updated automatically every fifth second. The update happens in the background and does not become visible until the screen is refreshed.
* '''Load selected project''': Click this button to load the selected project.
* '''Load selected project''': Click this button to load the selected project. Projects can also be loaded by double click on the project name.
* '''Clear selected project''': Click this button to clear all entries made in the database on the server.
* '''Clear selected project''': Click this button to clear all entries made in the database on the server.
* '''Delete selected project''': Click this button to delete the selected projects completely (The whole database is deleted).
* '''Delete selected project''': Click this button to delete the selected projects completely (The whole database is deleted).
* '''Create new project''': Click this button to create a new CSA-Project.
* '''Create new project''': Click this button to create a new CSA-Project.
* '''User manager''': Click this button to manage the '''[[Rights Management|Server Permissions]]'''.
* '''Project information''': Click this button to show all available information for the selected CSA-Project.
* '''Show project information''': Click this button to show all available information for the selected CSA-Project.


==Create a New Project==
==Create a New Project==
To create a new CSA-Project, you must have the necessary '''[[Rights Management|Rights]]''' to do so. A server administrator can manage all the rights. More information can be found on the '''[[Rights Management Page]]'''.
To create a new CSA-Project, you must have the necessary '''[[Rights Management|Rights]]''' to do so. A server administrator can manage all the rights. More information can be found on the '''[[Rights Management]]''' page.


# Click the '''Create new project button'''. The '''Create New Project''' dialog appears.
# Click the '''Create new project button'''. The '''Create New Project''' dialog appears.
#: [[File:CreateNewProjectDialog.PNG]]
#: [[File:CreateNewProjectDialog.PNG]]
# Enter a project name in the '''Name''' field. In the '''Ident''' field an identifier is automatically derived from the project name but can be manually adjusted, too.
# Enter a project name in the '''Project Name''' field. In the '''Project ident''' field an identifier is automatically derived from the project name but can be manually adjusted, too.
# Choose a project type in the '''Type''' dropdown list.
# Choose one '''Project type'' with the radio buttons
## '''Empty project''':Creates an empty OCAD 12 Enterprise project that has set up a real world offset and a coordinate system. Colors and Symbols are empty.
## '''Import project from existing file''':  With the mode “Import project from existing file” you can select an OCAD 12 file with an import the data. It is possible to choose what information of the file is loaded into the server project. Furthermore it is possible to choose another offset of the file to place multiple map files into an OCAD 12 Enterprise project.
## '''Use existing project as base project''': This option let you choose an already existing project from the server and creates a new project on that. Symbols, Colors and settings are copied from the existing project to the new project. Objects are not copied but linked to the newly created project. The linked objects are shown in the background and cannot be changed in the inherited project. It is possible to change the styling of the objects by editing the symbol in the inherited project and also the status hidden of the symbol will hide both, the object in the new map project and the base map object
 
===Create an '''Empty project'''===
# Choose the '''Empty project''' in the creation dialog (dialog shown above)
# Adjust the '''Map settings''' ('''[[Create a New Map#Set Scale and Coordinate System|Set Scale and Coordinate System]]''') as you are used to from local OCAD projects.
# Adjust the '''Map settings''' ('''[[Create a New Map#Set Scale and Coordinate System|Set Scale and Coordinate System]]''') as you are used to from local OCAD projects.
# Click on ''Create'' creates the project an it is shown afterwards in the available projects list


If an existing geo-referenced OCAD-File is imported ('''[[Create a New CSA Project#Import Map|Import Map]]''') later, you can leave the '''Map settings''' blank and import them with the OCAD-File.
'''Empty project''' creates an empty OCAD 12 Enterprise project that has set up a real world offset and a coordinate system. Colors and Symbols are empty.


The '''Use a base project''' option can be enabled if you want to use another CSA-Project as a template. The '''Map settings''' part of the dialog disappears and instead of that, you can choose a '''Base project''' from the dropdown list.  
===Create a project with '''Import project from existing file'''===
# Choose the '''Import project from existing file''' in the creation dialog.
#:[[File:CreateNewProjectDialogExisting.PNG]]
# Select with the check boxes what would you like to import into the project. Furthermore you can deselect the '''Import scale and offset parameter''' to shift the map if you want to.
#:[[File:CreateNewProjectDialogExisting2.PNG]]
# Click on ''Create'' creates the project an it is shown afterwards in the available projects list. This will take a while, depending on your connection speed and objects to import.


[[File:CreateNewProjectBaseProject.PNG]]
===Create a project with '''Use existing project as base project'''===
# Choose the '''Use existing project as base project''' in the creation dialog
# Select a project you would like to derive from
# Click on ''Create''


The new CSA-Project takes all map settings ('''[[Create a New Map#Set Scale and Coordinate System|Set Scale and Coordinate System]]'''), symbols and colors from the chosen project. They are copied once and are not updated if you change anything in the base project. In this case an update must be done manually.


Click the '''Create new project''' button when finished.


A new CSA-Project is created and appears in the table of the '''New Connection''' dialog. The project can be loaded by selecting it and clicking the '''Load selected project''' button.
[[File:CreateNewProjectBaseProject.PNG]]
Unless you have used a base project, symbols and colors have to be defined, which can happen either manually or by importing ('''[[Create a New CSA Project#Import Map|Import Map]]''') them from another project.
 
==Import Map==
A new created CSA-Project is still empty. To import a local OCAD-Project, follow these steps:
# Make sure that the CSA-Project is closed.
# Open the local OCAD-Project with the '''[[File#Open|Open]]''' function in the '''[[File]]''' menu.
# When the local map is loaded click the [[File:Icon_ConnectDisconnect.PNG]] '''Connect/Disconnect''' icon in the '''Client Server''' toolbar.
# The '''New Connection''' dialog appears.
# Select the SC-Project in the table in the middle of the dialog.
# Check the '''Import mode''' option.
# Click the '''Load selected project''' button.
# The map opens but it is not added to the server yet. You have the option to [[File:Icon_GenerateMapPreview.PNG]] '''[[Working on a CSA Project#Generate Map Preview|Generate a Map Preview]]''' by clicking the corresponding icon in the '''Client Server''' toolbar. This will later help to handle big projects faster and to navigate easier through the map.
# To import the map click the [[File:Icon_ImportMap.PNG]] '''Import Map''' icon in the '''Client Server''' toolbar.
# The '''Import Map''' dialog opens with the following import options:
#: [[File:ImportMapDialog.PNG]]
## '''Import all objects''': If this option is checked, all objects are imported. Otherwise only '''[[Symbol|Symbols]]''', '''[[Colors]]''', '''[[Define Spot Colors|Spot Colors]]''' and '''[[Create a New Map#Set Scale and Coordinate System|Map Settings]]''' are imported.
## '''Replace all symbols''': If this option is checked, all '''[[Symbol|Symbols]]''' in the existing CSA-Project are replaced with those in the local OCAD-Project.
## '''Replace all colors''': If this option is checked, all '''[[Colors]]''' in the existing CSA-Project are replaced with those in the local OCAD-Project.
## '''Replace all spot colors''': If this option is checked, all '''[[Define Spot Colors|Spot Colors]]''' in the existing CSA-Project are replaced with those in the local OCAD-Project.
## '''Replace scale and view parameter''': If this option is checked, the '''[[Create a New Map#Set Scale and Coordinate System|Scale and Coordinate System]]''' in the existing CSA-Project is replaced with the one in the local OCAD-Project.
# Click the '''Import''' button. The objects are copied to the server. This can take some time depending on the number of objects imported. The progress can be seen in the '''[[Graphical User Interface#Status Bar|Status Bar]]'''.
[[File:Hint.jpg]] All with an object connected '''[[Database|Database Links]]''' are imported, too.
 
==Get Objects==
After a CSA-Project was successfully created and some data (at least '''[[Symbol|Symbols]]''' and '''[[Colors]]''') exist, you are able to start working. Close all opened projects and then click the [[File:Icon_ConnectDisconnect.PNG]] '''Connect/Disconnect''' icon. The '''New Connection''' dialog opens. Select the CSA-Project, uncheck the '''Import mode''' option and click the '''Load Selected Project''' button. If you have created a '''[[Working on a CSA Project#Generate Map Preview|Map Preview]]''' during the import of a map, you will see it in the project (see picture). Otherwise the project is blank.
 
[[File:GetObjects.PNG]]
 
If a '''[[Working on a CSA Project#Generate Map Preview|Map Preview]]''' was generated, the loaded project shows a raster preview of the map which is handled as a normal raster background map and also can be hidden with the '''F10''' key or managed with the '''Manage''' command in the '''[[Background Map]]''' menu. To load objects of a certain area from the server move the map to the desired position and click the  [[File:Icon_GetObjectsFromCurrentView.PNG]] '''Get Objects from Current View''' icon in the '''Client Server''' toolbar. All objects which are in the current view are loaded from the server. If the '''Alt''' key is pressed when the [[File:Icon_GetObjectsFromCurrentView.PNG]] '''Get Objects from Current View''' icon is clicked, the '''Show Objects in Database''' dialog appears with advanced options. This dialog provides a table with all objects listed which are stored on the server.
 
[[File:ShowObjectsInDatabase.PNG]]
 
* Click the '''Get all''' button to load the objects of the entire map. The number in brackets indicates the number of objects to be loaded.
* Click the '''Get objects from current view''' button to load all objects of the current view which has the same effect as a simple click on the [[File:Icon_GetObjectsFromCurrentView.PNG]] '''Get Objects from Current View''' icon in the '''Client Server''' toolbar.
* Click the '''Get selected object''' button to load the object which is selected in the table of the dialog.
* Click the '''Load Objects from Symbol Tree''' button to load all objects with symbols which are together in a group in the symbol tree. This is especially useful if you want to load and edit for example only the roads:
: 1. The '''Load Objects from Symbol Tree''' dialog opens.
:: [[File:LoadObjectsFromSymbolTree.PNG]]
: 2. Select a group of the symbol tree (for example the group with symbols for roads) or select multiple groups with the '''Ctrl''' key pressed.
: 3. The selection of the groups can be saved. Enter a name in the '''Selection''' field on top of the dialog and click the '''Save''' button. If there are already selections saved, select it in the drop down list and click the '''Load''' button. With the '''Delete''' button the selection can be deleted.
: 4. Click the '''OK''' button when finished. The desired objects are loaded.
* Click the '''Reload database''' button to update the table of objects.






The '''Use existing project as base project''' option lets you choose an already existing project from the server and creates a new project on that. Symbols, Colors and settings are copied from the existing project to the new project. Objects are not copied but linked to the newly created project. The linked objects are shown in the background and cannot be changed in the inherited project. It is possible to change the styling of the objects by editing the symbol in the inherited project and also the status hidden of the symbol will hide both, the object in the new map project and the base map object.


'''Important''': The creator of the project is the owner of the project. He is the only one possible to load the project after creation.


----


Back to [[Server Client]]
Next page: '''[[First Loading of CSA Project]]'''<br />
Back to the '''[[Client Server Architecture]]''' page.<br />
An overview about all pages dealing with the '''[[Client Server Architecture]]''' can be found in the corresponding category (see below for the link).

Latest revision as of 11:54, 29 May 2015

This function is only available in the OCAD Enterprise Edition.

Connect to the Server

After the Installation and Setup of the Client Server Architecture (CSA), a connection to the server can be made. Click the Icon ConnectDisconnect.PNG Load and Manage Client Server Projects icon in the Client Server toolbar to build up a new connection. The Load and Manage Client Server Projects dialog is shown.

The upper left side shows the connection data to the PostgreSQL server. It should be preconfigured by your administrator. The upper right side provides a login form in order to gain access to your projects. This login is personal for each user. Click the Connect button when you have entered all relevant data. If the login succeeds the table with all availaboe projects on the server is shown in the middle of the dialog. With the button Manage... in the Project user group box you are able to manage the project users if you have the right to. For further details read the article Manage project users

NewConnectionDialog.PNG

In the lower part of the Load and Manage Client Server Projects dialog there are several buttons and options:

  • Resync current open project after offline work: The Resync mode option allows to synchronize OCAD data back into the CSA-Project. Read the Resync a project after offline work article for more information.
  • Autoreload changes (5 seconds): With a checked Autoreload changes option, changes made by other users on the loaded CSA-Project are updated automatically every fifth second. The update happens in the background and does not become visible until the screen is refreshed.
  • Load selected project: Click this button to load the selected project. Projects can also be loaded by double click on the project name.
  • Clear selected project: Click this button to clear all entries made in the database on the server.
  • Delete selected project: Click this button to delete the selected projects completely (The whole database is deleted).
  • Create new project: Click this button to create a new CSA-Project.
  • Project information: Click this button to show all available information for the selected CSA-Project.

Create a New Project

To create a new CSA-Project, you must have the necessary Rights to do so. A server administrator can manage all the rights. More information can be found on the Rights Management page.

  1. Click the Create new project button. The Create New Project dialog appears.
    CreateNewProjectDialog.PNG
  2. Enter a project name in the Project Name field. In the Project ident field an identifier is automatically derived from the project name but can be manually adjusted, too.
  3. Choose one 'Project type with the radio buttons
    1. Empty project:Creates an empty OCAD 12 Enterprise project that has set up a real world offset and a coordinate system. Colors and Symbols are empty.
    2. Import project from existing file: With the mode “Import project from existing file” you can select an OCAD 12 file with an import the data. It is possible to choose what information of the file is loaded into the server project. Furthermore it is possible to choose another offset of the file to place multiple map files into an OCAD 12 Enterprise project.
    3. Use existing project as base project: This option let you choose an already existing project from the server and creates a new project on that. Symbols, Colors and settings are copied from the existing project to the new project. Objects are not copied but linked to the newly created project. The linked objects are shown in the background and cannot be changed in the inherited project. It is possible to change the styling of the objects by editing the symbol in the inherited project and also the status hidden of the symbol will hide both, the object in the new map project and the base map object

Create an Empty project

  1. Choose the Empty project in the creation dialog (dialog shown above)
  2. Adjust the Map settings (Set Scale and Coordinate System) as you are used to from local OCAD projects.
  3. Click on Create creates the project an it is shown afterwards in the available projects list

Empty project creates an empty OCAD 12 Enterprise project that has set up a real world offset and a coordinate system. Colors and Symbols are empty.

Create a project with Import project from existing file

  1. Choose the Import project from existing file in the creation dialog.
    CreateNewProjectDialogExisting.PNG
  2. Select with the check boxes what would you like to import into the project. Furthermore you can deselect the Import scale and offset parameter to shift the map if you want to.
    CreateNewProjectDialogExisting2.PNG
  3. Click on Create creates the project an it is shown afterwards in the available projects list. This will take a while, depending on your connection speed and objects to import.

Create a project with Use existing project as base project

  1. Choose the Use existing project as base project in the creation dialog
  2. Select a project you would like to derive from
  3. Click on Create


CreateNewProjectBaseProject.PNG


The Use existing project as base project option lets you choose an already existing project from the server and creates a new project on that. Symbols, Colors and settings are copied from the existing project to the new project. Objects are not copied but linked to the newly created project. The linked objects are shown in the background and cannot be changed in the inherited project. It is possible to change the styling of the objects by editing the symbol in the inherited project and also the status hidden of the symbol will hide both, the object in the new map project and the base map object.

Important: The creator of the project is the owner of the project. He is the only one possible to load the project after creation.


Next page: First Loading of CSA Project
Back to the Client Server Architecture page.
An overview about all pages dealing with the Client Server Architecture can be found in the corresponding category (see below for the link).