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
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/" ...
4
votes
1answer
101 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 ...
5
votes
1answer
202 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
82 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
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
37 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
2answers
682 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
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 ...
4
votes
2answers
173 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) ...
1
vote
1answer
89 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
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 ...
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 ...
0
votes
1answer
702 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 ...
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 ...
2
votes
2answers
91 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
648 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
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: {}"....
2
votes
2answers
350 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)?
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 ...
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 ...
0
votes
1answer
354 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 ...
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 ...
6
votes
1answer
109 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 ...
2
votes
1answer
540 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 ...
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 "...
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
119 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....
2
votes
0answers
17 views

How to create one attribute containing multiple adjacent parcels?

I'm trying to upload town parcel data to my Garmin GPS from Esri. Garmin registers each attribute as an entirely different file, and requires you to 'turn on' each file to display it on the GPS. This ...
1
vote
0answers
799 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:"...
4
votes
2answers
503 views

How to place only one symbol on the centroid of a multipart polygon?

I am using QGIS version 2.14.1 (Essen). I would like to place symbols on the centroids of my data. The problem is that some of my data has multi-part polygons, which means it places the symbol at the ...
1
vote
1answer
607 views

Issues with creating an address locator using multi-point features in Arcmap/catalog 10.4?

The error I get when trying to create this locator is "000042: Failed to create the address locator which states that I must - have permission to write to the disk/database have enough disk space ...
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....
2
votes
1answer
916 views

ArcPy getPartCount always returns 1 on multipart polygons?

in this post Why does the method partCount in ArcGIS always give back a value of 1? a problem occured that could easily be reproduced. partCount is always 1! Is it a wrong usage of partCount or did ...
7
votes
4answers
1k views

Label only the largest polygon of a multi-part polygon layer in QGIS

I am exploring the new Label engine of QGIS 2.12.2 and I found it a great improvement. However, I discover it is not yet up to ArcGIS "standard" when dealing with multipart polygons. As a workaround (...