DeLorme 6 User Manual

Page 116

Advertising
background image

XMap User Guide

108

Notes

• The coordinate information varies depending on the type of coordinate

system you specify (for example, if you select SPCS, you must also
specify the SPCS zone and units).

• If you created the server on your local machine, type localhost\xmap6

(or localhost\delormemapping if the server was created in a previous

version of XMap). If you are connecting to an "external" server, see
your Database Administrator to obtain the server name information.

3. Press the ENTER key on your keyboard.

A confirmation message displays after the file is imported; the message
includes the file name, number of geometries, and the time it took for the file

to import.

4. Add the layer to your workspace.

To Import Files Creating an .ini File
This option works on a single file or wild card basis using the parameters described in
previous sections. You can create the initialization file (.ini) using a text editor such
as Notepad or Wordpad. All parameters are separated by a return in the .ini file. The

name and path of the .ini file are referenced in the command line.

1. Open your preferred text editing program, such as Wordpad or Notepad.
2. Type the following parameters in the text document:

target-server=

server name

target-db=

database name

source-file=

file path

datum=

the datum of the file

coordinate-system=

the coordinate system of the file

Note The coordinate information varies depending on the type of coordinate

system you specify (for example, if you select SPCS, you will also need to
specify the SPCS zone and units).

3. Save the text document with an .ini extension (rather than a .txt extension).
4. From the Start menu, point to Programs>DeLorme>XMap 6>Tools, and

then click the XMap Bulk Importer-Exporter option.

5. Type the following parameters in the command line: xmapimport

the path to

the .ini file you created in steps 1-3

.

6. Press the ENTER key on your keyboard.

A confirmation message displays after the file is imported; the message

includes the file name, number of geometries, and the time it took for the file
to import (in days, hours, minutes, and seconds).

7. Add the layer to your workspace.

To Import Files Creating a Batch File
This option allows you to automate several iterations of import with a user-created
batch file. You can create batch files with a text editor such as Notepad or Wordpad.

Each line of the batch file pertains to a single import command line and contains the
same parameters as would be specified with manual entry in the command line. You

can import multiple file types located in different folders into different OpenSpace
databases using the automated method.

1. Open your preferred text editing program, such as Wordpad or Notepad.

Advertising