https://issues.qgis.org/https://issues.qgis.org/favicon.ico2014-02-07T04:10:30ZQGIS Issue TrackingQGIS Application - Bug report #8978: loading an sld without uom attribute should set ouptput units to mapunitshttps://issues.qgis.org/issues/8978?journal_id=482122014-02-07T04:10:30ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Category</strong> set to <i>Symbology</i></li><li><strong>Priority</strong> changed from <i>High</i> to <i>Normal</i></li></ul><p>There is no crash or data corruption, so I'm lowering the priority.</p> QGIS Application - Bug report #8978: loading an sld without uom attribute should set ouptput units to mapunitshttps://issues.qgis.org/issues/8978?journal_id=604982015-04-15T04:02:55ZHarm Olthofharmo004@xs4all.nl
<ul><li><strong>Target version</strong> set to <i>Future Release - High Priority</i></li></ul> QGIS Application - Bug report #8978: loading an sld without uom attribute should set ouptput units to mapunitshttps://issues.qgis.org/issues/8978?journal_id=604992015-04-15T04:50:07ZJukka Rahkonenjukka.rahkonen@mmmtike.fi
<ul></ul><p>Hi,</p>
<p>I checked the SLD 1.1.0 document "05-077r4_OpenGIS_Symbology_Encoding_Implementation_Specification.pdf"</p>
<p>From the page 14:</p>
<p>"If no uom is set inside of Symbolizer, all units are measured in pixel, the behaviour used by SLD 1.0.0."</p> QGIS Application - Bug report #8978: loading an sld without uom attribute should set ouptput units to mapunitshttps://issues.qgis.org/issues/8978?journal_id=605002015-04-15T05:20:16ZHarm Olthofharmo004@xs4all.nl
<ul></ul><p>Exactly! So why has the QGIS-GUI set the ouput to mm? <br />It should be set to "map units" when you load such an sld.</p> QGIS Application - Bug report #8978: loading an sld without uom attribute should set ouptput units to mapunitshttps://issues.qgis.org/issues/8978?journal_id=721942016-08-09T23:15:13ZPierre-Yves Abalain
<ul></ul><p>Hi,</p>
<p>I support your request, because I'm facing this problem when developping a program to export styles from ArcGIS to QGis, passing by a SLD file.<br />QGis should accept pixel as default unit when loading a SLD.</p>
Different way to do this I Think :
<ul>
<li>offer the possibility to have a global parameter in QGis to set default units for everything : pixel/millimeter/map units</li>
<li>treat unit as pixel by default when loading SLD</li>
<li>when loading a SLD, propose the user to choose the unit</li>
</ul> QGIS Application - Bug report #8978: loading an sld without uom attribute should set ouptput units to mapunitshttps://issues.qgis.org/issues/8978?journal_id=734302016-11-18T04:00:06ZKoen DeBaets
<ul></ul><p>At AIV , the Flemish Agency of (Geographic) Information, we would like to provide our geospatial data with <br />an SLD as (software independent) symbolisation file. This is a request from many of our users (government institutions, businesses and citizens)</p>
<p>But we face the same problem: all measures in our SLD's use the default unit 'pixel', but when loading the SLD in QGis (2.16), the assigned units are 'mm'. I would expect QGis to accept pixel as default unit.</p> QGIS Application - Bug report #8978: loading an sld without uom attribute should set ouptput units to mapunitshttps://issues.qgis.org/issues/8978?journal_id=785792017-04-30T23:09:19ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Regression?</strong> set to <i>No</i></li><li><strong>Easy fix?</strong> set to <i>No</i></li></ul> QGIS Application - Bug report #8978: loading an sld without uom attribute should set ouptput units to mapunitshttps://issues.qgis.org/issues/8978?journal_id=798412017-05-19T06:54:13ZAnonymous
<ul><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li></ul><p>Applied in changeset <a class="changeset" href="https://issues.qgis.org/projects/qgis/repository/revisions/877363873fe99528a9cd3ffbc2f6fb2afeda5f1c" title="[bugfix] Fix unit of sizes when reading a SLD file (fixes #8978)">qgis|877363873fe99528a9cd3ffbc2f6fb2afeda5f1c</a>.</p>