<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Reposted cause the date was bad again.... also, I forgot to mention the
the gMap libraries were used
<br>to calculate the spatial position of mouse clicks. My "gmaplib" code
is contained in the tar. I wasn;t able
<br>to find any redistribution information in the gmap readmes or anything,
so if they aren't free to
<br>redistribute, please let me know.
<br>&nbsp;
<p>Hello,
<br>With the help of a number of folks in the mapserver and postgis mailing
list, I have managed to create
<br>my first fully functioning mapserver app, and wished to throw it out
there if any body should find it
<br>useful.
<p>Basically, it is a semi object oriented map display engine (dynamically
formatting the layers and
<br>putting together control menus) and a query result formatting tool.
It is slightly hacked up, and is
<br>derived initially from code in the itasca demo, so if I shouldn;t be
recycling this stuff, someone can feel
<br>free to yell at me. :)
<p>Anyhow, it is php mapscript based, and will automatically determine
from a map object what layers are
<p>there, pairs annotation layers (showing only the parent layer, and turning
the annotation layer on and
<br>off with the parent), create a layer pallette to control visibility,
etc., and output a toolbar. There is a
<br>cryptic little file full of arrays called adminsetup.php which has
database output formatting information
<br>so that the results of queries can be output nicely. There are a few
features for doing data joins and so
<br>forth. It will do simple querying from a map based on shapefiles, but
in order to use the more complex
<br>data types (subselects and multiselects and maps) you must have a postgis
database.
<p>It is open source to the effect that the itasca code is. All my php
objects, which are primarily my own
<br>code are open source.
<p>There is no README, but should be somewhat self explanatory. In order
to work, a demo must have
<br>the libraries (contents of lib directory), a map file, the file adminsetup.php
(although this file must be
<br>there and contain the array "adminsetup", it is not necessary to have
declarations for your layers, it will
<br>simply format them "raw" if no entry is present for the table in question)
in the same directory as the file
<br>which shows the map interface (i.e. basic.php or ther). The files basic.php
will suffice to show a
<br>general map and all of its layers and provide query functionality.
The location of the libs
<br>(module_activemap.php, psql_functions.php) must be declared in the
file basic.php or whatever file
<br>you use to house the interface.
<p>It only took me about 2 minutes to drop the files in place, edit the
paths and get a new shapefile based
<br>interface running using this, so it is pretty drag and drop, however,
saying that, the .map files I used
<br>were extremely simple, so I cannot garrantee anything.
<p>An example of this is at:
<p><A HREF="http://128.173.218.154/gis/soils_demo/">http://128.173.218.154/gis/soils_demo/</A>
<p>a downloadable is at:
<br><A HREF="http://128.173.218.154/gis/gis.tar.gz">http://128.173.218.154/gis/gis.tar.gz</A>
<p>If anyone acutally uses this and extends it I would love to hear from
them, share code.
<br>&nbsp;
<p>Thanks again for all the help over the last several weeks,
<p>Rob
<pre>--&nbsp;
Robert Burgholzer
al&middot;go&middot;rithm&nbsp; n.&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; A step-by-step problem-solving procedure, especially an established, recursive computational
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; procedure for solving a problem in a finite number of steps. Invented by Al Gore.
rburghol@vt.edu
<A HREF="http://www.soulswimmer.net/">http://www.soulswimmer.net/</A></pre>
&nbsp;</html>