Tell me more ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I created two views in postgres and I just added both views to geoserver. I am using Freemarker Template to create a custom popup table output. I am currently just using layer preview to see the output.Below is the structure. In one of my Views, the last two columns are labeled Photo and Plans. I would like to hyperlink the values of these two columns. Since you can wrap ftl inside html, I should be able to use a

<table border="1" width="420" cellpadding="2" cellspacing="2">
<#list features as feature>
  <b>Type: ${type.name}</b> 
 <tr>
            <th>Field Name</th><th>Field Value</th>
 </tr>  
<#list feature.attributes as attribute>
  <tr>
  <#if !attribute.isGeometry>
    <th align="left";><b>${attribute.name}<b> <td align="center";>${attribute.value}
 </td></th>
  </tr>
 </#if>
   </#list>
  </table>
</#list>
share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.