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
85 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 ...
2
votes
0answers
21 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/" ...
1
vote
2answers
102 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 ...
1
vote
1answer
90 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 ...
7
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 ...
4
votes
1answer
102 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 ...
7
votes
1answer
6k 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
691 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 ...
5
votes
1answer
204 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
49 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 ...
0
votes
0answers
18 views

Splitting grouped polygons using ModelBuilder in ArcGIS Desktop? [duplicate]

Is it possible to split polygons in a group into individual polygons? Let's say I have 5 red individual polygons that is seen as 1 polygon as they are all grouped together, is there a way of ...
0
votes
0answers
38 views

Multi-polygon shapefile geometry incorrect when imported as FC in gdb

I am attempting to import a multi-polygon shapefile (the shapefile was generated from a postgis table, I did not generate this file) into a file geodatabase manually (right click, select import, run ...
1
vote
0answers
56 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 ...
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 ...
4
votes
2answers
174 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) ...
8
votes
2answers
7k 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
32 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 ...
26
votes
2answers
24k 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 ...
13
votes
3answers
40k 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.
0
votes
1answer
708 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
67 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
251 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 ...
4
votes
1answer
255 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
546 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 ...
2
votes
2answers
92 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. ...
10
votes
2answers
3k 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 ...
6
votes
1answer
110 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 ...
1
vote
2answers
651 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 (...
2
votes
2answers
353 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)?
1
vote
0answers
132 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
211 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: {}"....
27
votes
2answers
4k views

Benefits of Multipart Features?

Multipart points, lines, and polygons are implemented in nearly every GIS, but what benefits, if any, do they provide? In a relational database attributes shared by different features can be stored ...
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 ...
0
votes
1answer
183 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
342 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
48 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
322 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
107 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
290 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
232 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 ...
2
votes
1answer
723 views

How to merge single polygons to multi part polygons by maximum distances?

I have a polygon layer with a land-use class and ID for every polygon. How can I merge polygons (into multi part polygon) which do not adjoin, but are not further than x meters apart from each other. ...
0
votes
1answer
355 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 ...
5
votes
1answer
472 views

Changing order of parts in multipart geometry using ArcGIS for Desktop (or ArcPy)?

Is it possible in ArcGIS to change order of the parts in multipart geometry? In the context menu i founded "insert before" , "insert after" but it never comes active ... or is it possible via python?...
3
votes
1answer
166 views

Dissolve singlepart features into multipart based on another polygon?

I'm working on generating a water feature layer that eliminates a lot of the swamp/marsh areas in my county. Using raster analysis (iso unsupervised cluster, majority filter, boundary clean, etc) and ...
1
vote
0answers
800 views

Multipart to Singlepart and Explode not working in ArcMap? [closed]

I am trying to separate multipart polygons, however in case of Multipart to Singlepart program seems to be working for around 15 minutes and then it crashes and when I try to Explode I get the error:"...
1
vote
2answers
245 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 "...