HOW TO

APPEND or MAPJOIN all coverages in a workspace without typing the coverage names

Last Published: April 25, 2020

Summary

When you need to combine all the coverages in a workspace, with APPEND or MAPJOIN, you can avoid typing each coverage name by using the [LISTFILE] function to create an ASCII file that lists the coverage names. You can use this ASCII file as input to the APPEND or MAPJOIN command.

Procedure

This article uses an example of appending three point coverages.

  1. Use the [LISTFILE] function to create the ASCII file that lists the coverages in your workspace. In this example, covlist.txt is the ASCII file.

    Code:
    Arc: &ty [listfile * -cover covlist.txt]

  2. Run the APPEND command and provide the name of the ASCII file with the following syntax when prompted to enter the first coverage name.

    Code:
    Arc: append outcov
    Enter Coverages to be APPENDed (Type END or a blank line when done):
    =======================================

    Enter the 1st coverage: &run covlist.txt
    Enter the 4th coverage:
    Done entering coverage names (Y/N)? y
    Do you wish to use the above coverages (Y/N)? y

    Appending coverages...

  3. Delete the ASCII file, if you wish.

    Code:
    Arc: &ty [delete covlist.txt -file]

Article ID:000004878

Software:
  • Legacy Products

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic