<div dir="ltr">Hi Annalisa, Maybe you alredy saw this, but just in case... there´s also the option to add descriptions of each atribute in the metadata info. These descriptions are shown in the atribute tab of the layer description in the portal.<div><img src="cid:ii_160125fa431f5bb6" alt="Imagen integrada 2" width="554" height="384"><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-12-01 10:36 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">Thanks Ariel.<div>But more than alias I had some descriptions, sometimes very long. I tried to shorten them, but in some cases it's difficult. </div><div>I don't like use names too long as postgresql alias. </div><div>Finally I choose to upload some documents (I already had PDF with long descriptions), to link them to the layers and also in content.ftl, so if someone do the getFeatures but doesn't understand attribute's names, can dowload a pdf with long descriptions.</div><div>Maybe It's intricate, but I've no other ideas and time!</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Annalisa</div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2017-11-30 13:55 GMT+01:00 Ariel Neri <span dir="ltr"><<a href="mailto:ariel.neriw@gmail.com" target="_blank">ariel.neriw@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 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"><div><div class="m_7089684634595358539h5">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></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_7089684634595358539h5"><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="m_7089684634595358539m_-3094831285878268317HOEnZb"><font color="#888888"><div>Annalisa</div><div><br></div></font></span></div>
<br></div></div>______________________________<wbr>_________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org" target="_blank">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/mailma<wbr>n/listinfo/geonode-users</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>