<table><tr><td style="">tandon updated this revision to Diff 10425.<br />tandon marked an inline comment as done.<br />tandon added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D3747" rel="noreferrer">View Revision</a></tr></table><br /><div><div><p>Clipper was not able to merge some of the adjacent buildings (buildings which only share one common point), to circumvent this problem, I made a few changes in the way in which the edges of the building graph were contracted.  Instead of treating the connected components of buildings as connected graphs, I am now treating them as trees, so as to prevent any kind of cyclic dependency b/w buildings. Doing this allows me to easily break a connected component into two or more connected components whenever  clipper is not able to merge two adjacent buildings.<br />
This trick is able to greatly improve the results but still there are a few error cases.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R34 Marble</div></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D3747?vs=9194&id=10425" rel="noreferrer">https://phabricator.kde.org/D3747?vs=9194&id=10425</a></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D3747" rel="noreferrer">https://phabricator.kde.org/D3747</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>tools/vectorosm-tilecreator/BuildingBlock.cpp<br />
tools/vectorosm-tilecreator/BuildingBlock.h<br />
tools/vectorosm-tilecreator/BuildingMerger.cpp<br />
tools/vectorosm-tilecreator/BuildingMerger.h<br />
tools/vectorosm-tilecreator/CMakeLists.txt<br />
tools/vectorosm-tilecreator/vectorosm-tilecreator.cpp</div></div></div><br /><div><strong>EMAIL PREFERENCES</strong><div><a href="https://phabricator.kde.org/settings/panel/emailpreferences/" rel="noreferrer">https://phabricator.kde.org/settings/panel/emailpreferences/</a></div></div><br /><div><strong>To: </strong>tandon, rahn, nienhueser<br /><strong>Cc: </strong>nienhueser, mnafees, shentey, chaz6, dkolozsvari, cmihalache, rahn, marble-devel<br /></div>