[Qgis-user] Problem Noticed with QGIS
Richard Duivenvoorde
rdmailings at duif.net
Tue Nov 29 08:20:32 PST 2022
On 2022-11-29 16:17, Richard McDonnell via Qgis-user wrote:
> We run the Check Geometries Tool and it flags the data as Geometry
> Type Error. So I run the Multipart to Singlepart tool and….well
> that's where the problem is…
Which 'Check Geometries Tool'?
What kind of data/file are you 'checking'? Shape file or Geopackage?
> 1. If I use the option [Create temporary Layer] it produces a
> Singlepart Geometry as Expected, If I save the output to a File, the
> resultant geometry is stated as Polygon (MultiPolygon) Its the same
> for Linestrings also.
If you say "save data to File": do you mean Geopackage?
> Now I did find this.. https://github.com/qgis/QGIS/issues/50720 [1]
> which flags the same issues, but states that its down to the Shapefile
> Specification.
I read that issues as: there is (for QGIS or other tools), no way to
write a singlepart line or polygon in a shapefile as the shapefile spec
would not have a way to write that types in the shapefile.
So when you'll ask a shapefile 'what kind of geoms have you in your
belly' it could actually not tell, unless it goes over all geoms and
check what is in it...
Do you have examples of files which are OK?
What kind of tools do you use to check?
What does for example 'ogrinfo' report to you about your 'files'?
Regards,
Richard Duivenvoorde
More information about the Qgis-user
mailing list