<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
I would like to pass a parameter&nbsp;to mapserver's filter command&nbsp;so that I can filter out records for a person selected from a third party, Java/JSP&nbsp;application.&nbsp; I see where I can pass a parameter in&nbsp;GeoMoose's map source definition.&nbsp;&nbsp;Can I dynamically set this parameter based on a person selected from a separate Java/JSP application?&nbsp; This application is used to identify the owner for which we would like to see a map of owned properties.&nbsp; I would like to click on a URL which opens GeoMoose,&nbsp;SOMEHOW dynamically&nbsp;sets a selected ownerkey, and passes this value as a parameter to MapServer.&nbsp; MapServer would&nbsp;use this parameter to dynamically set the Filter value.&nbsp; <BR>
&nbsp;<BR>Any ideas how best to do this in GeoMoose?<BR>&nbsp;<BR>Thanks for any and all help,<BR>Rafe<BR>&nbsp;<BR>______________________________________________________________<BR>MAP<BR>&nbsp;SIZE 800 650<BR>&nbsp;EXTENT -13888695.571283 2821332.743118 -8908902.824881 6340349.019812<BR>&nbsp;UNITS METERS <BR>&nbsp;&nbsp;STATUS ON<BR>&nbsp;PROJECTION<BR>&nbsp;&nbsp;"init=epsg:900913" <BR>&nbsp;END<BR>&nbsp;INCLUDE "../../geomoose_globals.map"<BR>&nbsp;<BR>&nbsp;<BR>&nbsp;LAYER<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NAME 'parcel'<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TYPE POLYGON<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; STATUS ON<BR>&nbsp;&nbsp;OPACITY 30&nbsp;<BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;FILTER "ownerkey='%myownerkey%' "<BR>&nbsp; <BR>&nbsp;&nbsp;CONNECTIONTYPE postgis<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CONNECTION "user=postgres password=XXXXXX dbname=XXXXXX host=localhost" <BR>&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DATA 'wkb_geometry from (select gid, ownerkey,&nbsp;astext(wkb_geometry) as wkt_geometry, wkb_geometry from parcel) as myparcel using unique gid'<BR>&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CLASS<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NAME "parcel"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; style <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;COLOR 0 150 0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OUTLINECOLOR 0 255 0 <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;WIDTH 3<BR>&nbsp;&nbsp;&nbsp;end<BR>&nbsp;&nbsp;end<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; METADATA<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'identify_record' 'identify.html'<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END<BR>&nbsp;&nbsp; <BR>&nbsp;END<BR>END<BR><BR>                                               </body>
</html>