Questions tagged [multipart]

A digital representation of a place or thing that has more than one part but is defined as one feature because it references one set of attributes.

Filter by
Sorted by
Tagged with
1
vote
2answers
53 views

GeoPandas clip produces MultiPolygons instead of Polygons

I have a large polygon shapefile and a small polygon shapefile. Both shapefiles are in the same coordinate system. What I do next is, clip small polygons within large polygon boundaries using ...
4
votes
2answers
127 views

Removing unknown shape from polygon shapefile in QGIS

I have a shapefile of the region of districts. When I zoomed in, I found a region under the district that shouldn't be here. I want to remove it and when I go down in toggle editing, delete part it ...
3
votes
1answer
43 views

Cutting polygons with MultiLine layer using QGIS

I'm trying to cut a polygon layer with a line I've created in part by copy-pasting lines from various source shapefiles and in part by hand-drawing segments to connect those. For clarity, the end goal ...
0
votes
1answer
20 views

Multi- to single-part on a subset of features

I have a question about the multi-to single-part function. How can I apply this process to a specific multipart? I have several multiparts, but only want to resolve one of them into its objects. ...
0
votes
0answers
15 views

Splitting polygon from multi polygon feature using QGIS [duplicate]

I'm working with a map of the world my problem is places such as France and French Guiana are one feature which contains multiple polygons, I need to extract the polygon(s) I need and keep it in the ...
3
votes
1answer
57 views

Modifying specific vertices of MultiLineString using PyQGIS

First of, this question is related to this one: Snapping lines' start_point/end_points to the closest point features to them. I am trying to modify my answer to make it work with MultiLineStrings. ...
0
votes
1answer
56 views

Calculating/obtaining a "centerpoint" inside a multipolygon entity with FME software?

Obviously, this point does not necessarily have to be the real centroid, but it does have to be a, only one, single interior point of each multipolygon. What I have found is the CenterPointReplacer ...
2
votes
2answers
31 views

Making multiple singlepart features from one multipart feature using ArcGIS Pro

I am working with ArcGIS Pro 2.8. I have a multipart feature class with polygon geometry, and when I select a row with OBJECTID = 28, I observed that it is targeting so many features in the map. Is ...
0
votes
0answers
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....
1
vote
0answers
38 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
0answers
43 views

Merging MultiPolygon and MultiLinestring

I want to merge a Multipolygon with a MultiLinestring however I cannot merge the data as they are of different types. One solution was to create a minimal buffer around the MultiLinestring and merge ...
0
votes
0answers
16 views

QGIS 3.16: inappropriate multipart polygons

When I am editing polygons, with snapping and avoiding overlaps options activated, I often have the same issue : this creates a multipart polygons with a lot of inexisting parts between the polygons I ...
1
vote
1answer
46 views

Polygon features to parts of a multipart feature with chosen attribute source (QGIS)

In QGIS 3.16. I have a shapefile (polygon) layer with an attribute table. What I'd like to do is select certain polygon features and turn them into parts of one multipart polygon feature, without ...
1
vote
2answers
71 views

Writing multipart features in INTERLIS using FME

Trying to export a geopackage into an .xtf I run into the following problem: unexpected geometry type COM.safe.fmeobjects.FMEMultiCurve The .ili looks like this (simplified for posting here) CLASS G (...
0
votes
0answers
34 views

Getting centroid of multipart polygon using ArcPy

I am trying to get the center of a multipolygon, I have tried doing: with arcpy.da.SearchCursor(fc, ['SHAPE@']) as cursor: for row in cursor: multipoly = row[0] centroid = ...
1
vote
1answer
38 views

Converting overlapping multipart lines into polygons in ArcGIS Pro

I have a number of multipart lines that form rectangles, each with a unique identifier. Imagine having building footprints as lines, but many intersecting one another like in the attached image. When ...
4
votes
1answer
72 views

Selecting features that intersect features of another polygon with spatial index

Based on the answer of @mgri here: https://gis.stackexchange.com/a/224954/164953 I tried to select the features of a multilines layer intersecting less or more than 2 features of a multipoints layer. ...
4
votes
1answer
40 views

Splitting Multipart geometries using Virtual Layer in QGIS

I have a Virtual layer already set up and working, the only thing that could make it better is getting rid of multipart geometries. The query is: SELECT ejido, circ, radio, mzna, cc, ten, ...
2
votes
2answers
60 views

Finding area of individual multipart parts using PyQGIS

Im trying to find the area of each part in multipart polygons. I know some polygons have multiple parts, so why cant I access the individual polygon parts like this (why is parts list empty): lyr = ...
2
votes
2answers
77 views

Select vertices, including multi-part number

I have an Oracle 18c table with an SDO_GEOEMTRY column: create table a_test_sdo_geom (shape mdsys.sdo_geometry); The table has a row that is a multi-part feature. insert into a_test_sdo_geom (shape) ...
0
votes
1answer
15 views

Multi-part ST_GEOMETRY: Does the feature-part array start at 1 or 0?

Oracle 18c; ArcGIS 10.7.1 I have an SDE.ST_GEOMETRY polyline FC that has multi-part features. Question: What method does ArcGIS use to assign numbers to the feature-parts in the array? Do the part ...
1
vote
1answer
81 views

How can I collect geometries from a singlepart shapefile to a multipart using GeoPandas or other non-ArcPy solutions?

I've tried to use the geopandas.collect.tool to do this using the snippet below, but it clears the fields from the input shapefiles and does not successfully collect geometries. doc: https://geopandas....
4
votes
0answers
600 views

Convert the geometry column of a GeoDataFrame with mixed geometry types to a unique multi-type

I have a GeoDataFrame where I have a mix of geometry types in its geometry column, some are multi-geometry types, some are single geometry types, some are empty geometry types, and others are None (...
1
vote
1answer
31 views

QGIS Create Feature for closed Polygons

I have one single layer that consists of different polygons. In the attribute table all the polygons are summarized in one feature (see picture for both). I am looking for a way to split up the ...
3
votes
1answer
112 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
0answers
23 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?...
1
vote
1answer
62 views

PostGIS where clause not working as expected with multipart geometry

I am running an intersect from a subset of one table on itself (this is part of a larger parameterized query but the issue in question arose out of this particular situation) using a CTE (zones in the ...
1
vote
1answer
198 views

Split Raster (by value) to Multi-Part Polygons

I want to convert a raster to multi-part polygons, using the raster value to determine which polygon each cell becomes a part of. I have provided an example of what I am looking to achieve below, ...
0
votes
0answers
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)?
1
vote
0answers
43 views

Detaching part of feature without detaching all parts from each other?

On this map, Denmark and Greenland are one feature, and I need them to be two features. How do I split them apart? If I use Singlepart to Multipart, I create a new layer where there is a feature for ...
1
vote
1answer
246 views

Output data of NDVI of multiple regions into table from GEE

I am using GEE for NDVI calculating. There are 150 more counties in USA. I am now stuck in outputting the NDVI ("interest" at code) of each counties listing with "OBJECTID" at the ...
0
votes
1answer
19 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
3answers
181 views

Splitting map, island tied in same polygon as mainland using QGIS

I have a map originally as a shapefile. The map includes a country (mainland) and an island far away from the mainland. I want to cut the map so that only the mainland is shown and save it again as a ...
1
vote
0answers
210 views

Forming Multipart Geometries (MultiPolygons) in PyQGIS

I am creating my own map tool which is supposed to be able to draw multipart polygons and upload them to the database. ( I know QGIS 3.4 has multipart geometry tool bar built in but because I want to ...
1
vote
0answers
35 views

Splitting building outlines polygon into individual features/buildings using ArcMap [duplicate]

I have ONE Building Outlines Polygon where instead of all the buildings being split into their own features they are all in one feature. How can I split these into individual features? I would like ...
3
votes
2answers
42 views

Applying a Single Gradient Fill Color to a multipart feature

So I have an indicatrix covering a world map for the purpose of illustrating distortions for different projections. I want the circles of the indicatrix to share the same gradient fill color, as ...
0
votes
1answer
73 views

Geocortex and ArcMap

I am currently working with a shapefile made up of multi-part polygons symbolizing zoning areas. Geocortex is a web-based service used to display your data. When I click on a larger polygon in ArcMap ...
1
vote
1answer
96 views

Collecting Geometries using ArcMap

Objective: Convert different single part features with same attribute in a field (say 'Country') to a single multipart feature while retaining original geometries. I have been looking for an ArcMap ...
1
vote
0answers
42 views

Creating unique points at the start of multipart polylines in ArcGIS Pro

I have polylines from a network analysis representing public transport trips. These are multipart polylines. I need to identify the starting point for each trip. However, using vertices to points to ...
1
vote
0answers
86 views

Splitting multipatch based on whether features are connected

I am using ArcGIS Pro 2.4.2. I have an OBJ file of several hundred buildings that, when imported using the Import 3D Files tool, is converted to a multipatch file with a single multipart feature for ...
4
votes
0answers
321 views

Create new MultiPolygon with PyQGIS

I want to create a new MultiPolygon shapefile, I tried this code Mp_Layer = QgsVectorLayer('MultiPolygon?crs=EPSG:26191', 'layer', 'memory') QgsProject.instance.addMapLayer(Mp_Layer) But when I ...
0
votes
0answers
74 views

Copy features from a SQLite multipolygon to SQLite polygon layer

I need to copy features from a multipolygon layer that contains multipart features into a polygon layer in SQLite in QGIS. I know I can run the "Multiparts to Singleparts" algorithm and simply copy ...
2
votes
0answers
31 views

Creating multipoints from points and setting incrementing M value in spatialite

I have a layer of points, which I want to group into multipoints grouping by some column. This part is easy: SELECT name_pre, CastToMulti(GUnion(geometry)) AS geometry FROM sp_survey GROUP BY ...
2
votes
1answer
162 views

Removing space between multipart polygon in QGIS 3?

I am looking for an efficient method to edit and remove the space between multipart polygons in QGIS 3. I have an example below which should hopefully be clear: Multipart polygon Final result I ...
4
votes
1answer
294 views

Measure collected polygons in Geometry Generator, avoiding extra texts from multipart polygons

I combined a set of polygons on the first instance of Geometry generator using something like this: buffer(buffer(collect( $geometry, concat("MZNA","REGLABEL")), 0.1), -0.1) Buffers are meant to ...
2
votes
1answer
2k views

What is difference between LineString and MultiLineString? [closed]

What is the difference between Linestring and multiline string, and things like compound curve, curve polygon, multicurve, and multisurface?
3
votes
1answer
136 views

Splitting features of multi-part polygons according to condition(s) in QGIS

I have a multi-part polygon with a large number of irregularly-shaped features (>600 features). I would like to split them into smaller sub-features/segments and assign a unique id to these smaller ...
2
votes
0answers
47 views

How to delete a file after processing an algorithm in QGIS 2.18?

I am trying to delete an intermediate file ("Temp_merged.shp") after running the singleparts to multiparts algorithm in QGIS 2.18. import glob, os, processing path_to_shp = "C:/Temp/Tracks/" ...
6
votes
1answer
941 views

Using Dissolve and Multipart to Singlepart in QGIS?

I started with a network of polylines. In QGIS I used dissolve to 'merge' all lines according to an attribute value. This did exactly that, but included non-connecting lines which I don't want. I ...
11
votes
2answers
2k views

Is there a "Merge Parts" tool in QGIS?

In the advanced digitizing toolbar, QGIS has these 3 tools: Split Features, Split Parts, and Merge Features. Is there a tool or equivalent algorithm for the logical fourth one: "Merge Parts"? This ...