HOME


Track: Information Access and the Internet

Damian Runge
U.S. Bureau of Reclamation
23636 N 7th Street
Phoenix, AZ 85068


Telephone: 602-870-2542
Fax: 602-870-2135



ArcInfo - Netscape Interface  Paper Text

Defining Issue: Accessing ArcInfo data through the use of Web servers and browsers. GIS Solution: Create an interface program that accepts input through a Web browser and outputs the resultant map through a Web server. Methodology: 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 Interface (CGI) containing about 1,300 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 and 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 4. giftrans.exe - A/C program to convert the background color to transparent, also public domain. 5. plusgif.exe - a C program used by MOM's zoom function. For each data set to be presented a text file is created. This text file describes to MOM the data set, 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 entails setting path variables and aliases. Software: MOM uses a FORTRAN 77 compiler, a C compiler, and a PERL 4 compiler.



Copyright 1997 Environmental Systems Research Institute