USGS InfoBank banner.  USGS, Coastal and Marine Geology, InfoBank banner.
 USGS Coastal and Marine Geology banner.    Search InfoBank.
USGS InfoBank program -- addpoint Skip navigational links
    ________   ________   ______________   ________   _________   _______________   ________  
  tab edge  Home  tab edge  Data  tab edge  Activities  tab edge  FACS  tab edge  Atlas  tab edge  Definitions  tab edge  More  tab edge  
   
InfoBank Programs: by Name   by Data Type   General Tools   GIS   Plotting   Web   USGS Disclaimer   InfoBank Programs
   
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)

    
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

InfoBank   Menlo Park Center   Santa Cruz Center   St. Petersburg Center   Woods Hole Center   Coastal and Marine Geology Program  
 
U. S. Department of the Interior   U. S. Geological Survey   Geologic Information   Ask-A-Geologist   USGS privacy statement   Disclaimer  

URL: /infobank/programs/plt/naved/addpoint.doc.html
Maintainer: Clint Steele
Last modified: Fri Oct 11 03:10:34 PDT 2002  (wcs)