Questions tagged [singlepart]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
14 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 ...
user avatar
  • 11
4 votes
2 answers
45 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 ...
user avatar
  • 129
3 votes
1 answer
81 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-...
user avatar
  • 63.7k
2 votes
0 answers
40 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 ...
user avatar
  • 40k
0 votes
0 answers
10 views

ArcGIS Server spatial query returns geometries only if they intersect all sub-polygon in multipart polygon [duplicate]

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....
user avatar
  • 121
4 votes
1 answer
129 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 ...
user avatar
  • 155
1 vote
0 answers
54 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....
user avatar
  • 121
1 vote
0 answers
79 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 ...
user avatar
  • 301
2 votes
1 answer
46 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 ...
user avatar
  • 259
3 votes
1 answer
160 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 ...
user avatar
  • 33
1 vote
0 answers
27 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?...
user avatar
  • 133
0 votes
0 answers
21 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)?
user avatar
  • 121
0 votes
1 answer
20 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 ...
user avatar
0 votes
1 answer
1k 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....
user avatar
6 votes
2 answers
4k 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 ...
user avatar
  • 2,923
3 votes
2 answers
5k 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 ...
user avatar
  • 1,825
1 vote
0 answers
182 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 ...
user avatar
4 votes
2 answers
1k 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) ...
user avatar
1 vote
1 answer
1k 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 ...
user avatar
1 vote
2 answers
2k 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 (...
user avatar
  • 323
1 vote
0 answers
203 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 ...
user avatar
  • 277
4 votes
1 answer
7k 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 ...
user avatar
  • 63
7 votes
0 answers
498 views

QGIS/Spatialite cluster analysis with density

beginner here 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 ...
user avatar
  • 641
6 votes
1 answer
155 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 ...
user avatar
  • 4,292
6 votes
3 answers
5k 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 ...
user avatar
  • 6,973
11 votes
2 answers
31k 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....
user avatar
1 vote
0 answers
303 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 ...
user avatar
8 votes
1 answer
15k 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 ...
user avatar
  • 7,478
13 votes
3 answers
45k 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.
user avatar
  • 469