Questions tagged [dissolve]

To merge features based on specified attributes.

Filter by
Sorted by
Tagged with
2
votes
2answers
558 views

Seeking ArcPy dissolve to multipart workaround for when arcpy.Dissolve fails [on hold]

I have an ArcPy script in which I am using arcpy.Dissolve on a single feature class with multiple features to get a single multi-part feature in the output. The script is successful only part of the ...
0
votes
1answer
102 views

Preventing GDAL-dissolve from ignoring attribute encoding?

Given a huge shapefile which needs desolving by one attribute field to reduce redundancy. The GDAL dissolve functionality does that quite swiftly but the output attributes change the encoding so äöü ...
1
vote
0answers
23 views

Adding attributes from surrounding feature (exclave problem)?

Here is the problem: I am creating polygons based on the result of closest facility tool in Arcmap. Polygons consist of municipalities with the same closest hospital (impedance is a travel time, not ...
1
vote
1answer
63 views

Problems with dissolving layers [QGiS 3.4.1]

I am currently working on a set of data that defines restricted areas for use of photovoltaic modules. This set of data amounts to 270.00 polygons in total [with their own geometry]. For simpler ...
1
vote
2answers
74 views

Merge polygons based on Field A or Field B

I have a parcel layer I need to dissolve based on Owner OR Postal Address. I know I can always dissolve based on Owner AND Postal Address, but that is not what I need. So if: owners are different ...
2
votes
1answer
59 views

How to dissolve overlapping polygons using GeoPandas

Assuming the following: from shapely.affinity import translate from shapely.geometry import Polygon import geopandas p0 = Polygon( [(0,0), (2,0), (2,2), (0,2)] ) p1 = translate(p0, xoff=1) p2 = ...
1
vote
0answers
35 views

Use of QGIS/GRASS/SAGA procedures on Geometry Generator

Im new at QGIS, started 2 weeks ago. I'm trying to automatize the display of a map and get rid of some "duplicated" layers and all the extra work. I need to know if SAGA's dissolve can be used in the ...
3
votes
1answer
41 views

Calculating field while dissolving

I have two polygon Layers, A and B correspondingly. The polygons of B are lying on top of layer A and also overlapping the polygons of A (I made an example of the attribute table for better ...
0
votes
0answers
22 views

GeoPandas Dissolve splits polygons into parallel strips?

I have polygons that is converted from raster dataset with Raster Pixels to Polygons in QGIS. I would like select some polygons based on the attribute value and merge them using Dissolve function in ...
2
votes
1answer
485 views

Dissolve not based on attribute in GeoPandas?

I would like to dissolve a shapefile regardless of attribute content using geopandas. The regular dissolve can be accomplished with something like this: import geopandas all = geopandas.read_file(...
2
votes
0answers
33 views

Preventing gaps on polygon shapefile being filled automatically when exporting from QGIS?

I classified raster dataset and converted raster dataset into polygon shapefile, then merged adjacent grid polygons using QGIS Dissolve function (figure 1) creating a temporary file. However, when I ...
1
vote
0answers
36 views

Merging adjacent polygons using Geopandas by avoiding filling gaps

I have raster dataset that I would like to convert into vector polygons. Raster to polygon conversion works pretty good. But, having problem when I try to merge adjacent polygons using Dissolve ...
0
votes
0answers
72 views

Dissolve output not dissolved in ArcMap?

Even though polygons of an input feature have the same attributes/dissolve fields, the output does look like in the picture below. Does anybody know what the problem is? This problem occurs only in ...
4
votes
1answer
109 views

Selecting which polygon's attributes to keep after dissolve

I have two polygons, after doing a dissolve I can't choose which polygon's attributes the new dissolved polygon will have. I tried to find a pattern by checking if the bigger's polygon attributes are ...
0
votes
2answers
46 views

GeoPandas sjoin with extensive quantities

I have one geodataframe that contains polygons and corresponding land use category (e.g. agricultural, commercial, retail, residential, ...) and another that contains census tract polygons and ...
0
votes
0answers
35 views

Creating shapefile based on map with ArcGIS Desktop?

I'd like to create a shapefile with ArcGIS of the map attached below. Published in an econ paper, the map divides the territory of the German Union (post 1815) in 19 states (more precision can be ...
1
vote
0answers
22 views

QGIS dissolve/merge features by all attributes

I have a vector layer with thousands of features and over ten columns (attributes). I would like to dissolve/merge features with identical attribute combinations and keep the attributes. I think it ...
1
vote
0answers
41 views

Fill in gaps in QGIS shapes?

So basically, I've written a script that generates a lot of polygons over the UK with certain criteria. The output it a lot of shapes like the following - I wanted to know if, in QGIS, I'm able to ...
0
votes
0answers
22 views

ogr2ogr sqlite dialect can't find functions

my question might be related to this Dissolve using ogr2ogr gives 'no such function: ST_union' What I am trying is st_unioning my landparcel polygons based on its group. The code is very ...
3
votes
1answer
283 views

How to dissolve by two fields using C#

I need to dissolve a feature class based on two fields for the dissolve_field parameter and two fields for the statistics_fields parameter. Does anyone have an example of how to do this using C#? ...
1
vote
1answer
42 views

Merging polygons without losing area using ArcGIS Pro?

I have a shapefile with 23 polygons,I want to merge them and get the total area of this big polygon. But when I used "merge"tool, it only merge polygons but area. Any ideas about what I should do?
0
votes
0answers
26 views

QGIS Dissolve tool erroneously fills rings in polygons

I have a shapefile layer with >27,000 polygons. I want to dissolve these together to create a footprint layer. The Dissolve tool works fairly well, but it has filled in what should be rings in the new ...
1
vote
1answer
35 views

Regroup multiple polygon with same attributes in one

After looking for an answer on some forums (without success :/) i post here in hope on of you can help me. I have a polygon shapefile with thousands of entities (=row) and >10 attribute column. A ...
3
votes
2answers
794 views

Avoiding/getting rid of topological errors after dissolve?

After dissolving a layer in QGIS 2.8, I get a lot of topological errors in the new (dissolved) layer. Any suggestions as to how to get rid of these errors without manually editing each one? update: ...
5
votes
4answers
5k views

Removing lines from inside polygon in QGIS

Through a "dissolve" process in QGIS, I achieved some defective polygons generated after dissolve process that have some fails, like these in the screenshot: Is there any automatic process I can make ...
1
vote
1answer
133 views

Merge connected lines and split them after set unequal distances

I need to edit line features in QGIS 3.4.4. I have more than 1000 line features that I want to first merge and then split. The line features describe roads in useless intervals, my goal is to ...
2
votes
1answer
47 views

QGIS (merging, dissolve, union) lines of same name

I have street data where roads are segmented for no particular reason. I want to merge, dissolve or union whatever seems fit to make a single flat line. I H have tried above processes in QGIS but ...
1
vote
1answer
37 views

Quicker function than dissolve and difference

I'm on QGIS (v. 3.6) trying to create a map of Florida's hydrography using the NHD "Water Areas" shapefile. Methodology is to fix any invalid geometries in the NHD data, dissolve the layer, and then ...
0
votes
0answers
67 views

Improving speed of GeoPandas dissolve?

I am trying to dissolve grid spaces by category using GeoPandas' dissolve function, but it doesn't finish after hours of running and I want to make sure I'm not doing something wrong and/or there isn'...
1
vote
0answers
65 views

QGIS 2.18.28 Dissolve Error: “-2147483645 See log for more details”

I am doing property research on a county in Texas. I have all the parcel data and am trying to dissolve by Owner Name so that I can use the info tool to quickly see all the properties a given person ...
6
votes
4answers
7k views

Dissolving ploygons in QGIS or Grass to new polygons of defined population sizes?

I have a shapefile with 3800 polygons representing the smallest administrative areas in Ireland. Many of these, in rural areas, have tiny populations, under 100 people. In urban areas, all would have ...
2
votes
1answer
41 views

Erasing boundaries between polygons that are next to each other using QGIS?

I have files that representes individual houses and blocks. I want to have a file that represents a residential area in a block. Is there a way to erase the line, boundaries, between polygons that ...
0
votes
0answers
15 views

ArcMap Model with parameters

How do I get the fields from the intersect results in my arcmap model to appear as the possible 'statistics fields' for my dissolve tool when using model parameters? I have the statstics field set up ...
1
vote
0answers
60 views

Unary union/Dissolve returns null geometry in QGIS 3

I am writing a python processing script in QGIS 3. In it, I have polygon geometry objects stored in a list polygonGeoms and I want to dissolve all of it into one geometry. However, when calling the ...
2
votes
2answers
52 views

Dissolve with common value in a field and not common in another

I have a shapefile in QGIS and I want to dissolve it with the options: A field named 'specialid' has the same value A field named 'city' has different value Ok the first is very easy. It is ...
11
votes
3answers
30k views

Merging adjacent polygons using ArcGIS Desktop?

I want to use ArcGIS Desktop to merge adjacent polygons with each other. There is no common field between the polygons and hence the Dissolve tool is not the ideal solution. The polygons that I want ...
5
votes
1answer
1k views

Dissolve only overlapping polygons in R

I have a spatialpolygons-dataframe in R that contains overlapping polygon features. I would like to dissolve only the overlapping features into separate polygon features (one feature per par of ...
2
votes
1answer
118 views

How to dissolve shared line segments together in QGIS?

I have 2 features which are lines on a single layer re-projected to ESPG:2039. I wish to combine them into one MultiLineString but in a way that their common part is merged to a single LineString. I'...
2
votes
1answer
34 views

Counting the number of shared point within polygons [closed]

I have a set of points on a map, each with a unique location id, with one or more points within a number of polygons with unique polygon ids. I am trying to associate each location id with the number ...
2
votes
0answers
81 views

Dissolve Line Strings to one string - “No Shapely geometry can be created from null value”

I have a layer with 7000 LineStrings, all represent bus routes: It seems that all the bus routes are contiguous, but I'm not sure of it. I'm trying to use python shapely to dissolve all those ...
2
votes
1answer
76 views

Dissolve (merge) polygons QGIS based on (non exact) attribute values

I am a fairly new user of QGIS having a question regarding dissolve functionality. I am working with the NUTS-2 shapefiles provided by EU, which I have imported in QGIS. To ease the discussion, I ...
4
votes
3answers
2k views

Dissolve a polyline feature class so that touching features dissolve into a single feature

I'm trying to dissolve a polyline feature class so that spatially intersecting features become a single feature. When I run the Dissolve tool, setting Create multipart features and Unsplit lines both ...
3
votes
1answer
79 views

Dissolve (merge) polygons QGIS based on attribute values only when are adjacent

I am a fairly new user of QGIS having a question regarding dissolve functionality. I am working with the NUTS-2 shapefiles provided by EU, which I have imported in QGIS. I have created a new layer ...
0
votes
0answers
33 views

QGIS dissolves all different shapes into one feature instead of multiple features [duplicate]

I'm pretty new to QGIS and geoprocessing. I have a layer of points representing traffic lights - where each point is a different feature: I wish to create a layer with traffic light junctions based ...
2
votes
3answers
34k views

How to combine rows in attribute table using ArcGIS for Desktop?

I have an attribute table with three columns "FID" "Shape" and "Class" All records have the same shape (polygon). Each record has its own FID. I have three classes, "A", "B", or "C". I have twenty ...
1
vote
1answer
94 views

Creating outline around layer which has separated features using ArcGIS Desktop?

I have a layer representing a neighborhood. And the roads are separating groups of features(blocks) from each other. I want an outline around the whole neighborhood and not around each feature or each ...
0
votes
0answers
34 views

Retrieve attribute with max value by group

I have a intersected counties shapefile with wind potential category attribute. What I want to do is to dissolve the features grouping them by county, and retrieve the WPC value which has the largest ...
4
votes
3answers
7k views

Merging and dissolving shapefile in R?

I am migrating from ArcMap to open source GIS. I've succesfully installed R and many packages in a Ubuntu 12.04 machine. I am used to linux and programming in C, but not to R and its syntax. I am ...
0
votes
0answers
39 views

Dissolve polygons using clustering

The attached vector file contains thousands of individual polygons (a byproduct of the underlying raster image). The result of using polygonize function in qgis. My intent is to dissolve the polygons ...
2
votes
1answer
136 views

Dissolve Field Not Showing in QGIS?

Using QGIS 3.6 Currently trying to dissolve a polygon layer by FIELD values. QGIS 3.6 and the fields won't show up. In fact I am unable to dissolve by FIELD for any layer in my entire project. If I ...