[mapserver-users] total values from a shapefile?
    Steve Lime 
    Steve.Lime at dnr.state.mn.us
       
    Tue Apr 28 09:39:57 PDT 2009
    
    
  
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
<3D56274B4A7874468F58FADDBFD09801073A368D at llmhs02.r8nssis.local>, "Mark Volz"
<MarkVolz at 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
> 
>  
    
    
More information about the MapServer-users
mailing list