GeoView Server command-line tool provides following project management functionality:
Command |
Operation |
Parameter(s) |
Description |
-projects |
-list |
Displays list of all existing projects in a data store. |
|
-add |
-name |
Unique project's name in the data store. This parameter is mandatory. |
|
-path |
Absolute or relative file path to project's folder. This parameter is optional. |
||
-location |
Geographical or descriptive location of a project. This parameter is optional. |
||
-description |
Description associated to the project. This parameter is optional. |
||
-contactperson |
First and last name of the person responsible for this project. This parameter is optional. |
||
-contactphone |
Phone number of the person responsible for this project. This parameter is optional. |
||
-contactemail |
E-mail address of the person responsible for this project. This parameter is optional. |
||
-datestart |
Start date of the project. This parameter is optional. Date is being set using following format: "YYYY-MM-DD" |
||
-dateend |
End date of the project. This parameter is optional. Date is being set using following format: "YYYY-MM-DD" |
||
-remove |
-name |
Removes existing project from data store given project name. |
|
-adduser |
-name |
Name of the project to associate existing user to. |
|
-username |
Name of the user to associate to specified project. |
||
-removeuser |
-name |
Name of the project to remove existing user from. |
|
-username |
Name of the user to remove from specified project. |
List Existing Projects
Displays list of all existing projects in a data store:
vsb_geo_cmd -projects -list
Add New Project
Adds new project (named "Demo project") to the data store:
vsb_geo_cmd -projects -add -name:"Demo project"
Adds new project (named "Demo project") to the data store, using specified project path and start date:
vsb_geo_cmd -projects -add -name:"Demo project" -path:"D:\Projects\Demo project" -datestart:"2017-04-11"
Please note following:
Remove Existing Project
Removes existing project from data store, for example:
vsb_geo_cmd -projects -remove -name:"Demo project"
Associate User To Existing Project
Associates specified user to existing project:
vsb_geo_cmd -projects -adduser -name:"Demo Project" -username:"demo"
Remove Associated User From Project
Removes already associated user from specified project:
vsb_geo_cmd -projects -removeuser -name:"Demo Project" -username:"demo"