[mapserver-users] formatting query and identify results

Mark Volz MarkVolz at co.lyon.mn.us
Fri Sep 3 09:12:55 EDT 2010


Hello,

I have an application that I am working on.  The parcel id is in a
xx.xxx.xxx.x format, however I need to change the format to xx-xxx-xxx-x for
an external tax database application.  I will not be updating the data, and
therefore I will need to make this change through code.  I have worked on
previous applications using java.  For example I would use parcel = (
this.substring(0,2) + "-" + this.substring(3,9).  However, unless I am wrong,
mapserver does not appear to pass javascript through templates.  

Is there a way that I can convert the format of numbers directly in the
template?

Thanks  

Mark Volz
GIS Specialist


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20100903/c9ab85f1/attachment.html


More information about the mapserver-users mailing list