<div dir="ltr"><div dir="ltr">Luigi and list,<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jun 10, 2020 at 8:32 AM Luigi Raffaele Sapone <<a href="mailto:studioingsapone@live.com">studioingsapone@live.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div lang="IT">
<div class="gmail-m_-926100591859272544WordSection1">
<p class="MsoNormal"><span lang="EN-GB">Hello<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">I’m using QGIS 3.12<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">I have a poly shapefile named building.shp in the zip file, and a line shapefile, named line.shp.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">I’m using the geoprocessing function ‘split polygon by line’ using  poly.shp as input, and line.shp as divide layer.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">I obtain the ‘split_by_line.shp’. But, in this splitted file, the polygon was not divided considering all the lines present, but only some of them, as visible in ‘split_by_line.shp’.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Is there something wrong?</span></p><p class="MsoNormal"><span lang="EN-GB"><br></span></p></div></div></blockquote><div>Feeling like the "you must use polygons ogre" here...</div><div><br></div><div>If you union your split lines and building lines and create polygons from that result, then you have all the space-enclosing polygons you need.  You can transfer the attributes from the original buildings polygons to these new "sub-building" polygons.<br></div></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Chris Hermansen · clhermansen "at" gmail "dot" com<br><br>C'est ma façon de parler.</div></div></div>