HOME


Track: Database Management and SDE

Larry Van Sickle
WPTC
3305 Hancock Drive
Austin, TX 78731


Telephone: 512-459-8030
Fax: 512-452-1655
E-mail: larry@wptc.com



A PERL Module for Spatial Database Design  Paper Text

Defining Issue: Building Internet-based GIS applications using PERL and SDE. Methodology: PERL is a powerful, popular, and free language for doing a wide variety of text processing, system administration, and general programming tasks. It is particularly useful in writing CGI+ scripts for Internet applications. PERL itself cannot access Esri's Spatial Database Engine, but PERL can be extended by adding modules. We built a PERL module to use SDE, making PERL the tool of choice for building WWW-based GIS applications using SDE. We describe the decisions and tradeoffs in designing the new PERL module, show the object-oriented structure of the module, and present examples of PERL code for implementing specific features in a Web-based GIS application. We discuss the key elements of a Web-based GIS application and show how they are implemented in PERL. We will also discuss how to get PERL and the PERL SDE module. Software: This paper discusses the use of PERL, C, and the XS PERL extension language. The end result is a PERL library for accessing the SDE API.



Copyright 1997 Environmental Systems Research Institute