<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Oliver,<div class=""><br class=""></div><div class="">haven't tested by different solutions come to my mind.</div><div class=""><br class=""></div><div class="">a) you could just change your source data</div><div class="">b) you could change the template to your needs check for floats and format:</div><div class=""><a href="https://github.com/geosolutions-it/django-mapstore-adapter/blob/master/mapstore2_adapter/plugins/geonode.py#L413" class="">https://github.com/geosolutions-it/django-mapstore-adapter/blob/master/mapstore2_adapter/plugins/geonode.py#L413</a></div><div class="">c) maybe free marker templates could work:</div><div class=""><a href="https://docs.geoserver.org/stable/en/user/tutorials/freemarker.html" class="">https://docs.geoserver.org/stable/en/user/tutorials/freemarker.html</a></div><div class="">But from what I know they're meant for html output.</div><div class="">d) You could change the feature components of mapstore. Before doing</div><div class="">so I would definitely go with b)</div><div class=""><br class=""></div><div class="">Rounding floats ... sound like a very useful feature. A PR  is very welcome.</div><div class=""><br class=""></div><div class="">Cheers,</div><div class=""><br class=""></div><div class="">Toni</div><div class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">Am 18.03.2020 um 20:00 schrieb <a href="mailto:geonode-devel-request@lists.osgeo.org" class="">geonode-devel-request@lists.osgeo.org</a>:</div><br class="Apple-interchange-newline"><div class=""><div style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; margin: 0px;" class=""><span style="font-family: -webkit-system-font, "Helvetica Neue", Helvetica, sans-serif; color: rgb(127, 127, 127);" class=""><b class="">Von:<span class="Apple-converted-space"> </span></b></span><span style="font-family: -webkit-system-font, "Helvetica Neue", Helvetica, sans-serif;" class="">EFTAS Oliver Buck <<a href="mailto:oliver.buck@eftas.com" class="">oliver.buck@eftas.com</a>><br class=""></span></div><div style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; margin: 0px;" class=""><span style="font-family: -webkit-system-font, "Helvetica Neue", Helvetica, sans-serif; color: rgb(127, 127, 127);" class=""><b class="">Betreff:<span class="Apple-converted-space"> </span></b></span><span style="font-family: -webkit-system-font, "Helvetica Neue", Helvetica, sans-serif;" class=""><b class="">[GeoNode-devel] Too many digits displayed</b><br class=""></span></div><div style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; margin: 0px;" class=""><span style="font-family: -webkit-system-font, "Helvetica Neue", Helvetica, sans-serif; color: rgb(127, 127, 127);" class=""><b class="">Datum:<span class="Apple-converted-space"> </span></b></span><span style="font-family: -webkit-system-font, "Helvetica Neue", Helvetica, sans-serif;" class="">18. März 2020 um 09:41:57 MEZ<br class=""></span></div><div style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; margin: 0px;" class=""><span style="font-family: -webkit-system-font, "Helvetica Neue", Helvetica, sans-serif; color: rgb(127, 127, 127);" class=""><b class="">An:<span class="Apple-converted-space"> </span></b></span><span style="font-family: -webkit-system-font, "Helvetica Neue", Helvetica, sans-serif;" class="">"<a href="mailto:geonode-devel@lists.osgeo.org" class="">geonode-devel@lists.osgeo.org</a>" <<a href="mailto:geonode-devel@lists.osgeo.org" class="">geonode-devel@lists.osgeo.org</a>><br class=""></span></div><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><div style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; direction: ltr; font-family: Tahoma; font-size: 10pt;" class=""><div style="font-family: "Times New Roman"; font-size: 16px;" class=""><div id="divRpF709973" style="direction: ltr;" class=""><br class=""></div><div class=""></div><div class=""><div style="direction: ltr; font-family: Tahoma; font-size: 10pt;" class="">Dear all,<div class=""><br class=""></div><div class="">I was wondering how we can change the display of queried map information.</div><div class=""><br class=""></div><div class="">If I query one of our maps displaying a raster data set, the attribute information displayed by "clicking" into the map shows something like 10 digits, e,g <span style="background-color: rgb(255, 255, 255); color: rgb(51, 51, 51); font-family: Lato, sans-serif; font-size: 14px;" class="">0.7642769813537598</span><span style="font-size: 10pt;" class=""> How could we limit this to two digits like 0.76</span></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">example layer:</div><div class=""><a href="https://bis-namibia.dev2.eftas.com/layers/geonode:BIS%20Probability%20Map%20Dichrostachys%20cinerea" target="_blank" rel="noopener noreferrer" class="">https://bis-namibia.dev2.eftas.com/layers/geonode:BIS%20Probability%20Map%20Dichrostachys%20cinerea</a></div></div></div></div></div></div></blockquote></div><br class=""></div></body></html>