(form "00904" (size 72 21)
  (heading "LAT/LONG TO TRANSVERSE MERCATOR TRANSFORMATION")


  (label (position  2  3) (foreground (user_option "form_text_highlight"))
    (text "Define the Input Files" ))
  (label (position  2  4) (text "Location" ))
  (label (position  2  5) (text "ID Range" ))
  (label (position  2  6) (foreground (user_option "form_text_highlight"))
    (text "Define the Output Files" ))
  (label (position  2  7) (text "Location"))

  (label (position  2  9) (foreground (user_option "form_text_highlight"))
    (text "Define Geodetic Coordinate System"))

  (label (position  40  3) (foreground (user_option "form_text_highlight"))
    (text "Define String File Format"))


  (label (position 2 10) (text "TM Map"))
  (label (position 2 11) (text "Datum"))
  (label (position 2 12) (text "Spheroid"))
  
  (label (position 4 14) (text "False Easting"))
  (label (position 4 15) (text "False Northing"))
  (label (position 4 16) (text "Central Scale Factor"))
  (label (position 4 17) (text "Zone Width"))
  (label (position 4 18) (text "Zone 1 CM"))

  (label (position 40 5) (text "Long/Lat Units"))
   
  (label (position 40 6) (text "North Positive"))
  (label (position 56 6) (text "East Positive"))

  
  (label (position 40  8)  (foreground (user_option "form_text_highlight"))
                           (text "Input Fields"))
  (label (position 40 10) (text "Lat"))

  (label (position 40 11) (text "Long"))

 
  (label (position 40 13)  (foreground (user_option "form_text_highlight"))
                           (text "Output Fields"))
  (label (position 40 15) (text "TM"))
  (label (position 44 14) (text "TM Zone"))
  (label (position 53 14) (text "Northing"))
  (label (position 62 14) (text "Easting"))

 
  (field "in_location" (position 10  4) (display_length 26) (input allowed)
    (null allowed) (max_length 26)
    (file (link "in_id_range") (extension "*.str"))
    )

  (field "in_id_range" (position 10  5) (display_length 16) (input allowed)
    (translate upper) (format range) (null disallowed) (max_length 16)
    (help (field "in_location")))

  (field "out_location" (position 10  7) (display_length 26) (input allowed)
    (null allowed) (max_length 26)
    (file output (extension "*.str, *.obs"))
    )


   (field "tm_map" (position 9  10) (display_length 26) (input allowed)
    (null disallowed)
    (max_length 60)
    )
    

   (field "input_datum" (position 9 11) (display_length 26) 
       (background (user_option "form_background"))
       (input disallowed)
       (max_length 60))

   (field "spheroid" (position 9 12) (display_length 26)
       (input allowed)
       (null allowed)
       (max_length 60)
       )



   (field "false_easting" (position 19 14) (display_length 12) (input allowed)
      (max_length 20) (format real_8) (decimals 6)
      )
   (field "false_northing" (position 19 15) (display_length 12) (input allowed)
      (max_length 20) (format real_8) (decimals 6)
      (help (field "false_easting")))
   (field "scale_factor" (position 19 16) (display_length 12) (input allowed)
      (max_length 20) (format real_8) (decimals 6)
      (help (field "false_easting")))
   (field "zone_width" (position 19 17) (display_length 3) (input allowed)
      (max_length 23) (format real_8) (decimals 6)
      (help (field "false_easting")))
   (field "z1_cm" (position 19 18) (display_length 3) (input allowed)
      (max_length 23) (format real_8) (decimals 6)
      (help (field "false_easting")))

                     
   (field "ll_format" (position 53 5) (display_length 16) (max_length 20) (translate lower) 
       (input allowed)  
       (value_in "dms (deg,min,sec)" "degrees" "radians" "degrees, minutes") 
       (default "dms (deg,min,sec)")
       )

   (field "north_pos" (position 51 6) (display_length 1) (max_length 1) (translate upper)
       (input allowed) 
       (value_in "Y" "N") 
       (default "Y")
       )   
   (field "east_pos" (position 66 6) (display_length 1) (max_length 1) (translate upper)
       (input allowed) 
       (value_in "Y" "N") 
       (default "Y")
       )   


    
  (field "deg_label" (position 44  9) (display_length 4)
      (foreground (user_option "form_text"))
      (background (user_option "form_background"))
      (input disallowed) (default "STR_DEG"))
      

  (field "min_label" (position 53  9) (display_length 4)
      (foreground (user_option "form_text"))
      (background (user_option "form_background"))
      (input disallowed) (default "Min"))

  (field "sec_label" (position 62  9) (display_length 4)
      (foreground (user_option "form_text"))
      (background (user_option "form_background"))
      (input disallowed) (default "Sec"))

  (field "lat_deg" (position 44  10) (display_length  4) 
            (input allowed) (translate upper) (default "Y") (null disallowed)
            (max_length 6)
            (value_in "Y" "X" "Z" "D1" "D2" "D3" "D4" "D5" "D6" "D7" "D8" "D9" 
                      "D10" "D11" "D12" "D13" "D14" "D15" 
                      "D16" "D17" "D18" "D19" "D20" "D21" "D22" "D23" "D24" 
                      "D25" "D26" "D27" "D28" "D29" "D30" "D31" "D32"
                      "D33" "D34" "D35" "D36" "D37" "D38" "D39" "D40" "D41" 
                      "D42" "D43" "D44" "D45" "D46" "D47" "D48" "D49"
                      "D50" "D51" "D52" "D53" "D54" "D55" "D56" "D57" "D58" 
                      "D59" "D60" "D61" "D62" "D63" "D64" "D65" "D66"
                      "D67" "D68" "D69" "D70" "D71" "D72" "D73" "D74" "D75" 
                      "D76" "D77" "D78" "D79" "D80" "D81" "D82" "D83"
                      "D84" "D85" "D86" "D87" "D88" "D89" "D90" "D91" "D92" 
                      "D93" "D94" "D95" "D96" "D97" "D98" "D99" "D100")
    )


  (field "lat_min" (position 53  10) (display_length  4) 
            (input allowed) (translate upper) (default "X") (null disallowed)
            (max_length 6)
            (value_in "Y" "X" "Z" "D1" "D2" "D3" "D4" "D5" "D6" "D7" "D8" "D9" 
                      "D10" "D11" "D12" "D13" "D14" "D15" 
                      "D16" "D17" "D18" "D19" "D20" "D21" "D22" "D23" "D24" 
                      "D25" "D26" "D27" "D28" "D29" "D30" "D31" "D32"
                      "D33" "D34" "D35" "D36" "D37" "D38" "D39" "D40" "D41" 
                      "D42" "D43" "D44" "D45" "D46" "D47" "D48" "D49"
                      "D50" "D51" "D52" "D53" "D54" "D55" "D56" "D57" "D58" 
                      "D59" "D60" "D61" "D62" "D63" "D64" "D65" "D66"
                      "D67" "D68" "D69" "D70" "D71" "D72" "D73" "D74" "D75" 
                      "D76" "D77" "D78" "D79" "D80" "D81" "D82" "D83"
                      "D84" "D85" "D86" "D87" "D88" "D89" "D90" "D91" "D92" 
                      "D93" "D94" "D95" "D96" "D97" "D98" "D99" "D100")
      (help (field "lat_deg")))

  (field "lat_sec" (position 62  10) (display_length  4) 
            (input allowed) (translate upper) (default "Z") (null disallowed)
            (max_length 6)
            (value_in "Y" "X" "Z" "D1" "D2" "D3" "D4" "D5" "D6" "D7" "D8" "D9" 
                      "D10" "D11" "D12" "D13" "D14" "D15" 
                      "D16" "D17" "D18" "D19" "D20" "D21" "D22" "D23" "D24" 
                      "D25" "D26" "D27" "D28" "D29" "D30" "D31" "D32"
                      "D33" "D34" "D35" "D36" "D37" "D38" "D39" "D40" "D41" 
                      "D42" "D43" "D44" "D45" "D46" "D47" "D48" "D49"
                      "D50" "D51" "D52" "D53" "D54" "D55" "D56" "D57" "D58" 
                      "D59" "D60" "D61" "D62" "D63" "D64" "D65" "D66"
                      "D67" "D68" "D69" "D70" "D71" "D72" "D73" "D74" "D75" 
                      "D76" "D77" "D78" "D79" "D80" "D81" "D82" "D83"
                      "D84" "D85" "D86" "D87" "D88" "D89" "D90" "D91" "D92" 
                      "D93" "D94" "D95" "D96" "D97" "D98" "D99" "D100")
      (help (field "lat_deg")))


  (field "lng_deg" (position 44  11) (display_length  4) 
            (input allowed) (translate upper) (default "D1") (null disallowed)
            (max_length 6)
            (value_in "Y" "X" "Z" "D1" "D2" "D3" "D4" "D5" "D6" "D7" "D8" "D9" 
                      "D10" "D11" "D12" "D13" "D14" "D15" 
                      "D16" "D17" "D18" "D19" "D20" "D21" "D22" "D23" "D24" 
                      "D25" "D26" "D27" "D28" "D29" "D30" "D31" "D32"
                      "D33" "D34" "D35" "D36" "D37" "D38" "D39" "D40" "D41" 
                      "D42" "D43" "D44" "D45" "D46" "D47" "D48" "D49"
                      "D50" "D51" "D52" "D53" "D54" "D55" "D56" "D57" "D58" 
                      "D59" "D60" "D61" "D62" "D63" "D64" "D65" "D66"
                      "D67" "D68" "D69" "D70" "D71" "D72" "D73" "D74" "D75" 
                      "D76" "D77" "D78" "D79" "D80" "D81" "D82" "D83"
                      "D84" "D85" "D86" "D87" "D88" "D89" "D90" "D91" "D92" 
                      "D93" "D94" "D95" "D96" "D97" "D98" "D99" "D100")
      (help (field "lat_deg")))

  (field "lng_min" (position 53  11) (display_length  4) 
            (input allowed) (translate upper) (default "D2") (null disallowed)
            (max_length 6)
            (value_in "Y" "X" "Z" "D1" "D2" "D3" "D4" "D5" "D6" "D7" "D8" "D9" 
                      "D10" "D11" "D12" "D13" "D14" "D15" 
                      "D16" "D17" "D18" "D19" "D20" "D21" "D22" "D23" "D24" 
                      "D25" "D26" "D27" "D28" "D29" "D30" "D31" "D32"
                      "D33" "D34" "D35" "D36" "D37" "D38" "D39" "D40" "D41" 
                      "D42" "D43" "D44" "D45" "D46" "D47" "D48" "D49"
                      "D50" "D51" "D52" "D53" "D54" "D55" "D56" "D57" "D58" 
                      "D59" "D60" "D61" "D62" "D63" "D64" "D65" "D66"
                      "D67" "D68" "D69" "D70" "D71" "D72" "D73" "D74" "D75" 
                      "D76" "D77" "D78" "D79" "D80" "D81" "D82" "D83"
                      "D84" "D85" "D86" "D87" "D88" "D89" "D90" "D91" "D92" 
                      "D93" "D94" "D95" "D96" "D97" "D98" "D99" "D100")
      (help (field "lat_deg")))

  (field "lng_sec" (position 62  11) (display_length  4) 
            (input allowed) (translate upper) (default "D3") (null disallowed)
            (max_length 6)
            (value_in "Y" "X" "Z" "D1" "D2" "D3" "D4" "D5" "D6" "D7" "D8" "D9" 
                      "D10" "D11" "D12" "D13" "D14" "D15" 
                      "D16" "D17" "D18" "D19" "D20" "D21" "D22" "D23" "D24" 
                      "D25" "D26" "D27" "D28" "D29" "D30" "D31" "D32"
                      "D33" "D34" "D35" "D36" "D37" "D38" "D39" "D40" "D41" 
                      "D42" "D43" "D44" "D45" "D46" "D47" "D48" "D49"
                      "D50" "D51" "D52" "D53" "D54" "D55" "D56" "D57" "D58" 
                      "D59" "D60" "D61" "D62" "D63" "D64" "D65" "D66"
                      "D67" "D68" "D69" "D70" "D71" "D72" "D73" "D74" "D75" 
                      "D76" "D77" "D78" "D79" "D80" "D81" "D82" "D83"
                      "D84" "D85" "D86" "D87" "D88" "D89" "D90" "D91" "D92" 
                      "D93" "D94" "D95" "D96" "D97" "D98" "D99" "D100")
      (help (field "lat_deg")))



  (field "tm_zone" (position 44  15) (display_length  4) 
            (input allowed) (translate upper) (default "D4") (null allowed)
            (max_length 6)
            (value_in "" "Y" "X" "Z" "D1" "D2" "D3" "D4" "D5" "D6" "D7" "D8" "D9" 
                      "D10" "D11" "D12" "D13" "D14" "D15" 
                      "D16" "D17" "D18" "D19" "D20" "D21" "D22" "D23" "D24" 
                      "D25" "D26" "D27" "D28" "D29" "D30" "D31" "D32"
                      "D33" "D34" "D35" "D36" "D37" "D38" "D39" "D40" "D41" 
                      "D42" "D43" "D44" "D45" "D46" "D47" "D48" "D49"
                      "D50" "D51" "D52" "D53" "D54" "D55" "D56" "D57" "D58" 
                      "D59" "D60" "D61" "D62" "D63" "D64" "D65" "D66"
                      "D67" "D68" "D69" "D70" "D71" "D72" "D73" "D74" "D75" 
                      "D76" "D77" "D78" "D79" "D80" "D81" "D82" "D83"
                      "D84" "D85" "D86" "D87" "D88" "D89" "D90" "D91" "D92" 
                      "D93" "D94" "D95" "D96" "D97" "D98" "D99" "D100")
      (help (field "lat_deg")))

  (field "northing" (position 53  15) (display_length  4) 
            (input allowed) (translate upper) (default "D5") (null disallowed)
            (max_length 6)
            (value_in "Y" "X" "Z" "D1" "D2" "D3" "D4" "D5" "D6" "D7" "D8" "D9" 
                      "D10" "D11" "D12" "D13" "D14" "D15" 
                      "D16" "D17" "D18" "D19" "D20" "D21" "D22" "D23" "D24" 
                      "D25" "D26" "D27" "D28" "D29" "D30" "D31" "D32"
                      "D33" "D34" "D35" "D36" "D37" "D38" "D39" "D40" "D41" 
                      "D42" "D43" "D44" "D45" "D46" "D47" "D48" "D49"
                      "D50" "D51" "D52" "D53" "D54" "D55" "D56" "D57" "D58" 
                      "D59" "D60" "D61" "D62" "D63" "D64" "D65" "D66"
                      "D67" "D68" "D69" "D70" "D71" "D72" "D73" "D74" "D75" 
                      "D76" "D77" "D78" "D79" "D80" "D81" "D82" "D83"
                      "D84" "D85" "D86" "D87" "D88" "D89" "D90" "D91" "D92" 
                      "D93" "D94" "D95" "D96" "D97" "D98" "D99" "D100")
      (help (field "lat_deg")))

  (field "easting" (position 62  15) (display_length  4) 
            (input allowed) (translate upper) (default "D6") (null disallowed)
            (max_length 6)
            (value_in "Y" "X" "Z" "D1" "D2" "D3" "D4" "D5" "D6" "D7" "D8" "D9" 
                      "D10" "D11" "D12" "D13" "D14" "D15" 
                      "D16" "D17" "D18" "D19" "D20" "D21" "D22" "D23" "D24" 
                      "D25" "D26" "D27" "D28" "D29" "D30" "D31" "D32"
                      "D33" "D34" "D35" "D36" "D37" "D38" "D39" "D40" "D41" 
                      "D42" "D43" "D44" "D45" "D46" "D47" "D48" "D49"
                      "D50" "D51" "D52" "D53" "D54" "D55" "D56" "D57" "D58" 
                      "D59" "D60" "D61" "D62" "D63" "D64" "D65" "D66"
                      "D67" "D68" "D69" "D70" "D71" "D72" "D73" "D74" "D75" 
                      "D76" "D77" "D78" "D79" "D80" "D81" "D82" "D83"
                      "D84" "D85" "D86" "D87" "D88" "D89" "D90" "D91" "D92" 
                      "D93" "D94" "D95" "D96" "D97" "D98" "D99" "D100")
      (help (field "lat_deg")))



  (default_buttons)
)
