GIS ObjectLand. User Manual
previouscontentsnext / GIS and GDB / Chapter 2. ObjectLand installation and start / ObjectLand start

Command line parameters

Command line of execution of Objland.exe file may contain a set of parameters determining the execution mode.

Every parameter is a string (parameter name) before which there should be a separating character “/” or “-“. The order of parameters in the command line is of no importance. The character case of the parameter name does not make any difference either. For example, variants of writing the parameter “/Debug”, “/debug” and “-DEBUG” are equal. For some parameters a value separated from the parameter name by characters “=” or “:” may be assigned.

Open mode

Letter

With the presence of the letter

With the absence of the letter

S

shared access

exclusive access

R

read only access

read/write access

F

change file is used

without change file

Table 2-1. Assigning an open mode by using GdbOpenMode parameter

Any other characters in the string, except for the ones enumerated in the table, are not taken into account. If GdbOpenMode parameter is absent, GDB open mode is determined by ObjectLand settings.

In the next example all the parameters described above are used. It is supposed that the current folder is “Program files\ObjectLand\BIN” folder where all the main system program files are usually located.

objland /debug /GdbPath=”..\Demo\City.gdb” /GdbOpenMode=F

This command will start ObjectLand, open GDB “City” in the mode of exclusive access with permissions to read and write, using the change file, and if an error is detected, will give detailed debugging information. Quotation marks around the path to GDB file in this case are not necessary (since there are no spaces) but they are not prohibited.

previoustopnext