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
3
votes
1answer
354 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
417 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 ...
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 ...
0
votes
1answer
568 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 ...
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 ...
6
votes
1answer
130 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
602 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
293 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
41 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
34 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
160 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
18 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
996 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
650 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
640 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 ...
10
votes
1answer
20k 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
1k 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 ...
8
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 (...
8
votes
1answer
12k 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
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 ...
1
vote
2answers
463 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
42 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
1k 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 ...
2
votes
1answer
128 views

Dissolving features to only have multiparts when they are within 100 feet of one another

I want to have a selection of parcels that is dissolved by land owner and within 3 miles of a polyline. If the same owner owns parcels on opposite sides of a road (within 100 feet or so), I want the ...
3
votes
1answer
180 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
1answer
2k views

How to split polygon features using an overlaid polygon layer in QGIS?

I have a polygon layer (pictured below) that I made by vectorizing a clip from the USDA Cropland Data Layer. The low resolution of the USDA layer causes fields that are separated by narrow roads to "...
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?
4
votes
1answer
1k views

Is there a way to create multipart from singlepart features based on selected features only?

QGIS has a tool for creating multipart features in the Geometry Tools section. However, this is applied to a whole layer, which leads to the yellow selection in the image below when used (selecting ...
1
vote
1answer
239 views

Using multi-part line features in network analysis?

Cartographically is there any reason why (pro / con) multi-part line features should not be used when developing road networks for ArcGIS Network Analyst? For example, say I have a road which is 100 ...
2
votes
1answer
473 views

ST_LineMerge doesn't return LineString

I want to create a LINESTRING from a MULTILINESTRING. However in the following case ST_MultiLineString is returned: Select ST_GeometryType(ST_LineMerge(ST_AsText(' MULTILINESTRING( (-70.52570888 -33....
1
vote
1answer
2k views

Exploding multipart features in qgis using python [duplicate]

I want to explode a multipart layer to singlepart in python. I see through the qgis gui there is a way to do it under vector--geometry--tools--Multipart to Singleparts.. which does what I need, I just ...
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 ...
4
votes
3answers
558 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 ...
2
votes
1answer
888 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. ...
6
votes
1answer
5k views

“Singleparts to multipart” vs. “Dissolve”

It seems to me that the vector tools "Singleparts to multipart" and "Dissolve" do the same things. Can someone confirm this, please? Or do I overlook something?
4
votes
1answer
2k views

Discover multipart features in a layer in QGIS

I am trying to identify multipart features using QGIS version is 1.8.0. I've tried: look at the attributes table select a random feature and check in the canvas if there are multiple geometries ...
3
votes
2answers
2k views

Converting adjacent singlepart polygons to multipart? [duplicate]

I am interested in converting a polygon featureclass created via Create Fishnet (Data Management) from singleparts to multipart. QGIS has a very handy tool called singleparts to multipart that does ...
5
votes
1answer
528 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?...
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 ...
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 ...
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
0answers
1k views

Converting multipart line into single parts using QGIS?

I have a shapefile in which a bunch of the lines are multipart. Sometimes this is due to joining ways that are not quite connected (gap less than a foot of real-world distance) and sometimes the ...
7
votes
1answer
4k views

Loading a multipoint shapefile in R

This issue has only been raised in the community once, two years ago, to the best of my knowledge. I think it's high time to raise the issue again! readOGR, from the rgdal package, cannot handle ...
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 ...
-4
votes
1answer
772 views

Creating multipart polygon using ArcObjects if coordinates of each part are given? [closed]

How to create a multipart polygon if i am having the values of coordinates of each part. I am using ArcObjects in VBA or VB.NET
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 ...
29
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 ...

1
2