Questions tagged [singlepart]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
214 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....
1
vote
1answer
102 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 ...
1
vote
2answers
789 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
0answers
57 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
2answers
181 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) ...
0
votes
1answer
399 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
2answers
684 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
0answers
135 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 ...
2
votes
1answer
1k views

How to divide a 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 ...
5
votes
0answers
289 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 ...
6
votes
1answer
112 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 ...
5
votes
3answers
2k views

How to determine if a polygon shapefile is multipart or singlepart?

The ArcMap Properties dialog does not indicate if a shapefile contains multipart or singlepart polygons. Is there some other way to identify if a polygonal shapefile (or any feature class, for that ...
7
votes
1answer
11k 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
0answers
269 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 ...
8
votes
1answer
9k 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 ...