Questions tagged [merge]
To combine two or more parts into a larger whole.
1,210
questions
112
votes
5
answers
278k
views
Merging multiple vector layers to one layer using QGIS
I've imported several shapefiles which where exported from a Mapinfo .tab. Several .tab-files are imported resulting in 20+ layers.
Afterwards I want to export it to GeoJSON; but I'm reluctant to ...
31
votes
2
answers
66k
views
Joining several raster files using QGIS?
I'm new to QGIS.
How can I combine multiple raster layers into one layer?
The raster images are of different areas with very little overlap.
The goal is to bring numerous town plats into one ...
29
votes
5
answers
94k
views
Merge intersecting polygons into one which are part of the same feature
I'm not a GIS professional so I hope I use the correct wording, at least I hope you understand my question.
Let's say there are five polygons in the feature A. In the shapefile there are
more ...
27
votes
4
answers
87k
views
Merging/Dissolving polygons by Common Attribute Field in QGIS?
I have joined corresponding Local Enterprise Partnerships table data into a polygon shapefile containing UK Local Authorities.
How do I Dissolve or Merge the the Local Authorities polygons by ...
25
votes
3
answers
47k
views
Merging multiple SpatialPolygonDataFrames into 1 SPDF in R?
I have created 2 polygons in QGIS. Using them in R, polygons become automatically SpatialPolygonsDataFrame (SPDF). I would like to merge them into single SPDF (as is super easy in ArcGis using Tool ...
25
votes
4
answers
5k
views
Merge any and all adjacent polygons
I would like to do adjacency tests on a parcel (polygons) layer and merge them if they fit certain criteria (could be size). Per the picture below, I would like to merge polygons 1,2,3 and 4, but not ...
21
votes
2
answers
11k
views
Fixing orphaned holes in R
I'm trying to perform a union on a common field after merging two adjacent shapefiles. The shapefiles end up with at least one thin sliver of space between them. When I attempt a union I get the ...
18
votes
2
answers
15k
views
ogr2ogr merge multiple shapefiles: What is the purpose of -nln tag?
The basic script in order to iterate recursively over sub-folders and merge all shapefiles into single one is:
#!/bin/bash
consolidated_file="./consolidated.shp"
for i in $(find . -name '*.shp'); do
...
16
votes
1
answer
12k
views
Merging Multiple Tables into New Table in PostGIS
I am looking to merge a number of individual tables into a new table in PostGIS. This is an easy task when working with Shapefile data, but I am unsure how to do this in PostGIS.
I think I use Append, ...
16
votes
2
answers
1k
views
completing satellite imagery tiles when data coverage is less than 100%
I want to join several images (>=2) into one "best" image. Best is defined on low cloud cover and high data coverage. An example using free Sentinel satelite data follows.
See
http://sentinel-s2-...
13
votes
2
answers
4k
views
sf geometry column naming differences R
I've got several shapefiles stored as geopackages and I want to merge all of them by using rbind. But unfortunately the geometry columns are namend differently as geometry or geom and because of that ...
12
votes
3
answers
39k
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 ...
12
votes
3
answers
19k
views
Measuring performance difference between Merge and Append in ArcGIS Desktop?
Often I find myself in a situation where I don't care whether or not my tool produces a new feature class, but I do care how long it takes to combine all of my large datasets. Does it take longer to ...
12
votes
4
answers
4k
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 ...
12
votes
1
answer
1k
views
Merge adjacent polygons and return all (adjacent and not adjacent) as Multipolygon?
I have a postgres database with administrative boundaries and their geometry.
Each of those boundaries have an ident number.
What I want to achieve:
First I want to select all rows which are ...
11
votes
3
answers
4k
views
How to add vertices to existing linestrings?
If I have
Linestring(1 2, 1 5, 1 9)
and a
Point(1 3)
Is there any function that can merge linestring and point preserving the order
so output would be:
Linestring(1 2, 1 3, 1 5, 1 9)
10
votes
2
answers
2k
views
Merging multiple temporal inputs in QGIS Graphical Modeler
I want to do a simple merge of some algorithm outputs in QGIS graphical modeler (not for an iterative process, like my previous question "Collect results of iterative processes in QGIS graphical ...
10
votes
3
answers
16k
views
Merge geojson polygons with WGS84 coordinate
I have a Geojson file with some adjacent polygons and I want to merge them into one. I know it's a recurrent question but I can't find information for polygons with latitude and longitude coordinates ...
10
votes
3
answers
15k
views
Merge lines with the same 'name' attribute on QGIS?
I have a shapefile with a few thousand lines, each is a street segment. I'd like to merge all features with the same 'streetName' attribute into a single attribute. I only really care about the name ...
10
votes
1
answer
2k
views
PostGIS: how to merge contiguous features sharing same attributes values?
I have a big PostGIS table storing line features.
I would like to merge features that are both connected to each other and have given attribute values identical. Here is below an example of what I'd ...
10
votes
1
answer
44k
views
arcpy.env.overwriteOutput = True not working for Merge of ArcMap
AOI_test = "AOI_test.shp"
arcpy.env.overwriteOutput = True
for i in loc_list:
AOI = "AOI_" + i + ".shp"
arcpy.Select_analysis("locality", AOI, " \&...
9
votes
3
answers
6k
views
Merging spatially separated polygons into one feature in QGIS
As you can see below I have 11 polygons in one shapefile, so in the attribute table there are 11 features.
As they all have the same attribute, is it possible to merge them into one feature in QGIS?
9
votes
2
answers
3k
views
Loading multiple shapefiles from +1000 subfolders
I have a WATERBODY shapefile for each region within each province in Canada. The region subfolders also contain many other features that I do not need. I am trying to upload and merge all the ...
9
votes
1
answer
14k
views
Merging a geodataframe and pandas dataframe based on a column
I have a simple geopandas dataframe that includes geometry and a column called 'MUKEY':
merged_spatial_df.head()
I want to merge it to a tabular (.csv) pandas dataframe (which also has a column ...
9
votes
2
answers
843
views
QGIS 2.16 Merge lacks folder option
I've installed QGIS 2.16 and have noticed that the Merge (Vector Menu>Data Management) doesn't appear to have a Folder option anymore. This was the option that allowed you to process/merge a complete ...
8
votes
4
answers
5k
views
Using open source software to merge large shapefiles?
Some background: I have 2 polygon shape files with approximately 500,000 records each. The two files are identical in terms of field structure.
Using ArcGIS 10.0 I can'nt merge these two files using ...
8
votes
8
answers
15k
views
Automatically download and merge webmap tiles into one big image?
Is there an easy way to download a bunch of web map tiles (in /z/x/y.png format) and stitch them together into a single large image? I could probably script this using ImageMagick, but would prefer ...
8
votes
1
answer
5k
views
Merging neighbouring polygons in QGIS
I have a polygon layer that consists of many different polygons; some of them are neighbouring and some of them are not. How could I merge the neighbouring polygons?
8
votes
1
answer
973
views
How to merge two shapefiles with partial difference in QGIS?
As illustrated below, a copy of the same shapefile was given to two persons who edited them partially by changing the attributes of different features.
I would like to know how to merge the two ...
8
votes
1
answer
560
views
Merging overlapping buildings but not adjacent buildings using ArcMap?
I have a dataset that has buildings generated from satellites which leads to imperfect building outlines. The buildings circled in red are one building but the computer drew them as having multiple ...
8
votes
3
answers
2k
views
QGIS - Merge raster layers and take maximum value of both
I am trying to merge two partially overlapping rasters into a single raster. Where they overlap, I would like to take the maximum value from the 2 rasters.
The rasters represent radio coverage from ...
8
votes
3
answers
3k
views
Merge Spatially Coincident Features in the Same Feature Class
I need a way to programatically merge grid cells (polygon 15x15m) that are directly on top of each other and add together some of their attributes.
I am working in ArcGIS 10.1 with the data stored as ...
8
votes
1
answer
207
views
"Merging" 2 layers of LineString with splits at intersections
I would like to "merge" 2 networks of lines and these lines need to be split when they intersect. With pictures it should be clearer :
What to do:
if a black line intersects a red line, they should ...
7
votes
2
answers
1k
views
Rendering polygons ordered by size in QGIS
How can I merge shapefiles in a special order in QGIS?
What I have and what I need to be merged in that order:
What happens when using merge by MMQGIS:
As u can see not usable at all. Attributes are ...
7
votes
1
answer
6k
views
How do I edit shapefile attribute tables so they all have the same information?
I am trying to merge several pipeline shapefiles using GEOMERGE but it cannot complete the function because they have different column definitions.
So I need to edit the attribute tables so that ...
7
votes
2
answers
8k
views
Merge shapefiles using ogr2ogr and retrieve the attributes of both
I have two shapefiles that I want merge (overlay/intersect) having in the destination the attributes of the two sources file.
ogr2ogr file_merged.shp tl_2010_us_uac10_conus_albersUA.shp
ogr2ogr -...
7
votes
3
answers
850
views
Merge uniquely named point shapefiles in 50,000 different folders into a single layer
I have point shapefiles in 50,000 different folders (each shapefile file name is unique) - about 33,400 shapefiles (not all folders will have a point shapefile). I like to open the point shapefile in ...
7
votes
1
answer
465
views
Performing merge in PostGIS
By means of the PostgreSQL/PostGIS I want to replicate a function from a Python script into a SQL query. In my Python script, I have a list of feature classes and I use ArcPy's Merge_Management to ...
7
votes
2
answers
2k
views
Merging .asc files = "The command line is too long"
Having problems merging LiDAR .asc folder files to produce a single GeoTiff file.
I have followed various instructions e.g. the 2 methods of selecting input files for merging .asc files using
...
7
votes
1
answer
7k
views
Difference between 'join' and 'merge'?
Suppose one wants to make polygons A and B, and their respective attributes to be one unique polygon C. What is this GIS operation called?
Is there any difference in GIS terminology about "...
7
votes
2
answers
10k
views
Correctly merging DEM rasters and eliminating edge effects
I'm using 10m DEM rasters from the NRCS Data Gateway for a large portion of California. The problem is some strange tiling that appears after merging, but isn't present in the original data (before ...
7
votes
3
answers
1k
views
Merge images first, or georeference first?
I'm wanting to georeference and vectorise some features from scans of the OS 1896 Town Plans that I have purchased from the NLS (http://maps.nls.uk/os/london-1890s/info.html). The scans provided are ...
7
votes
3
answers
4k
views
Alternative to ST_Union/ST_MemUnion for merging overlapping polygons using PostGIS?
New to PostGIS so I trust this is a very basic question but can't seem to find the right solution.
I have a materialized view consisting of ~4 million polygons. Some of them overlap. I need to merge ...
7
votes
3
answers
2k
views
Batch merging shapefiles from different folders, different subfolders [closed]
I tried some of the scripts I found but none worked so far.
What I am trying to do is batch merging hundreds, maybe thousands of shapefiles from different folders/sub-folders into a single shp or ...
7
votes
2
answers
2k
views
Combine/Converting many parallel lines to one single line using ModelBuilder of ArcMap
I am working with railway generalization by using ArcGIS ModelBuilder and my solution needs to involve that software. I need to "Combine/Convert" many parallel lines together into one ...
7
votes
1
answer
2k
views
Merge intersecting polygons in same table using Postgis
I am trying to merge polygons in the same table where the polygons intersect while preserving a unique id (can be any id from the features which intersect) in postgis. Currently, I end up with more ...
7
votes
1
answer
2k
views
What is the best way to merge lots of small adjacents polygons ? (POSTGIS)
I am looking for a way to merge lots of small adjacents polygons.
I have this kind of features:
So if my polygons are adjacents AND have the same color attribute then I want to merge those polygons. ...
7
votes
1
answer
3k
views
Merging layers from two vector tiles with Mapnik
I'm using Mapnik + Mapbox NodeJS stack. Given two vector tiles (PBFs) for the same location/zoom, with some layers having the same name in both. How do I merge them into one PBF tile - replacing ...
7
votes
1
answer
954
views
Bands Names QGIS when merging rasters
I have downloaded landsat satellite data, then I merged the 4 bands I am interested in into one file (raster-merge). The problem is that I merged bands 2,3,4 and 8, and in the merged file the bands ...
7
votes
0
answers
588
views
Merge Raster Layer Specific Order in Graphic Modeler [closed]
I'm using the Graphic Modeler/Processing Modeler to automate a process. The last step in this process is Merging three different Raster Layers. I'm using the "Merge Raster Layers" from Saga 2.0.8. Is ...