English

How To: Define a .DES INFO file for ARCDFAD input coverages

Summary

A description of the .DES INFO file and its item definitions for ARCDFAD conversion.

Procedure

The .DES file must contain the following items:

ITEM NAME        WIDTH OUTPUT  TYPE
-----------------------------------
IDENTIFIER 20 20 C
VALUE 30 30 C

The item values for each of these items are specific for DFAD data. The IDENTIFIER field will contain certain item values. The VALUE field may or may not be populated for a given record. Here is an example .DES file:

Record  IDENTIFIER           VALUE
1 LEVEL 5
2 WAGNUMBER 405
3 WAG200CELL 22
4 WAG50CELL 14
5 SECURITY U
6 SECCONTROL DS
7 SECDESC LIMITED DISTRIBUTION
8 SERIES DFADB
9 DATASETREF G18 013
10 EDITION 01
11 MATCHMERGE A
12 MAINTDATE
13 MATCHMERGEDATE
14 MAINTDESC
15 PRODUCER
16 PRODSPECSN
17 PRODSPECAMEND
18 PRODSPECDATE
19 HDATUMCODE WGS84
20 DIGCOLLECT
21 COMPDATE
22 HDATUMSOURCE
23 OLDESTSOURCE
24 NEWESTSOURCE
25 ABSHACC 0
26 RELHACC 0
27 VHEIGHTACC 0

An Appropriate values for the remaining items must be determined from the DFAD format specifications. See Related Information to find out how to obtain those specifications.

You could use AML to automate the creation of the .DES file.

/* NAME: DES.AML
/*
/* USAGE: &RUN DES.AML
/*
/* NOTES:
/*
/* The output value for the VALUE item of the .DES must be
/* edited to contain the correct values for the user's input
/* data area.
/*
/* Run this AML from the Arc prompt.
/* Run this AML from a directory that is NOT the workspace
/* directory that will be converted with ARCDFAD
/*
/* This is not an ESRI supported AML. Please use at your own risk.
/* Also, please make a backup of your data before running this AML
/* and carefully check the output. This is just a skeleton AML with
/* no real error checking. It is meant only as a guide to developing an
/* AML specific to your data inputs and desired outputs.

&args worksp incov
&sv orig_work = [show &workspace]
&workspace %worksp%
&if ^ [exist %incov% -cover] &then
&type Coverage %incov% not found.
&else
&do
tables
define %incov%.des
identifier,20,20,c
value,30,30,c
~
select %incov%.des
add
'LEVEL'
'5'
'WAGNUMBER'
'405'
'WAG200CELL'
'22'
'WAG50CELL'
'14'
'SECURITY'
'U'
'SECCONTROL'
'DS'
'SECDESC'
'LIMITED DISTRIBUTION'
'SERIES'
'DFADB'
'DATASETREF'
'G18 013'
'EDITION'
'01'
'MATCHMERGE'
'A'
'MAINTDATE'
~
'MATCHMERGEDATE'
~
'MAINTDESC'
~
'PRODUCER'
~
'PRODSPECSN'
~
'PRODSPECAMEND'
~
'PRODSPECDATE'
~
'HDATUMCODE'
'WGS84'
'DIGCOLLECT'
~
'COMPDATE'
~
'HDATUMSOURCE'
~
'OLDESTSOURCE'
~
'NEWESTSOURCE'
~
'ABSHACC'
~
'RELHACC'
~
'VHEIGHTACC'
~
~
~
~
quit
&end
&workspace %orig_work%
&return



Note:
The ArcInfo DFAD translator supports DFAD levels 1, 2, 1-C, and 3-C only. Check with your data provider to determine what DFAD level you have.

Related Information