Bulk importing and exporting, Bulk importing – DeLorme 6 User Manual

Page 115

Advertising
background image

Working With GIS

107

To View Stationing Attributes
Hover over a line on the map that includes stationing data. Stationing values display

in the Info bar at the bottom of the map.

Bulk Importing and Exporting

Bulk Importing

This Help topic describes features that are available in XMap
GIS Editor and XMap GIS Enterprise.


XMap includes a command prompt utility that allows you to import multiple files
(from potentially different locations) into a database at one time through user-

created batch files (.bat or .cmd). You can also import entire directories of files using
the wildcard capability of command prompt. Import individual files either through

manual entry of the import commands or by referencing user created .ini files on the
command line. You can use the XMap Bulk Importer to import all file types that can

be imported with the XMap Import Wizard, except for non-spatial types that require
geocoding.
You can import files with the bulk importer through four different mechanisms:

• Enter import parameters directly into the command line
• Create a .ini file that specifies the import parameters, then reference this .ini

file in the command line

• Create a .bat or .cmd batch file that specifies the import parameters for

multiple files, then run this batch file directly in the command line

• Use a wild card entry to import all files of a like type in the same directory.

This option imports only files of the type that is specified by the wild card and
that contain spatial reference information.

Note For more information on importing parameters, see Bulk Importing
Parameters.
To Import Multiple Files Using the Command Line
All import command lines of this type begin with xmapimport in the command line.

All parameters are separated by a single space and parsed with -- on the command
line.

1. From the Start menu, point to Programs>DeLorme>XMap 6>Tools, and

then click the XMap Bulk Importer-Exporter option.

2. Type the following in the command line: xmapimport --target-server=

server

name

--target-db=

database name

--source-file=

file path

[--datum=

datum of

the file (e.g., NAD83)

--coordinate-system=

the coordinate system of the file

(e.g., SPCS)

--spcs-zone=me-w --spcs-units=surveyfeet] only needed when

spatial reference information is not specified in the file.

Advertising