Questions tagged [merge]

To combine two or more parts into a larger whole.

Filter by
Sorted by
Tagged with
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 ...
stUrb's user avatar
  • 2,269
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 ...
Neil Morgan's user avatar
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 ...
user19746's user avatar
  • 293
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 ...
Jeremy's user avatar
  • 451
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 ...
maycca's user avatar
  • 3,376
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 ...
ako's user avatar
  • 1,964
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 ...
Luke Macaulay's user avatar
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 ...
michael's user avatar
  • 1,799
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, ...
Ryan Garnett's user avatar
  • 9,461
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-...
val's user avatar
  • 631
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 ...
David's user avatar
  • 383
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 ...
DotPi's user avatar
  • 779
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 ...
MTerry's user avatar
  • 211
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 ...
Nathan's user avatar
  • 1,284
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 ...
Nighthawk's user avatar
  • 189
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)
BorisT's user avatar
  • 113
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 ...
Honeybear's user avatar
  • 2,334
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 ...
henri_1310's user avatar
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 ...
Tercero A's user avatar
  • 101
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 ...
wiltomap's user avatar
  • 2,690
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, " \&...
TheLastGIS's user avatar
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?
benchenggis's user avatar
  • 1,406
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 ...
J Brooks's user avatar
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 ...
gwydion93's user avatar
  • 1,883
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 ...
user77875's user avatar
  • 906
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 ...
anh.hv's user avatar
  • 273
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 ...
Steve Bennett's user avatar
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?
r1m4s's user avatar
  • 89
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 ...
oat's user avatar
  • 407
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 ...
zeroes's user avatar
  • 163
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 ...
user105727's user avatar
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 ...
Kevin's user avatar
  • 4,926
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 ...
MickaelM's user avatar
  • 181
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 ...
MrXsquared's user avatar
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 ...
Tvradz's user avatar
  • 73
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 -...
Giuseppe's user avatar
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 ...
Arun Govind's user avatar
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 ...
gwydion93's user avatar
  • 1,883
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 ...
RobinRid's user avatar
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 "...
Andre Silva's user avatar
  • 10.2k
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 ...
Rocksyeaa's user avatar
  • 143
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 ...
odysseus's user avatar
  • 141
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 ...
Kasey's user avatar
  • 79
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 ...
Luiza's user avatar
  • 71
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 ...
Jason Z's user avatar
  • 71
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 ...
PyMapr's user avatar
  • 1,610
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. ...
obchardon's user avatar
  • 1,694
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 ...
Yuri Astrakhan's user avatar
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 ...
APR's user avatar
  • 151
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 ...
FoolzRailer's user avatar

1
2 3 4 5
25