Coastal & Marine Geology InfoBank

Home FACS Activities Atlas Geology School Related Sites More

USGS InfoBank program -- addpoint

Skip navigational links
Loading
InfoBank Programs: by Name   by Topic  
Expanded Description
Topic Description
Name
addpoint
Synopsis
/infobank/programs/plt/naved/addpoint.for
Description
  Subroutine to add a polygon point group by "hand-digitizing" 

    for NAVED.
       
AUTHOR
  Clint Steele

    
USAGE
  "a" = argument, "r" = referenced, "s" = set

  
  call addpoint          (with the following arguments)
         NumberEdit              [variable i*4 sr]
         StatusFlag                  [variable char*4 ar]
         FileStatus                  [variable char*11 r]
         WindowNumber                [variable i*4 ar]
         CoastEditCount               [variable i*4 sr]
         TekWest                     [variable i*4 ar]
         TekEast                     [variable i*4 ar]
         TekSouth                    [variable i*4 ar]
         TekNorth                    [variable i*4 ar]
         ModifiedData                [variable char*3 s]
    
SUBROUTINES
  dwindo              (external Tektronix)          

  twindo              (external Tektronix)          
  yesno               (external DRS shareable routine)
  specialmode         (internal)                    
  getkey              (external DRS shareable routine)
  changecase          (external DRS shareable routine)
  cursor              (internal)                    
  valid               (internal)                    
  search              (internal)                    
  point               (internal)                    
  pointa              (external Tektronix)          
  drawa               (external Tektronix)         
    
FILES_USED
  unit=*(read,write)


    
Reads
      read (*, ' (a17) ', end = 99) 
     *         CoastEditLine (CoastEditCount)
Writes
Opens
Calls
      call dwindo (LongWestWindow (WindowNumber),
     *             LongEastWindow (WindowNumber),
     *             LatSouthWindow (WindowNumber),
     *             LatNorthWindow (WindowNumber) )
      call twindo (TekWest, TekEast, TekSouth, TekNorth)
      call specialmode ('TEXT')
      call anyprompt
      call getkey (Key, KeyValue)
      call changecase ('CAPITAL', Key)
          call specialmode ('TEXT')
      call cursor (AsciiCode, 
     *             NewLong (UpdateCount), 
     *             NewLat  (UpdateCount) )
          call specialmode ('TEXT')
          call anykey
      call valid (StatusFlag,
     *            AsciiCode,
     *            NewLong (UpdateCount),
     *            NewLat  (UpdateCount),
     *            WindowNumber)
      call pointa (NewLong (UpdateCount) , 
     *             NewLat  (UpdateCount) )
      call specialmode ('TEXT')

Skip footer navigational links

Coastal and Marine Science Centers:  Pacific   St. Petersburg   Woods Hole  
InfoBank   Coastal and Marine Geology Program   Geologic Information   Ask-A-Geologist   USGS Disclaimer  


Accessibility FOIA Privacy Policies and Notices

Take Pride in America logo USA.gov logo U.S. Department of the Interior | U.S. Geological Survey
URL: http://walrus.wr.usgs.gov/infobank/programs/plt/naved/addpoint.doc.html
Page Contact Information: InfoBank staff
Page Last Modified: Mon Sep 16 03:39:16 PDT 2013  (chd)