<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial, helvetica, sans-serif;font-size:10pt"><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">I wrote an immutable function hyperlink(path) in pl/pgsql that returns a URL for a record.&nbsp; I then created an index on the function on the table and incorporated it into my default view.<br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: Xiaopeng Xiong &lt;xpxiong@PURDUE.EDU&gt;<br>To: MAPSERVER-USERS@LISTS.UMN.EDU<br>Sent: Monday, October 9, 2006 10:41:33 PM<br>Subject: [UMN_MAPSERVER-USERS] Help: generating a hyperlink in query result<br><br>

 
 
<style></style>

<div><font face="Arial" size="2">
<div><font face="Arial">I have one index on raster images and it can be displayed 
and queried&nbsp;through Mapserver.</font></div>
<div><font face="Arial">I wonder whether it would be possible to generate a 
hyperlink in query result.</font></div>
<div><font face="Arial">The hyperlink will be generated based on one attribute in 
the index. </font></div>
<div><font face="Arial">For example, if the attribute value is 
"/home/myDir/1.img", the hyperlink will direct user to <a rel="nofollow" target="_blank" href="http://SomeWebsite/myDir/1.img">http://SomeWebsite/myDir/1.img</a>".</font></div>
<div><font face="Arial">I appreciate any suggestions or ideas.</font></div>
<div><font face="Arial"></font>&nbsp;</div>
<div><font face="Arial">Thank you</font></div>
<div><font face="Arial"></font>&nbsp;</div>
<div><font face="Arial"></font>&nbsp;</div>
<div><font face="Arial"></font>&nbsp;</div>
<div><font face="Arial">Best regards,</font></div>
<div><font face="Arial">Xiaopeng</font></div></font></div></div><br></div></div></body></html>