Re: [Qgis-user] split polygon with lines seems not working correctly

2020-06-10 Thread Andrea Giudiceandrea
Hi Luigi,
I think you can proceed this way:

- using the "Polygons to lines" tool, convert your the polygon layer
(building.shp) to lines

- using the "Merge vector layers" tool, merge your line layer (line.shp) and
the layer generated by the previous step

- using the "Polygonize" tool, create a new polygon layer from the layer
generate by the previous step

As a side note, it seems to me that the reference system of your layers is
wrong: it is set as geographic 4326:WGS84 but the coordinates of the
vertices are clearly in meters and not in degrees, so it should be a
projected coordinate system like an UTM one.




--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] split polygon with lines seems not working correctly

2020-06-10 Thread David Greenewalt

Luigi,

I see the problem now, I would suggest:

1. Polygons to Lines (on the Buildings layer)

2. Merge vector Layers (lines-from-buildings, and line layer)

3. Polygonize (merged layer)

4. Join Attributes from Location (New polygons, building layer) 
(Geometric predicate = within)


David


On 6/10/2020 11:31 AM, Luigi Raffaele Sapone wrote:


Hello

I’m using QGIS 3.12

I have a poly shapefile named building.shp in the zip file, and a line 
shapefile, named line.shp.


I’m using the geoprocessing function ‘split polygon by line’ using 
poly.shp as input, and line.shp as divide layer.


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’.


Is there something wrong?

Regards


___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] split polygon with lines seems not working correctly

2020-06-10 Thread chris hermansen
Luigi and list,

On Wed, Jun 10, 2020 at 8:32 AM Luigi Raffaele Sapone <
studioingsap...@live.com> wrote:

> Hello
>
> I’m using QGIS 3.12
>
> I have a poly shapefile named building.shp in the zip file, and a line
> shapefile, named line.shp.
>
> I’m using the geoprocessing function ‘split polygon by line’ using
> poly.shp as input, and line.shp as divide layer.
>
> 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’.
>
> Is there something wrong?
>
>
> Feeling like the "you must use polygons ogre" here...

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.


-- 
Chris Hermansen · clhermansen "at" gmail "dot" com

C'est ma façon de parler.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] split polygon with lines seems not working correctly

2020-06-10 Thread Luigi Raffaele Sapone
ersonally I am not aware that we arranged 
> something with them?
> 
> We use osgeo-mailing lists, I'm not aware of any changes recently.
> Are other mailing lists affected?

Hi Stefano and Richard,
all the OSGeo ML were affected.

I sent an e-mail message to the OSGeo Nabble Admin two days ago, and after a 
few attempts, now it's allowed to post new message or replay to messages via 
Nabble again.

Regards

Andrea Giudiceandrea



--
Sent from: 
https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fosgeo-org.1560.x6.nabble.com%2FQGIS-User-f4125267.htmldata=02%7C01%7C%7C14f8af4905d04a9baabd08d80d6020a4%7C84df9e7fe9f640afb435%7C1%7C0%7C637274053798296317sdata=RUvniJw%2BrnEcBfZr%2F%2FSjdb3xSXhrrIt4F1cahY2uCh0%3Dreserved=0


--

Message: 3
Date: Wed, 10 Jun 2020 12:15:25 +0200
From: r.cho...@hotmail.com
To: Richard McDonnell 
Cc: qgis-user@lists.osgeo.org
Subject: Re: [Qgis-user] Cut shapefiles
Message-ID:



Content-Type: text/plain; charset="utf-8"

An HTML attachment was scrubbed...
URL: 
<https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.osgeo.org%2Fpipermail%2Fqgis-user%2Fattachments%2F20200610%2F918813cc%2Fattachment-0001.htmldata=02%7C01%7C%7C14f8af4905d04a9baabd08d80d6020a4%7C84df9e7fe9f640afb435%7C1%7C0%7C637274053798296317sdata=7eTm396zukzDyE89GW%2BVHn%2BfUoN5Hra56am51cEdndA%3Dreserved=0>

--

Message: 4
Date: Wed, 10 Jun 2020 04:01:52 -0700 (MST)
From: Andrea Giudiceandrea 
To: qgis-user@lists.osgeo.org
Subject: Re: [Qgis-user] QGIS mailing lists in NABBLE
Message-ID: <1591786912755-0.p...@n6.nabble.com>
Content-Type: text/plain; charset=us-ascii

Andrea Giudiceandrea wrote
> now it's allowed to post new message or replay to messages via Nabble 
> again.

Actually... with the exception, form QGIS MLs, of QGIS Italian User
(qgis-it-user) and QGIS - Community Team (qgis-community-team).

For the former, Jorge Sanz. the OSGeo Nabble Admin, said that the Italian group 
apparently had more restrictive settings so he decided to keep them untouched, 
for the latter, I don't know why but maybe due to the same reason.

Regards.

Andrea



--
Sent from: 
https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fosgeo-org.1560.x6.nabble.com%2FQGIS-User-f4125267.htmldata=02%7C01%7C%7C14f8af4905d04a9baabd08d80d6020a4%7C84df9e7fe9f640afb435%7C1%7C0%7C637274053798296317sdata=RUvniJw%2BrnEcBfZr%2F%2FSjdb3xSXhrrIt4F1cahY2uCh0%3Dreserved=0


------

Message: 5
Date: Wed, 10 Jun 2020 15:31:09 +
From: Luigi Raffaele Sapone 
To: "qgis-user@lists.osgeo.org" 
Subject: [Qgis-user] split polygon with lines seems not working
correctly
Message-ID:



Content-Type: text/plain; charset="utf-8"

Hello
I'm using QGIS 3.12
I have a poly shapefile named building.shp in the zip file, and a line 
shapefile, named line.shp.
I'm using the geoprocessing function 'split polygon by line' using  poly.shp as 
input, and line.shp as divide layer.
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'.
Is there something wrong?
Regards
-- next part --
An HTML attachment was scrubbed...
URL: 
<https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.osgeo.org%2Fpipermail%2Fqgis-user%2Fattachments%2F20200610%2Fcf19775c%2Fattachment-0001.htmldata=02%7C01%7C%7C14f8af4905d04a9baabd08d80d6020a4%7C84df9e7fe9f640afb435%7C1%7C0%7C637274053798296317sdata=PxjOXbo7q1SgHazLBleI%2FDYfI5mUYUmAdFMFEgoQNco%3Dreserved=0>
-- next part --
A non-text attachment was scrubbed...
Name: temp.zip
Type: application/x-zip-compressed
Size: 5329 bytes
Desc: temp.zip
URL: 
<https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.osgeo.org%2Fpipermail%2Fqgis-user%2Fattachments%2F20200610%2Fcf19775c%2Fattachment-0001.bindata=02%7C01%7C%7C14f8af4905d04a9baabd08d80d6020a4%7C84df9e7fe9f640afb435%7C1%7C0%7C637274053798296317sdata=nkGDS4GHMBGGjmdPXE2UpuPdZMmxUeiJ2CxOrR1c1%2Fo%3Dreserved=0>

--------------

Message: 6
Date: Wed, 10 Jun 2020 12:56:46 -0400
From: David Greenewalt 
To: qgis-user@lists.osgeo.org
Subject: Re: [Qgis-user] split polygon with lines seems not working
correctly
Message-ID: <95389106-835d-3eaf-cf5f-ca255c8f0...@sover.net>
Content-Type: text/plain; charset="windows-1252"; Format="flowed"

Luigi,

The lines must fully transect the polygon in order to split.  The dotted lines 
in the image are examples of such lines.

Hope this helps,
David


On 6/10/2020 11:31 AM, Luigi Raffaele Sapone wrote:
>
> Hello
>
> I’m using QGIS 3.12
>
> I have a poly shapefile named building.shp in the zi

Re: [Qgis-user] split polygon with lines seems not working correctly

2020-06-10 Thread David Greenewalt

Luigi,

The lines must fully transect the polygon in order to split.  The dotted 
lines in the image are examples of such lines.


Hope this helps,
David


On 6/10/2020 11:31 AM, Luigi Raffaele Sapone wrote:


Hello

I’m using QGIS 3.12

I have a poly shapefile named building.shp in the zip file, and a line 
shapefile, named line.shp.


I’m using the geoprocessing function ‘split polygon by line’ using 
poly.shp as input, and line.shp as divide layer.


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’.


Is there something wrong?

Regards


___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] split polygon with lines seems not working correctly

2020-06-10 Thread Luigi Raffaele Sapone
Hello
I'm using QGIS 3.12
I have a poly shapefile named building.shp in the zip file, and a line 
shapefile, named line.shp.
I'm using the geoprocessing function 'split polygon by line' using  poly.shp as 
input, and line.shp as divide layer.
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'.
Is there something wrong?
Regards
<>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user