<div dir="ltr">Hello all,<div><br></div><div>Recently the bug #6897 [1] was filed pointing to the incompatibility between the symbols created before GSoC code and after GSoC code.</div><div><br></div><div style>The primary matter being incorporating multiple levels of nesting the symbols. Previous XML structure allowed only a single level of nesting. This XML structure was modified and the multiple levels now work fine.</div>
<div style><br></div><div style>However wrt bug #6897, I have noticed, I haven't given a solution for cross importing the symbols from previous versions to newer versions.</div><div style><br></div><div style>I haven't considered this because the structure conversion was done by the script [2] that converted the style.xml into the style.db implicitly. </div>
<div style><br></div><div style>But there might be use cases where style import might happen from older to newer systems, creating situations like #6897. For the solution I am thinking of</div><div style><br></div><div style>
A. writing a Python script to perform this conversion of XML structuring alone. And then symbols can be imported using the built-in import function</div><div><br></div><div style>B. Write a specialized function in C++ into QGIS which will import the old styles too, making the user to select the type of import.</div>
<div style><br></div><div style>Which is more preferable?</div><div><br></div><div><br></div><div>[1] - <a href="http://hub.qgis.org/issues/6897">http://hub.qgis.org/issues/6897</a></div><div>[2] - <a href="https://github.com/qgis/Quantum-GIS/blob/master/scripts/symbol_xml2db.py">https://github.com/qgis/Quantum-GIS/blob/master/scripts/symbol_xml2db.py</a><br clear="all">
<div><br></div>-- <br>Regards<br>Arunmozhi<br>
</div></div>