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
1answer
61 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 ...
4
votes
3answers
555 views

How to extract nodes with PostGIS to a multipoint geometry

I have a line in a PostGIS table test_line. I want to extract it's nodes into a multipoint geometry. I tried the following: SELECT ST_Collect((ST_DumpPoints(the_geom)).geom) FROM test_line; But it ...
1
vote
0answers
19 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
27 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, ...
2
votes
1answer
157 views

Get pixel values from a raster using a multipartpolygon

I'm trying to get the mean value of pixels from an NDVI raster, that intersect the geometry of a FeatureCollection, that is a multipart polygon which represents my sample area, but I can't find the ...
19
votes
4answers
38k views

Converting MultiLinestring to Linestring with PostGIS

I have a multiline string and want to convert it to a linestring in order to use some functions that only work with linestrings. I used ST_Dump() and got a collection of my geometries. If I merge them ...
9
votes
2answers
865 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 ...
2
votes
1answer
603 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?
0
votes
1answer
16 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 ...
1
vote
1answer
109 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
0answers
20 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)?
2
votes
1answer
23 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 ...
1
vote
0answers
41 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 ...
0
votes
0answers
25 views

Labeling polygon with several parts with lines converging on one label using ArcMap

I'm trying to label in ArcMap 10.6 a polygon with three parts. With the labeling manager, and I've arrived to label the three parts with three labels (image 1). It doesn't look horrible but it takes ...
38
votes
2answers
41k views

Understanding difference between Polygon and Multipolygon for shapefiles in QGIS?

Creating Scratch layer gives me a choice between Polygon and Multipolygon, so I started wondering how should I make use of them. Reading a new book "Mastering QGIS" (through this answer by Joseph to ...
1
vote
2answers
195 views

Connect multipart polygon with lines to one label

I have several one-part and multipart polygons that I want to label. I Set X and Y values to move the label to a certain position and want to connect the label to the polygon using the following ...
4
votes
1answer
184 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 ...
0
votes
3answers
82 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
77 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 ...
3
votes
1answer
3k 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 ...
0
votes
0answers
19 views

How Should I convert a multi parts feature in a polygon layer to the multi features? [duplicate]

I have a multi part polygon in QGIS consist of three parts. I would like to split this to three separated features with the same attribute. How should I do this?
4
votes
0answers
180 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
1answer
51 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 ...
0
votes
0answers
664 views

Splitting shapefile into separate shapefiles using ArcGIS Desktop [duplicate]

I have a multipart shapefile, which I would like to split into many individual shapefiles (by FID for example). Is there some way to do this in ArcGIS 10.x without using python?
1
vote
1answer
70 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
21 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
43 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 ...
2
votes
1answer
1k 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 ...
5
votes
3answers
3k 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 ...
0
votes
0answers
34 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
22 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
92 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 ...
2
votes
0answers
31 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/" ...
8
votes
1answer
2k views

Creating Multi-Part Polygons that touch internally using ArcGIS Desktop?

I have a set of parcels as illustrated in the image below. There are currently no multi-part features in dataset. What I would like to do is to merge (not the right word) all of the parcels with same ...
6
votes
1answer
511 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 ...
10
votes
1answer
10k views

Converting Polygon to MultiPolygon with Shapely?

I'm writing code that loads data into a database. I have to do some validation/clean up of the data before inserting it. One of the requirements of the database is that this particular table only ...
2
votes
1answer
5k views

Converting multipoint geometry to ONE single point using ArcGIS Desktop?

I have an ArcGIS file geodatabase with two featureClasses. One is a point featureClass which represents the centroids of the cells of a regular grid. The second represents the corners of each grid ...
1
vote
2answers
3k 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
1answer
78 views

Update geometries with ST_UnaryUnion at TRIGGER

We are currently working on database with multipolygons and we're using QGIS 3. Sometimes it's very useful to work with parts (each page of document is separate part of multipolygon), however at the ...
1
vote
0answers
109 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
517 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) ...
9
votes
2answers
11k views

Converting huge multipolygon to polygons

I have a shapefile with some huge multipolygons, with 100.000's of parts. What would be the easiest way to split them to singlepart polygons? I'm looking for something like QGIS ”Multipart to ...
2
votes
0answers
38 views

Error creating new polygons. QGIS

When I work in QGIS and try to fill gaps between polygons creating another one over them (project snapping settings are selected as Avoid intersection), I hope "fill" this gap with just one polygon ...
13
votes
3answers
44k views

Splitting multi-part polygon into single polygons using ArcGIS Desktop?

How do I split a multipart polygon which consists of several polygons into single polygons so I can delete each polygon without deleting them all at one time? I am using ArcGIS Desktop 10.0.
1
vote
1answer
2k views

Buffer with dissolve - Geopandas - unary_union multipolygon

I am trying to buffer points which are quite close together, and then dissolve the overlapping buffer polygons into larger polygons. After doing the buffer is where I have the issue. I have tried ...
0
votes
1answer
127 views

Why are multipart features not allowed in Geometric Networks?

I'm beginning to familiarize myself with Geometric Networks in ArcGIS Desktop, and according to About Verify Network tools and commands, multi-part features are not allowed, but they do not explain ...
2
votes
0answers
288 views

How to find a polygon error in QGIS?

I loaded the following multipart polygon in QGIS which consists of three separate polygons. The highlighted (yellow) polygon consists of the bigger upper part and the smaller lower part. My aim is to ...
5
votes
1answer
427 views

Export multipolygons into a GeoPackage

In FME, I use the Aggregator to merge polygons based on one attribute (desnat in my example file). When the output is Shapefile, multipolygons are created and all works fine. When the output is OGC ...
5
votes
1answer
608 views

Creating Multipart Line from coordinate pair lists using Geometry objects in ArcPy?

I am developing a script in which I want to create a multipart line geometry. For example: I have one array of points a,b,c and second array of points e,d,f. I want to create one multipart line ...
3
votes
2answers
3k views

Merge single points to multi point geometry

Is it possible to transform a point shapefile in single part geometry to a shapefile with multi-point geometry based on an attribute. e.g. in the file are 50.000 records in 700 categories, now I want ...