Help: generating a hyperlink in query result

Curtis W. Ruck ruckc at YAHOO.COM
Tue Oct 10 00:27:02 EDT 2006


I wrote an immutable function hyperlink(path) in pl/pgsql that returns a URL for a record.  I then created an index on the function on the table and incorporated it into my default view.

----- Original Message ----
From: Xiaopeng Xiong <xpxiong at PURDUE.EDU>
To: MAPSERVER-USERS at LISTS.UMN.EDU
Sent: Monday, October 9, 2006 10:41:33 PM
Subject: [UMN_MAPSERVER-USERS] Help: generating a hyperlink in query result



 
 



I have one index on raster images and it can be displayed 
and queried through Mapserver.

I wonder whether it would be possible to generate a 
hyperlink in query result.

The hyperlink will be generated based on one attribute in 
the index. 

For example, if the attribute value is 
"/home/myDir/1.img", the hyperlink will direct user to http://SomeWebsite/myDir/1.img".

I appreciate any suggestions or ideas.

 

Thank you

 

 

 

Best regards,

Xiaopeng




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


More information about the mapserver-users mailing list