The control file for TriangulateTin specifies metadata, and point values to represent a TIN. Within this file, arguments recognized at the command line can be put directly into the file. Note that arguments specified at the command line will override a duplicated argument in this file. Similar to the command line, arguments in this file are case-insensitive. Additionally, the first line in the file is the title of the image, which can be left empty if no title is required.

Below is a basic example, where the point name, coordinates, measurement value and gage type are all specified in SHG projection. Note that GageType is optional, and the default delimiter for the data is any whitespace. The third example below shows how the parse delimiter can be altered, how to comment out any lines using the hashtag (#) or semicolon (;), and how to add an optional TIN title in the first line of the control file.

 
stime:01may2008,000000
etime:01may2008,120000
units:inches
label:rain
parseorder:Label	X	Y	Measurement	GageType
projection:PROJCS["Albers_Equal_Area",GEOGCS["WGS84",DATUM["WGS84",SPHEROID["WGS84",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Albers"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-96.0],PARAMETER["Standard_Parallel_1",29.5],PARAMETER["Standard_Parallel_2",45.5],PARAMETER["Latitude_Of_Origin",23.0],UNIT["m",1.0]]

FULT	201469.5805	1.17E+06	0	1
HUDS	71845.9449	1.46E+06	0	1
HALL	-57358.68475	1.46E+06	0	1
ARLI	-190572.6276	1.65E+06	1.8	1
HASK	31864.01354	1.42E+06	0	1
DURC	-112122.2906	1.72E+06	0.6	1

Below is an example of a TriangulateTin control file using a Lambert projection, which is contained in a file, as opposed to being written directly in the example.

 
stime:01may2008,000000
etime:01may2008,120000
units:inches
label:rain
parseorder:Label	X	Y	Measurement	GageType
projection:C:\HEC-MetVue\Lambert.prj

FULT	1.11E+05	961314.3415	0	1
HUDS	-1.77E+04	1257231.806	0	1
HALL	-1.50E+05	1256587.249	0	1
ARLI	-2.87E+05	1449957.054	1.8	1
HASK	-5.92E+04	1211039.886	0	1
DURC	-2.06E+05	1518580.061	0.6	1

Below is an example of a TriangulateTin control file using a different parse delimiter, commented out lines, and an optionally specified TIN title.

Precipitation from 2021-09-21 07:00 to 2021-09-23 07:00 (GMT)
stime:21Sep2021,070000
etime:23Sep2021,070000
units:inches
label:rain
parsedelim:;
parseorder:label;y;x;Measurement;GageType
projection:./WGS 1984.prj

#Source Gages
NMLN19;33.5531;-105.1878;2.48;5
WEHT2;32.9258;-102.1322;1.60;5
#WEHT2;32.9258;-102.1322;1.60;5
TXAG03;31.3033;-94.7628;1.56;5
;MAYN5;32.9097;-105.4697;1.45;5
BZRT2;29.1417;-95.2917;1.43;5
EMCT2;29.2181;-96.2908;1.42;5