<div dir="ltr">Hi Annalisa. I did it creating "views" in Postgresql. Since our original layers are huge, I load the original layer to "geonode_data" DB and created diferent views with reduced atributes and alias that anyone can understand.<div>Here´s an example:</div><div><img src="cid:ii_1600cfc955ffd2ab" alt="Imagen integrada 1" width="508" height="290"><br></div><div><br></div><div>Then just publish the view in geoserver</div><div>Hope it helps.</div><div><br></div><div>Ariel</div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-11-30 9:27 GMT-03:00 Annalisa Schiavon <span dir="ltr"><<a href="mailto:annalisa.schiavon@gmail.com" target="_blank">annalisa.schiavon@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi all,<div>I'm using freemarker template, getting names and values of features in this way (for example):</div><div><font face="monospace, monospace"> <#list features as feature></font></div><div><font face="monospace, monospace"> <li></font></div><div><font face="monospace, monospace"> <ul></font></div><div><font face="monospace, monospace"> <#list feature.attributes as attribute></font></div><div><font face="monospace, monospace"> <#if !attribute.isGeometry></font></div><div><font face="monospace, monospace"> <li><b>${<a href="http://attribute.name" target="_blank">attribute.name</a>}</b>: ${attribute.value}</li></font></div><div><font face="monospace, monospace"> </#if></font></div><div><font face="monospace, monospace"> </#list></font></div><div><font face="monospace, monospace"> </ul></font></div><div><font face="monospace, monospace"> </li></font></div><div><span style="font-family:monospace,monospace"> <hr></span></div><div><font face="monospace, monospace"> </#list></font></div><div><br></div><div>There is a way to use "alias" attribute names?</div><div>If I define some alias or descriptions for attributes in geonode metadata layers, they can be used?</div><div>There is a way to define alias in geoserver or in Postgresql (my layers are all in DB Postgresql) that can be recalled in content.ftl files?</div><div><br></div><div>Tipically I set some text directly in content.ftl files, but now I've layers with many fields and it would be better enter alias for attributes once, maybe in the attribute tabs of the layer in Geonode!</div><div><br></div><div>Thanks</div><span class="HOEnZb"><font color="#888888"><div>Annalisa</div><div><br></div></font></span></div>
<br>______________________________<wbr>_________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/geonode-users</a><br>
<br></blockquote></div><br></div>