<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 to mapserver's filter command so that I can filter out records for a given ownerkey at startup.<BR>
<BR>
A separate Java/JSP application is used to identify the owner for which we would like to see a map of owned properties. I would like to click on a URL which opens GeoMoose with the ownerkey already set and used as a filter in MapServer. <BR>
<BR>
Any ideas how best to do this in GeoMoose?<BR>
<BR>
Thanks for any and all help,<BR>
Rafe<BR>
<BR>
______________________________________________________________<BR>
MAP<BR> SIZE 800 650<BR> EXTENT -13888695.571283 2821332.743118 -8908902.824881 6340349.019812<BR> UNITS METERS <BR> STATUS ON<BR> PROJECTION<BR> "init=epsg:900913" <BR> END<BR> INCLUDE "../../geomoose_globals.map"<BR> <BR> <BR> LAYER<BR> NAME 'parcel'<BR> TYPE POLYGON<BR> STATUS ON<BR> OPACITY 30 <BR> FILTER "ownerkey='%myownerkey%' "<BR> <BR> CONNECTIONTYPE postgis<BR> CONNECTION "user=postgres password=XXXXXX dbname=XXXXXX host=localhost" <BR> <BR> DATA 'wkb_geometry from (select gid, ownerkey, astext(wkb_geometry) as wkt_geometry, wkb_geometry from parcel) as myparcel using unique gid'<BR> <BR> CLASS<BR> NAME "parcel"<BR> style <BR> COLOR 0 150 0<BR> OUTLINECOLOR 0 255 0 <BR> WIDTH 3<BR> end<BR> end<BR> METADATA<BR> 'identify_record' 'identify.html'<BR> END<BR> <BR> END<BR>END<BR>                                            </body>
</html>