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
0
votes
1answer
29 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
66 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
20 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
14 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
79 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 check ...
0
votes
0answers
19 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
18 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
73 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 ...
3
votes
1answer
92 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
0answers
27 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
225 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 ...
6
votes
1answer
327 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 ...
1
vote
1answer
298 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
1answer
61 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
2answers
1k 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
74 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
287 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) ...
2
votes
1answer
123 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 ...
2
votes
0answers
34 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 ...
1
vote
2answers
133 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 ...
0
votes
1answer
1k 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
94 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
270 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
323 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 ...
10
votes
2answers
4k views

What is a multipoint shapefile?

What is the difference between a multipoint shapefile and a point shapefile. in the creation of a shapefile In ArcGIS it has the choice of point shapefile and multipoint shapefile. But I do not know ...
2
votes
2answers
114 views

Buffering with dissolve type: ALL for a big feature class doesnot create a single multipart feature

I am using buffer tool on large complicated network (260,000 features) line shapefile to create an area shapefile. This area shapefile somehow has to be dissolved to a single multipart shapefile. ...
1
vote
2answers
886 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
150 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 ...
3
votes
1answer
232 views

Float not iterable

import arcpy arcpy.env.workspace = "c:/esripress/python/data" fc = "Hawaii.shp"     cursor = arcpy.da.SearchCursor(fc, ["OID@","SHAPE@"])   for shape in cursor:        print "Total area: {}"....
3
votes
2answers
410 views

Does exist a Python library to generate polygons avoiding antimeridian issues?

If I need to generate a polygon that crosses the anti-meridian, does it exists a Python library that treat such cases (partitioning such polygon and generate a multipart polygon)?
3
votes
1answer
2k 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 ...
0
votes
1answer
230 views

Creating point feature from dictionary in ArcPy? [closed]

I'm trying to create a multipoint feature in arcpy, with information in fields attached to the points. I get how to make a multipoint feature I think, but these are just points. How to add fields to ...
4
votes
1answer
431 views

Dissolving reprojected features split into two parts by international dateline (180 degrees) in QGIS

I am trying to view the World EEZ polygon from Marine Regions.org, but centered on the Pacific Ocean. To centre the EEZ map on the Pacific ocean I followed these steps. The custom CRS from this ...
1
vote
0answers
49 views

Reoccurring multipart / slivers / topology errors using file geodatabase?

Recently I had to hand in a FGDB to state authorities. I did all topology checks and corrections as defined in their specifications (see list below). My collegue did a cross check on a the same FGDB. ...
2
votes
1answer
372 views

How to select multi-part polygons from a layer using PyQGIS

My script is - # Find all multipart features in the active layer l = iface.activeLayer() iter = l.getFeatures() geoms = [] for feature in iter:     geom = feature.geometry()     if geom.isMultipart()...
10
votes
3answers
2k views

Create dissolved buffer from multi-geometry (Union by shared attribute and spatial intersection)

I've to create dissolved buffers from multi-point input features. In the example below, the input table contains 4 features. Feature #2 consists of two point geometries. After creating a buffer, I get ...
2
votes
1answer
117 views

Converting a Multipart Polygon to a Single Line

I am dealing with a multipart polygon shapefile of Canada, where each province is its own polygon. Simply for cartographic purposes I want to display the provincial boundaries as a dashed line but ...
3
votes
1answer
315 views

Dissolve adjacent parts of multipolygon into a single Polygon

I have a multipolygon with two parts: I want to erase the line that separate both parts and get a single polygon that looks like this: I don't mind if I do it in QGIS or in Postgis, but it has to be ...
4
votes
1answer
2k views

Cut part of a shapefile

This is my first time with QGIS and maybe it is an easy question but I can't figure out how to cut part of a layer to add it to another one. In the image you can find (red circles) parts of a layer ...
4
votes
1answer
284 views

Problems updating geometry of multipart and donut polygons with Arcpy

I am trying to update the geometry of some features (polygons) to allow stretching / shrinking in the X and Y planes, but am struggling to get this to work for multipart polygons and for those with an ...
31
votes
2answers
29k 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 ...
0
votes
1answer
428 views

error creating Geoserver layer from Multipolygon PostGIS table

I imported the table from a multipolygon shapefile using PostGIS Shapefile and DBF Loader 2.2. I tried to use the 'generate simple geomtries ...' option in the tool, but got back an error : 'We ...
8
votes
1answer
7k 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 ...
6
votes
1answer
125 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
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 ...
2
votes
1answer
570 views

Does the GDAL GeoJSON driver read or write multipart geometries?

In the documentation for the GDAL GeoJSON driver, I can only see mention of primitive geometries. Does the GDAL GeoJSON driver read multipart geometries like MultiLineString? If not, is there ...
2
votes
2answers
258 views

How to force ogr to treat JSON mapserver query as “Multiline” instead of “Line” geometry type?

I have a script that obtains feature data from a JSON output of an ArcGIS REST MapServer. At present my script treats the JSON data as a "LineString" Geometry type, but, the JSON data is in fact a "...
0
votes
1answer
40 views

Joining Multiparts

How do you combine two parts of a multipart polygon into one multipart. Eg: Below: I would like to join the two highlighted multiparts of a polygon, yet keep the other multiparts (not highlighted) ...
2
votes
0answers
33 views

numbering of features when dissolving non-contiguous polygons

I have dissolved polygons together to make feature A. Some of the polygons are contiguous and some are not. Therefore, there is a unique row for each feature (singlepart to multipart). In ArcGIS or ...
2
votes
0answers
131 views

Removing overlap within multipart polygon in ArcGIS for Desktop?

ArcMap 10.1 SP 1 License: Advanced I am attempting to remove overlapping portions of a multipart without going through the steps exporting or creating a layer from each part and clipping individually....