Questions tagged [singlepart]
The singlepart tag has no usage guidance.
32
questions
0
votes
1
answer
77
views
Reason for existence of single parts vs. multipart layers
Vector layers can consist of single part or multipart layers. What is the reason for creating separate formats for that?
It is perfectly possible to create a multipart layer and still create just one ...
0
votes
0
answers
55
views
QGIS overlay_nearest multi_point type to single_point type layer
This is follow up to this question answer
I have in QGIS 3.22 two point layers:
multipart type point layer
singlepart type point layer
Multipart pointlayer Geometry generator algorithm:
...
0
votes
0
answers
29
views
How to split unintentionally conjoined features into single parts at scale? [QGIS]
I have this layer of linear features which I produced from vectorising a raster image. The features in question are berry plantations that are more or less consistent lengths and widths, but some ...
4
votes
1
answer
478
views
Multipart to Singlepart in ogr2ogr
How can I convert a Multi Polygon GPKG to single Polygons using ogr2ogr? (I'm working in a Jupyter Hub environment without access to QGIS.)
0
votes
0
answers
62
views
Creating one line for multiple data
Using QGIS, I want one line representing three data in the attribute table. I merged and used the multipart to single part. Only one data in the attribute table appears. Is it possible to get multiple ...
4
votes
3
answers
506
views
Difference in QGIS multipart to single parts and geopandas.explode()
I noticed that QGIS tool multipart to single parts produces different results than geopandas explode when used to MultiLineString geometries.
Having a multiple lines which are randomly split along ...
3
votes
1
answer
317
views
Converting multipart polygon geometry with true curves to single parts loses true curves using ArcPy with ArcGIS Pro
I ran some test code below which creates four feature classes in a test geodatabase using ArcPy geometries in ArcGIS Pro 2.9.2:
MultiPartPolyGeom has one multipart polygon with two parts (one a 3-...
2
votes
0
answers
44
views
Output singlepart features by default for tools and algorithms in QGIS
In QGIS, many algorithms and tools return multipart geometries. For further processing, a conversion Multipart to singleparts is necessary. This is a bit cumbersome.
To make just one example: when ...
4
votes
1
answer
499
views
Inspecting individual Polygons of MultiPolygon in QGIS
Using QGIS's Identify results, I can highlight and inspect an individual 'feature', in this case a country geometry. In reality, the geometry is a MultiPolygon and I would like to inspect individual ...
1
vote
0
answers
196
views
ArcGIS Server spatial query returns geometries only if they intersect all sub-polygon in multipart polygon
Single-part polygon as an input is a common use case of spatial query, it works fine.
However, I am encountering a case that I need to take a multipart polygon as an input to query some point features....
1
vote
1
answer
458
views
Keep all individual raster pixel after applying the Raster to Polygon tool
I have a raster with a float data type, which I want to convert to polygon maintaining each pixel. I mean that each pixel will be a single part polygon on the output polygon layer.
However, when I ...
2
votes
1
answer
100
views
Merging two different polygons to single polygon
I have a raw data with number of polygons and sub polygons in it. Attached Snap is an example.
I can simply merge two polygons by selecting both. But i can't do that to the huge data. Is there any ...
3
votes
1
answer
294
views
Split feature by polygon and do multipart to singlepart in QGIS
I am searching for a tool or a combination of tools in QGis to get done some line-cuttings. They have to follow some rules:
Lines should be cut at the borders of a raster. For example, the purple ...
1
vote
0
answers
46
views
Shifting multipart labels for an entire layer results into disappearing labels
When I attempt to move a multipart label, all of the labels asides the one I am moving disappear. How can I manually move a label and preserve all of the corresponding multipart labels using QGIS 3.60?...
0
votes
0
answers
23
views
Part of feature belongs to wrong feature [duplicate]
Is there a quick way (without having to create new layers) to make the island circled in the bottom left a part of central america (dark blue) rather than a -part of Central France (yellow)?
0
votes
1
answer
21
views
Segmenting a feature class based on the geometry of a multipart feature class
I have a single feature class representing tree canopy over the span of several cities. I want to segment it so that I can calculate the percentage of canopy per census tract. I'm using ArcMap 10.7.1
...
0
votes
1
answer
2k
views
Dissolving polygons to single part features with Python (shapely and fiona)?
I used the code from Dissolving polygons based on multiple attributes with Python (shapely and fiona)? to dissolve a shapefile using shapely and fiona. However the output creates multi-part geometries....
11
votes
2
answers
6k
views
Turning a single MultiPolygon into many small polygons?
I have a large GeoJSON file with a single very complex MultiPolygon, and I would like to turn it into an identical file with many small polygons.
How can I do this? I can use ogr2ogr or mapshaper or ...
4
votes
2
answers
8k
views
Splitting multipart polygons to single part in R?
I am looking for the equivalent of "Convert multipart features to multiple singlepart features. Creates simple polygons and lines" in QGIS and similar in ArcGIS for R. Various analyses create ...
1
vote
0
answers
292
views
Promoting to multipart using PyQGIS?
I am creating a code that aggregates neighbouring polygons if they have similar value on the field 'DN' and if they are closer than 50 m.Then I want to iterate this 3 times.
I could already get the ...
4
votes
2
answers
2k
views
Bug of QGIS when using "multipart to singlepart"?
I used yesterday, in QGIS 3.2.3 the tool to convert multiline to a single line ("multipart to single part").
I chose the option of the command "multipart to single part" the geometry feature (line) ...
3
votes
2
answers
2k
views
Turn dissolved polygons to singlepart in geopandas?
I have performed a dissolve but I want to turn it to singlepart.I have searched in the docs but haven't seen something that does it.
What do you think?
Actually, I want to make it singlepart and then ...
1
vote
2
answers
3k
views
delete segments from road layer - QGIS
I have a road layer, with two locations points. I have created a shortest path analysis between these points.
Now, I would like to delete some segment from the road network. I would like to delete (...
1
vote
0
answers
229
views
QGIS lines multipart to singlepart without splitting at self-intersection
I have a line layer and a vector grid. Now I want to count the lines in each raster. First I split the lines by intersecting the line layer with the vector grid.
Second, I need to do a multipart to ...
5
votes
2
answers
12k
views
Dividing multipart polygon into many polygons using QGIS
I have a polygon which is actually composed of many polygons but it results as unique geometry in the shapefile. It's easier to explain with a picture. The yellow parts are in my shapefile a single ...
8
votes
1
answer
638
views
QGIS/Spatialite cluster analysis with density
I am trying to analyse a large set of points (2 millions) over a set of polygons (3000), and particularly find clusters of points. Doing it in QGIS was taking too long/crashing the computer so I ...
6
votes
1
answer
195
views
Bounding box styling of individual parts of multipart objects
In my QGIS project I have a multi-linestring vector layer where each multi-linestring feature consists of small not connected linestrings.
I would like to show a bounding box around each of the parts ...
6
votes
3
answers
6k
views
Determining if polygon shapefile is multipart or singlepart using ArcMap
The ArcMap Properties dialog does not indicate if a shapefile contains multipart or singlepart polygons.
Is there some other way to identify if a polygon shapefile (or any feature class, for that ...
11
votes
3
answers
42k
views
Converting Shapely MultiPolygon to Polygon: Technique doesn't always work
In order to get the exterior coordinates I need to convert a shapely MultiPolygon to a Polygon. I do it like this:
if poly.geometry.type == 'Polygon':
x, y = poly.geometry.exterior.xy
elif poly....
1
vote
0
answers
316
views
Singlepart to multipart not producing results [closed]
I have a line - a street downloaded from OSM. It is in separate parts geometrically, but is contained in one record in the attribute table. That means it is only one row. I would like to split this ...
9
votes
1
answer
18k
views
Converting selected multipart features to single parts in QGIS
I'm looking for a way to convert one or many selected multipart feature to different single part features without recreating another layer, the way Arcgis allow a user to select a multipart feature ...
13
votes
3
answers
47k
views
Splitting multipart polygon into singlepart polygons using ArcMap
How do I split a multipart polygon which consists of several polygons into singlepart polygons so I can delete each polygon without deleting them all at one time?
I am using ArcMap 10.0.