Hello,

I am trying to display an address as part of my identify parcel template.  The 
template works fine for parcels that have a valid address.  However, for 
parcels that do not have an address a "0" is displayed (the zip field is a 
integer).  How can I change the results so that either nothing, or a message 
such as "no site address" is displayed?


When I try to use pattern:

*       [item name="PHYZIP" pattern=/^[1-9]/]   - displays the address if there 
is one, or "1/]" is there is not an address.
*       [item name="PHYZIP" pattern="/^[1-9]/"]  - crashes

Nullformat appears to only work with strings that are null, not integers that 
are 0.  Is there a way to set a nullvalue, for example:
*       [item name="PHYZIP" nullformat="No Physical Address" nullvalue="0"]

Thanks




Mark Volz
GIS Specialist


_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to