ArcInfo - Netscape Interface

http://www.apo.lc.usbr.gov/user/drunge

Author Name:
     Damian Runge
     Bureau of Reclamation
     23636 N 7th St.
     Phoenix, AZ 85024

     Phone: (602) 870-2542
     E-Mail: drunge@ibr8gw80.usbr.gov

Defining Issue:
     Accessing ArcInfo data through the use of web servers and Netscape.

Gis Solution: 
    Create an interface program that accepts input through the Netscape web browser and  outputs the
resultant map through a web server


Application:
     MOM (Make O' Map) V1.1 is an experimental interface between ArcInfo and Netscape.  The
program (actually programs) consists of : 
 
1. mom.pl - a PERL script Common Gateway Inferface(CGI) containing about 1300 lines of Perl
Script.  mom.pl produces a C shell script of 20 lines and an ArcInfo Arc Macro
Language(AML) file of between 50 to 150 AML lines.  It then submits the C shell script for
execution which in turn executes ArcInfo using the AML file as input.

2. config.pl -  a configuration Perl script for initializing mom.pl.  config.pl tells mom.pl where to
find the various files and directories it needs.

3. rtagif.exe - The ArcInfo interface.  This interface is a Fortran 77 main program with C
subroutines.  It is designed to convert a .gra ArcInfo plot file to a .gif graphics format.  This
program needs the GD graphics library, a public domain gif graphics library.  

4. giftrans.exe - A C program to convert the background color to transparent, also public domain.

5. plusgif.exe - a C program used by the MOM's zoom function.

    For each dataset to be presented a text file is created. This text file describes to MOM the
dataset, where it can be found, and what kind of data it contains. 

   The ArcInfo program, the Web Server software and mom.pl must reside on the same computer
presently PXAO's Data General 6220.  The web server account needs access to ArcInfo. 
Normally this intails setting path variables and aliases.

Software: 
    MOM uses a Fortran 77 compiler, a C compiler and a PERL4 compiler.