<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'><div style="text-align: left;">Hi,<br><br>I am hoping to be able to symbolize a WMS or image map, based upon the results of a SQL COUNT() query. To be more specific, this query needs to be dynamic based upon user input from my application for specific attributes in the data, count up the number of records that meet that query, and then produce a choropleth map of the resulting counts. So the query would produce, a count of 10 records for one county, 5 records for another county, etc. and my counties will be colored based upon a scheme for these counts. My data is in a PostGIS database.<br><br>Is there a way to do this with Mapserver? I am currently simply returning all of the records that meet my criteria and counting things up on the client application. But I am hoping there is a way to do this on the server or database-side of things.<br><br>Thank you very much in advance for any help or tips you may be able to offer. Also, please let me know if you need more info on what I am trying to do.<br><br>Thanks,<br>Scott<br><br><br></div><br><div>
<div>********************************************* </div>Scott Pezanowski 
<div></div>
<div></div>
<div></div>email: scottpez@hotmail.com&nbsp; 
<div></div>*********************************************</div><br></body>
</html>