Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
1answer
15 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. Background I used the ...
1
vote
0answers
29 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
73 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
62 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
28 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
71 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
200 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
40 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
230 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
134 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 ...
8
votes
2answers
1k 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
79 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
290 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
95 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
190 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
269 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
1answer
535 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
93 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 ...
5
votes
1answer
245 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
39 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
253 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
90 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
235 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
1k 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
166 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 ...
0
votes
0answers
58 views

Saving z-Coordinate when converting from multipart to singlepart in QGIS?

I'm pretty new at QGIS (2.18.2) and there's a problem i can't fix by my self. My Data is a multipart-shapefile wit x-,y- and z-coordinates. I need to convert the multipart to singlepart, but when i ...
19
votes
2answers
14k 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
249 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
4k views

Convert 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
96 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 ...
4
votes
3answers
1k 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
411 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
197 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
39 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
30 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 ...
1
vote
0answers
110 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
587 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
403 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
495 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
7k 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....
3
votes
1answer
638 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
841 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 (...
8
votes
1answer
6k views

Converting selected multipart features to single parts in QGIS

I'm looking for a way to convert one or many selected multipart feature to different single part features without recreating another layer, the way Arcgis allow a user to select a multipart feature ...
3
votes
2answers
2k 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 ...
1
vote
2answers
254 views

Can one row in an attribute table be linked to many separate polygons?

Can one row in an attribute table be linked to many separate polygons? I did a series of selects, buffer, intersects on some shapefiles and my resulting table has for one row many polygons. Can this ...
1
vote
0answers
28 views

Merge without dissolve in ArcGIS for Desktop? [duplicate]

I am trying to merge several polygons in a feature dataset into one. Normally I would use a simple merge but the issue is that merge automatically dissolves. I on the other hand want to have them all ...
0
votes
1answer
980 views

How to implement close Popup for Multipolygon?

I am closing the popup for geoJson (layer.closePopup()) to make a modal to appear. The function works fine for regular geometry but fails for Multipolygon. I get the error - ClosePopup is not a ...
2
votes
2answers
1k views

Selecting MultiPart Polygons if there are buildings in at least two of the parts

my data situation: shape of polygons (some are MultiPart Poylgons) shape of building locations (Points) What I need: Select all polygons that have two ore more parts and contain one building or more ...