Steve,

Thank you for your reply.  I will be using it for templates.

Mark Volz
GIS Specialist
Lyon County, MN
-----Original Message-----
From: Steve Lime [mailto:steve.l...@dnr.state.mn.us] 
Sent: Tuesday, April 28, 2009 11:40 AM
To: Mark Volz; mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] total values from a shapefile?

Depends, are you talking about for labeling, expression evaluation or
template display?

For labeling: No.

For expression evaluation: Yes (using logical expressions you can do
EXPRESSION ([item1] + [item2] > 50)

For templates: Yes for HTML via javascript, e.g.:

<script ...>
  var total = [item1] + [item2];
  document.write(total);
</script>

Steve

>>> On 4/28/2009 at 11:26 AM, in message
<3d56274b4a7874468f58faddbfd09801073a3...@llmhs02.r8nssis.local>, "Mark Volz"
<markv...@co.lyon.mn.us> wrote:
> Hello,
> 
>  
> 
> Can map server combine two fields and display a total for the values, or do
> we need to total the values ahead of time in the shapefile?
> 
>  
> 
> Mark Volz
> 
> GIS Specialist
> 
> Lyon County, MN
> 
>  

_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to