<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2614.3500" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I'm looking at MapServer to accomplish the 
following tasks:</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; 1.&nbsp; Query a shape file off 
an attribute &amp;&amp; a spatial distance - i.e.&nbsp; select * from shapefile 
where coordinates are within 500 units of (select&nbsp;coordiantes from 
shapefile where id = 'user entered id' )</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; 2.&nbsp; Genearate a new map 
based on the results of 1.&nbsp; Displaying the new map on the web with the 
polygon of 'user entered id' in the colored in the middle of the map and all 
other polygons selected&nbsp;in 1 displayed (zoom and pan features)&nbsp; 
</FONT><FONT face=Arial size=2>This is basically polygon outline map - with one 
polygon highlighed.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Generate and display Map&nbsp; -- the map is now an 
image map on the web.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>3.&nbsp; User sees the new map, and they 
click&nbsp;on a another polygon -- resolve the polygon's id and call another url 
with that id, i.e redirect page to 
www/cgi-bin/get_table?id=clicked_id.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Questions:</FONT></DIV>
<DIV><FONT face=Arial size=2>Can this be accomplished with 
mapserver?</FONT></DIV>
<DIV><FONT face=Arial size=2>Is this a mapserver or mapscript type of 
application (there are two distinct applications here)?</FONT></DIV>
<DIV><FONT face=Arial size=2>Any example sites/code would be greatly 
appreciated.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thanks for your help.</FONT></DIV>
<DIV><FONT face=Arial size=2>Steve Lehr</FONT></DIV>
<DIV>&nbsp;</DIV></BODY></HTML>