The Atlas command

Atlas Command is a stand–alone executable that is used for printing and exporting map documents (.mxd files) or map sheets and map series.

When using the List, Count, Export, or Print commands, you can specify multiple map documents to process in the same command preceding each map document with/mxd: and separating each document with a space, as in the following example:

Atlas /export:layout /mxd:"C:\Documents and Settings\Test\Desktop\Doc70.mxd" /mxd:"C:\Documents and Settings\Test\Desktop\Test.mxd" 
Atlas.exe command parameters and options

Parameter

Function

Options

Format

Associated command

help

Displays Atlas Command format and parameter options

/?

List

Lists map sheets or map series

  • Mapseries—Lists only the map series
  • Mapsheets—Lists only the map sheets
  • All—Lists all map series and map sheets
  • Blank—Same as All

/list:<option> or --list:<option>

Count

Outputs count of map sheets or map series

  • Mapseries—Returns the total number of map series
  • Mapsheets—Returns the total number of map sheets
  • All—Returns counts of all map documents, map series, and mapsheets
  • Blank—Same as All

/count:<option> or --count:<option>

Export

Exports map sheets

  • Layout—Exports the layout of the map document
  • <StartingNumber>-<EndingNumber>—Exports the map sheets in the first map series from the <StartingNumber> to the <EndingNumber>
  • <String>:<StartingNumber>-<EndingNumber>—Exports the map sheets in the map series <String> from <StartingNumber> to <EndingNumber>
  • <String>:all—Exports all the map sheets in the map series <String>
  • All—exports all the map sheets in all the map series
  • Blank—Exports all the map sheets in all the map series (same as All)
  • <MapSeriesNumber>:<StartingNumber>-<EndingNumber>—Exports the map sheets from the specified map series at <MapSeriesNumber> from the <StartingNumber> to the <EndingNumber>

/export:<options> or --export:<options>

exporter

Used with /export or --export to set the type of export

  • JPG-/jpgquality:<Number>-Number from 1 to 100, with 1 being lowest, 100 being highest, and the default of 100.
  • PDF
    • /colormodel:<String>CMYK or RGB
    • /georef:<String>True or False
  • TIF
  • EPS
    • /colormodel:<String>CMYK or RGB
  • BMP
  • SepTIF (separated tiff)-/ect:<path/ect file>
注意注意:

An .ect file is required for the SepTIF option. It is the file used to save the color definitions that will be exported. It must be created using the Separated tiff exporter before it can be used with this executable. Multiple files are exported for each page, so each page is named with the map series, map sheet, and/or page number as they are outputted.

/exporter:<exporter> or --exporter:<exporter>

Export

dpi

Used with /export or --export to set the dpi resolution of the export

The number of dots per inch. Values can be between 1 and 3600. The default is 300.

/dpi:<Resolution>

Export

export path

Used with /export or --export to set where the map sheets are going to be exported to

  • The name for an exported file is "MxdName-Map Series Name-Map Sheet Page Number-Map Sheet Name.ext"
  • The name for a layout is "MxdName.ext"

/exportpath:<Path>

Export

Export and print output image quality (oiq)

Used to set output image quality

Integer from 1 to 5, with 1 being the highest quality, and 5 being the lowest. Defaults to 1 if not specified.

/oiq:<Output Image Quality>

Export Print

Print

Prints map sheets

  • Layout—Prints the layout only
  • <StartingNumber>-<EndingNumber>—Prints the map sheets in the first map series from the <StartingNumber> to the <EndingNumber>
  • <String>:<StartingNumber>-<EndingNumber>—Prints the map sheets in the map series <String> from <StartingNumber> to <EndingNumber>
  • <String>:all—Prints all the map sheets in the map series <String>
  • All—Prints all the map sheets in all the map series
  • Blank—Prints all the map sheets in the map series (same as All)
  • <MapSeriesNumber>:<StartingNumber>-<EndingNumber>—Prints the map sheets from the specified map series at <MapSeriesNumber> from the <StartingNumber> to the <EndingNumber>

/print:<option> or --print:<option>

printer

Used with /print or --print for setting the printer to be used

Printer path

/printer:<pathtoprinter> or --printer:<pathtoprinter>

Print

paper size

Used to specify the paper size from a list of standard paper size names

  • Width
  • Height

/pagesize:<Width>x<Height> or --pagesize:<Width>x<Height>

Print

units

Used to specify page units

  • Inches
  • Cm

Defaults to inches if a value is not specified.

/units:<Inches | Cm>

Print

orientation

Used to set document orientation

  • Portrait
  • Landscape

Defaults to Portrait if an option is not specified.

/orientation:<Portrait |Landscape>

Print

Atlas command parameters and options

The parameters described above are used in the Atlas executable to define listing, counting, exporting, and printing options:

C:\Program Files\ESRIProductionMapping\Desktop10.0\Bin>Atlas /?
/mxd:<map document> or --mxd:<map document>
/list:<option> or --list:<option>
  mapseries
  mapsheets
  all
/count:<option> or --count:<option>
  mapseries
  mapsheets
  all
/export:<option> or --export:<option>
  layout
  all
  <starting number>-<ending number>
  <map series>:<starting number>-<ending number>
  <map series name>:all
  <map series number>:<starting number>-<ending number>
/exporter:<exporter> or --exporter:<exporter>
  JPG
    /jpgquality:<1 - 100>
  PDF
    /colormodel:<RGB, CMYK>
  TIF
  EPS
  BMP
  SepTIF
    /ect:<path/ect file>
  /oiq:<1 - 5>
  /dpi:<Resolution>
  /exportpath:<Path>
/print:<option> or --print:<option>
  layout
  all
  <starting number>-<ending number>
  <map series>:<starting number>-<ending number>
  <map series name>:all
  <map series number>:<starting number>-<ending number>
  /printer:<path to printer> or --printer:<path to printer>
  /papersize:<width>x<height> or --papersize:<width>x<height>
  /units:<inches, cm>
  /orientation:<portrait, landscape>
  /oiq:<1 - 5>
C:\Program Files\ESRIProductionMapping\Desktop10.0\Bin>

Every map document you want to process must be listed separately using the following format followed by a space at the end:

/mxd:"C:\...MapDocument.mxd...\" or --mxd:"C:\...MapDocument.mxd"

10/2/2010