Questions tagged [merge]

To combine two or more parts into a larger whole.

Filter by
Sorted by
Tagged with
4
votes
1answer
697 views

Why are my calls to SAGA routines in QGIS not working cross platform?

The ability to write and run cross platform scripts for QGIS using python is OUTSTANDING! However, when I try to run the SAGA:MERGESHAPESLAYERS algorithm from a python script it works fine in windows ...
4
votes
1answer
200 views

Merging Feature Classes and keeping the metadata

Is there a way that while merging two feature classes we can keep the metadata? We are merging feature classes with templates so we can import specific fields into our data. Is there a way to keep ...
4
votes
1answer
460 views

Merge polygon without attribute (in field) with nearest polygon with attribute

In the image you can see districts in BLUE with attributes (name of district) and small pieces in RED. The red polygons belong to the blue and I want to merge them. The RED are only towards the ...
4
votes
1answer
715 views

How to join data from NHGIS to make choropleth maps in R/ggplot2?

I have downloaded shapefiles of county/state boundaries and census data keyed to those shapefiles from the NHGIS. Both the shapefiles and the census data have a GISJOIN column to be used for merging ...
4
votes
1answer
1k views

Merging partially overlapping polygons into a table in PostGIS

I have a couple of tables (three) with polygons (landuse coverage in this case). Within each table, there is no overlap, but between tables there might be a lot of overlap. I would like to combine ...
4
votes
2answers
3k views

How to join lines in QGIS for later using “lines to poly”?

After successfully merging lines (using snapping) with merge_selected_features i got nice result - one merged line. Next thing was to make polygon from created merged line. Result is not nice - it ...
4
votes
0answers
27 views

Difference between merge and create virtual raster

I have the DEM of a defined region that has been split into sub-DEM with a resolution of 1 km x 1 km. When I merge the sub-DEM to create a single DEM (Raster -> Miscellaneous -> Merge), the overall ...
4
votes
1answer
330 views

Merging raster elevation data

Using QGIS I have to merge 416 raster files with elevation data, at the beginning I´m using with only 4 of them to try out: When using "merge" (Raster > Miscellaneous) the result are a file with only ...
4
votes
1answer
124 views

What tool could I use to merge separate line vectors?

I started with a line vector file consisting of several creeks. The problem with that file was that most of the creeks within the file were broken illogically into segments, even those that should ...
4
votes
1answer
172 views

Batch Script to merge tab fles in a directory

Very similar to this question Merging multiple .tab files? can someone please help me with a batch script for this? Based on the answer in the above I have #!/bin/bash for i in *.tab; do ogr2ogr -...
4
votes
0answers
336 views

Merge line segments by length (in QGIS)

I have a layer containing line segments which are connected by their endpoints (e.g. as within a street network). I'd like to merge (union) polylines within this layer into one feature until following ...
3
votes
2answers
2k views

QGIS change geometry type in shapefile

I have 7 shapefiles which I would like to combine using the 'Merge shapefiles' function in QGIS. I got the error message that the shapefiles must all be the same geometry. I checked this, one ...
3
votes
3answers
373 views

Getting adjacent polygons to merge in QGIS?

I was given a shapefile made up of a few thousand squares. The data in the squares has 5 different values. I wanted to merge all the common values into the same polygon to simplify things. This is ...
3
votes
2answers
670 views

QGIS create a new merged layer from selection on multiple layers

I have a big map with several layers. I want to extract a small area in the map and merge the layers. I tried to merge the layers and than to select the zone I am interested, but the merging is ...
3
votes
3answers
411 views

How can I join two polygons that are within the same layer in QGIS?

I have two polygons in QGIS that are within the same layer and I want to merge them so they are not in two different polygons, which means that the gap between them sould not exist. How do I do that?
3
votes
3answers
395 views

Merge 30000 polygon shapefiiles in a logical manner in ArcGIS model Builder

I have 30000 shapefiles (a1.shp to a30000.shp). They are all polygons. Each polygons has one and only one polygon feature in it. I need to Merge the polygons into 1000 shapefiles. My output would be ...
3
votes
1answer
764 views

Merging Multiple JP2 image files on QGIS

I have about 150 Images that I need to merge together. I have tried to go about this by using the GDAL misc > merge tool but it is too much for QGIS to handle with even 20 images at a time. I was ...
3
votes
2answers
587 views

How to rename several layers at the same time?

I have got some GPS tracks (MultiLineString). As I import them to QGIS, they look like this: I would like to merge them and to do so, I have to rename all of them like this (picture 2) otherwise an ...
3
votes
1answer
3k views

Merge shapefiles in folders and subfolders with arcpy

I try to merge 20 shapefiles in order to get one shapefile that include all the features. All shapefiles are called "migrashim", and they spread in big folder that divided to a lot of sub folders. ...
3
votes
1answer
10k views

How to combine (join?) two overlapping polygons to determine combined area they cover?

How do I combine (join?) two overlapping polygons to determine the combined area they cover in ArcGIS 10? I am sure the Geoprocessing tools can do it, but just how eludes me.
3
votes
1answer
1k views

Merge a table with a shapefile (not the same dimension)

I am trying to merge a table with a shapefile using R. The shapefile's database is bigger than the table and I need to have null or zero values where the two data sets don't match. Table data no. ...
3
votes
1answer
855 views

How to overlap and merge layers in QGIS?

I have two layers (1 and 2) and I want to overlap them and the intersection and the union didn't work. I want to get something like this: Is it really easy or is there a special method to follow ? ...
3
votes
2answers
474 views

QGIS merge multiple layers and keep highest valued polygon / grid cell

I'm still at a beginner level at QGIS. I'm aware of MMQGIS toolbox but I still can't figure out how to solve this problem.: I got multiple layers indicating the number of events in a grid cells ...
3
votes
2answers
1k views

PostGIS - Merging linestrings into multilinestrings in a particular order

I have a set of linestrings, which I want to group into a single multilinestring, and in a specific order. However, when I use ST_Collect, it merges them out of order, like this: Geometries as ...
3
votes
2answers
570 views

How to Merge dbf files?

I'm beginner in python and learning it with examples. I have 100s of dbf tables like Type value1 value2 Type value1 value2 A 3 1 and A 5 7 B ...
3
votes
1answer
2k views

Overlaying lines and aggregating their values for overlapping segments using R?

I have a number of routes (5 in this example data) stored in a SpatialLinesDataFrame called r. These have different origins but all converge on the same destination (Manchester Airport): Each ...
3
votes
3answers
5k views

Converting set of Shapefiles to OpenStreetMap (OSM) file?

How can I convert a set of ShapeFiles to an OSM file?
3
votes
1answer
2k views

Merge feature classes in feature datasets using ArcPy?

I'm trying to merge a group of like feature classes which are contained within separate feature datasets. I can merge feature classes within a file geodatabase without having issues by creating a list ...
3
votes
6answers
17k views

Merging multiple .tab files?

I was wondering if there was a quick way to merge multiple .tab files together? I have about 100. Would appending one tab to another with the MapBasic window open, then changing the name of the ...
3
votes
1answer
2k views

Merging Multiple Shapefile Polygons in R

I have a regional shapefile of England and Wales but without containing Scotland and Northern Ireland. I want to add the outlines of Scotland and Northern Ireland in without regional divisions so ...
3
votes
2answers
2k views

Combine multiple TIFF Files into one

I have brought in multiple TIFF (raster) files into QGIS and want to combine them into one file. I tried this by going to Raster> Misc.> Merge. When doing this the output file comes out as gray and ...
3
votes
2answers
234 views

To compare and merge two point layers based on lat long

I have 2 shapefiles of point type. Both layers have lat/long associated with each point. In one shapefile, I have about 23 hundred thousand points and in another about 20k points. Because the first ...
3
votes
1answer
833 views

How to merge raster with FME with different spatial resulution?

I have two sets of raster (tiff, aerial photos) which I want to merge to one raster file with FME. The two sets have different spatial resolutions. Set A has a better resolution as B. The two set do ...
3
votes
1answer
805 views

How to merge layers into a single QgsVectorLayer?

I have a set of different layers (and their respective shapefiles) with information of electric lines. All the layers have the same Fields in their Attribute Tables, but contain information about ...
3
votes
1answer
3k views

What is FME equivalent to ArcGIS Dissolve?

I am trying to dissolve polygons that are spread out across a region. ArcMap's ModelBuilder will dissolve these polygons into a single, multi-part feature. How can I get FME to do this same thing? I ...
3
votes
1answer
476 views

Merging ShapeFiles with QGIS for UK counties

I want to draw a map for all the counties of the UK including Northern Ireland. Since I cannot find a source of counties including both Northern Ireland and Britain, I tried to merge two shapefiles ...
3
votes
2answers
426 views

How to merge same long lat points with different data into a unique one?

I have a layer where there is more than 1 feature for a same object. Imagine i have a layer called signals. There can be up to 10 features in the same place (long/lat) for a unique signal but the ...
3
votes
2answers
502 views

Pyqgis How to merge all the active layers? or layers in the registry?

I was wondering if there is a way to merge multiple layers. I actually would like to merge all layers in the registry programmatically, all of them are point layers and have the same fields. I have ...
3
votes
1answer
2k views

Merging raster data with different resolutions

I need to merge different raster datasets which have one layer and contain discrete values to a layer stack. The resolutions of the data can have any value so not only multiples of the resolutions ...
3
votes
1answer
75 views

Merging all vector files within directory with QGIS?

I am unsuccessfully trying to merge all shapefiles in a given directory using QGIS 2.18. I do not want to navigate to the folder using QGIS GUI tools. Instead, I want my script to include all ...
3
votes
1answer
91 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 ...
3
votes
1answer
128 views

Resolving mistakes after merging polygons

My problem is quite similar to those of title "qgis merge polygons does not merge on snapped edges" and "Merging polygons". I'm merging several polygon features (within one layer), all adjacent with ...
3
votes
1answer
239 views

Merging SRTM rasters that include sea pixels in QGIS?

I was trying to merge a bunch of SRTM rasters in QGIS as I've always done, but this time some of the rasters included large areas of pixels in the sea. The result is that only pixels near the shore ...
3
votes
1answer
475 views

Merging multiple vector layers to give a multicoloured output map

I am currently working on a project: Freshwater Vulnerability Assessment of sub-Saharan Africa. I have 5 sets of freshwater vulnerability categories which i have managed to represent on QGIS as five ...
3
votes
2answers
2k views

How to mix two raster in R (same extent)?

I want to produce one PNG image for each country in the world. The pixel colors come from a raster that describes the vegetation, and the boundaries of the countries come from a shapefile. I managed ...
3
votes
1answer
683 views

Merging shapefiles with PyQGIS

I've been searching the internet for a while now trying to look for a way to merge all the shapefiles from a directory (a folder) into a single shapefile. I found many solutions but none of them seem ...
3
votes
1answer
706 views

Merging two adjacent polygons which borders are not touching each other?

I want to merge adjacent single polygons which are apart from each other. Important note: I cannot use ArcGIS, I need to do this programatically, in any language (R, Python, Ruby, PostGIS) doesn't ...
3
votes
1answer
195 views

How to reference all the shapefiles within a Windows folder and merge them in ModelBuilder?

I have a group of shapefiles that are stored in a Windows folder. There are multiple users that will be adding shapefiles to this folder or editing existing shapefiles in this folder on a continual ...
3
votes
1answer
877 views

Merging DBF files without using ArcPy? [closed]

I have ~7,000 2 line dbf files (zonal stats output) that I would like merged into one table, all the same format. I have used the arcpy merge tool, as seen below. #merge tables together ...
3
votes
2answers
2k views

Stratified Random Sampling with large dataset in ArcGIS?

I want to create a Stratified Random Sample with a land cover classification map. The purpose for the Stratrified Random Sample is to produce an Accuracy Assessment. I am using ArcGIS 10.2 with access ...