Re: [Qgis-user] How I solved my "Polygon" to "Mutipoligons" problem

2023-05-10 Thread Richard McDonnell via QGIS-User
Andrea,
I believe what Riccardo is getting at is that while an "ESRI Shapefile" (*.shp) 
always will have MultiPolygon as its Geometry Type, the "Polygons" within the 
shapefile are unique individual geometries.
We have this requirement in our own organisation, in reaction to Shapefiles, 
there can be no Multipart Geometries. To explain a little further, we don’t 
allow Multiple Geometries linked by a single row in a Table, each geometry has 
its own row.
I hope that clarifies things.
Kind Regards,

Richard.





——
Richard McDonnell MSc GIS, FME Certified Professional
FRM Data Management

——
Oifig na nOibreacha Poiblí
Office of Public Works

Sráid Jonathan Swift, Baile Átha Troim, Co na Mí, C15 NX36
Jonathan Swift Street, Trim, Co Meath, C15 NX36
——
M +353 87 688 5964   T +353 46 942 2409
https://gov.ie/opw

——
To send me files larger than 30MB, please use the link below 
https://filetransfer.opw.ie/filedrop/richard.mcdonn...@opw.ie

Email Disclaimer: 
https://www.gov.ie/en/organisation-information/439daf-email-disclaimer/



——
Richard McDonnell MSc GIS, FME Certified Professional
FRM Data Management

——
Oifig na nOibreacha Poiblí
Office of Public Works

Sráid Jonathan Swift, Baile Átha Troim, Co na Mí, C15 NX36
Jonathan Swift Street, Trim, Co Meath, C15 NX36
——
M +353 87 688 5964   T +353 46 942 2409
https://www.opw.ie

——
To send me files larger than 30MB, please use the link below 
https://filetransfer.opw.ie/filedrop/richard.mcdonn...@opw.ie

Email Disclaimer: https://www.opw.ie/en/disclaimer/
> -Original Message-
> From: QGIS-User  On Behalf Of Andrea
> Giudiceandrea via QGIS-User
> Sent: 10 May 2023 14:23
> To: qgis-user@lists.osgeo.org
> Cc: Andrea Giudiceandrea 
> Subject: Re: [Qgis-user] How I solved my "Polygon" to "Mutipoligons"
> problem
>
> > Riccardo riccardopani at hotmail.com
> > Wed May 10 01:10:00 PDT 2023
>
> > The problem was that the shape file I created, had the “multipoligon”
> property while in those of the standard delivery there was the simple
> “polygon” property .
> > Based on what you told me, this property cannot be changed in a shape file
> already created.
>
> Hi Riccardo,
> this make no sense to me.
> If with "shape file" you actually mean "ESRI Shapefile" (*.shp), then, as
> previously written, an ESRI Shapefile polygon layer is always a MultiPolygon
> layer which can always stores multi-part geometries. It is not possible to
> create an ESRI Shapefile polygon layer that can store only single-part
> geometries.
>
> Maybe with "shape file" do you mean a vector layer of a format other then
> "ESRI Shapefile"?
>
> Best regards.
>
> Andrea
> ___
> 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] How I solved my "Polygon" to "Mutipoligons" problem

2023-05-10 Thread Andrea Giudiceandrea via QGIS-User

Riccardo riccardopani at hotmail.com
Wed May 10 01:10:00 PDT 2023



The problem was that the shape file I created, had the “multipoligon” property 
while in those of the standard delivery there was the simple “polygon” property 
.
Based on what you told me, this property cannot be changed in a shape file 
already created.


Hi Riccardo,
this make no sense to me.
If with "shape file" you actually mean "ESRI Shapefile" (*.shp), then, 
as previously written, an ESRI Shapefile polygon layer is always a 
MultiPolygon layer which can always stores multi-part geometries. It is 
not possible to create an ESRI Shapefile polygon layer that can store 
only single-part geometries.


Maybe with "shape file" do you mean a vector layer of a format other 
then "ESRI Shapefile"?


Best regards.

Andrea
___
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] How I solved my "Polygon" to "Mutipoligons" problem

2023-05-10 Thread Riccardo via QGIS-User
Good morning,


Andrea asked me to describe to everyone how I solved the problem related to my 
first post regarding the association of more polygons to a single record.


So, I try to summarize all the steps that led me to solve the problem.


I had a reference shape file for a standard European delivery.


I had a polygon file with a record for every polygon.


I needed to associate more polygons to the same record.


I have matched more polygons to a same record with the Geometry tools/Collect 
Geometry function


I got a new shape file with more polygons associated to a same record.


According to the delivery instructions, I should have copied the shape file I 
just created into the standard one. When I did this, the graph lost the 
characteristic of associating more polygons to a single record.


The problem was that the shape file I created, had the “multipoligon” property 
while in those of the standard delivery there was the simple “polygon” property 
.


Based on what you told me, this property cannot be changed in a shape file 
already created.


What would have made more sense was to replace the standard shape file with 
file I created...it seemed not possible but in the last few days I have 
received some updates and then this substitution action was admitted, so I 
solved the problem.


Many thanks to all!


Riccardo

___
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