We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [merge]

To combine two or more parts into a larger whole.

Filter by
Sorted by
Tagged with
5
votes
1answer
2k views

Merge tif files with python

I'm also having problems with running gdal_merge.py within another python script and I cannot run it. I already checked a similar problem here. My example is as follows: First I set my workspace and ...
5
votes
1answer
2k views

Failing to merge rasters in QGIS

I am new to QGIS but have some familiarity with other GIS software (namely ArcGIS). I want to merge a number of LiDAR digital elevation model (DEM) tiles (specifically, 30 individual tiles) to create ...
5
votes
3answers
2k views

A linestring merger algorithm

I'd like to merge linestrings which touch, but do not cross. The linestrings share the same SRID and come from a PostgreSQL 9.2/PostGIS 1.5 database. Within the table I query are several line strings, ...
5
votes
1answer
2k views

Using ArcPy to batch merge based on shapefile name?

ArcGIS 10 SP4 Python 2.6.5 I have quite a few shapefiles that are in many different directories. I'd like to pull out groups of like shapefiles, merge them, and move the results into a FGDB. I've ...
5
votes
2answers
951 views

Extract certain area of contours/satellite images

I have 2 satellite images (jpeg2000 format) and 2 xyz-files from the same area. I am trying to extract certain region from the area including contour lines and the satellite image in order to import ...
5
votes
2answers
3k views

Merge an entire Geodatabase in ESRI ModelBuilder

How can I merge an entire Geodatabase in the ESRI (ArcView) ModelBuilder? I have several FeatureClasses created into the GDB and in the model I plan to merge them all. Right now I have imported all ...
5
votes
1answer
2k views

How can I match the cells of two rasters?

I have many raster files each one containing information that is different from the others (e.g. one contains information on rain, the other on altitude, and another on land use). The cells in each ...
5
votes
1answer
919 views

Merge overlapping DEMs with irregular boundaries

I have a 10m DEM covering part of a state, a 20m DEM covering the whole state, and a 90m DEM covering the whole country. How can I merge them together, getting the best quality available in each area? ...
5
votes
1answer
65 views

Merge/join only the lines which are snapped to vertices in QGIS

I have polygons drawn with AutoCAD as Mline (Multiline type) which are rendered in QGIS as 8 segments for each feature. An example of one selected feature is shown in the picture below: I want to ...
5
votes
0answers
77 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 ...
5
votes
0answers
336 views

How to add shapefile name as attribute during merge? [duplicate]

Possible Duplicate: How to add field with filename when merging shapefiles with ogr2ogr? I have more 200 shapefiles with a unique name. I would like to merge all of these together and save the ...
4
votes
2answers
36k views

Merging DEMs in ArcGIS Desktop?

I'm trying to merge some DEMs downloaded from USGS. When I used ArcGIS 9.2 there was an expression to be used in raster calculator to do that. I used it again but, unfortunately, it doesn't work in ...
4
votes
2answers
2k views

What is the difference between mosaicking and merging?

What is the difference betweem image Mosaicking and Merging?
4
votes
2answers
3k views

Merge point features within a given radius [duplicate]

I have a file in QGIS with 5000 points. Some of the points are really close to each other (5m). How can I cluster the point features to one point feature if they are within 5m? The new points should ...
4
votes
3answers
17k views

Merging tif images into a single GeoTiff with QGIS

For this example, I have 3 tif images that are tiles. They fit together to form a single image. I load the 3 images into QGIS and it merges them directly and I see my completed image. The problem ...
4
votes
2answers
1k views

How to get the command line of QGIS algorithm “Merge vector layers”?

To insert this function to my program I want to know what is command line executed by the algorithm "Merge vector layers" using QGIS GUI.
4
votes
1answer
2k views

Merging DEM rasters?

I've been struggling with this problem for awhile. Here is a curvature raster to illustrate the problem. I'm using 10m DEM rasters from the NRCS Data Gateway for a large portion of California. The ...
4
votes
2answers
469 views

Deleting overlapping inside same polygon using QGIS?

I have same polygon partially overlapped: How to delete overlapping and merge it to same area? I am using QGIS 2.4.0.
4
votes
1answer
3k 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 "joining" ...
4
votes
4answers
3k views

How to merge many shape with the same name in different folders?

I've many (hundreds) shape (3D points and 3D polygons) that have the same name, saved in different folders; and I've tried to merge them using batch with Merge tool in ArcGIS... but inexplicably ...
4
votes
1answer
2k views

Using ModelBuilder to select layers by attributes, dissolve and then merge them?

I would like to reclassify polygons, I want to combine smaller polygons into bigger polygons based on their ID (each polygon has a unique ID). I want to regroup ~800 polygons into ~60 polygons. So in ...
4
votes
3answers
1k views

How to create a line with all attribute information of the original GPX points?

I am trying to make a shapefile line contain all the data that the GPX file has. So i load the gpx file into Qgis, (prompts me for tracks, waypoints, trackpoints, routes, etc) When i choose "Tracks"...
4
votes
2answers
1k views

Merging linestrings in QGIS using PostgreSQL and PostGIS

I've to merge all linestrings from a PostgreSQL table "river" where not more than two start-/endpoints are overlapping. In the illustration below I use a "M" to mark all linestrings that needs to be ...
4
votes
1answer
5k views

Merging hundreds of vector layers and sum attributes in QGIS?

I am still at a fairly beginner level with QGIS. I am trying to construct a map of mean daily rainfall in Africa over the past ten years. I have access to shapefiles for daily rainfall (with ...
4
votes
1answer
608 views

Merging lines (with and with no overlaps) in QGIS

I have two layers ("Layer_1" and "Layer_2") of lines where they sometimes overlap and follow each other for a bit and then takes another route (see the image below). "Layer_1": Red line "Layer_2": ...
4
votes
2answers
765 views

Creating a TopoJSON file with countries that also includes sovereign countries

I am looking for a TopoJSON file that includes all countries including what I ended up after looking as 'sovereign countries' found in the following link: https://en.wikipedia.org/wiki/...
4
votes
3answers
723 views

What method does QGIS Merge Rasters tool use?

I am trying to merge rasters in QGIS and want to set a priority order for merging so that the values from the highest priority raster are used in overlap areas (the “FIRST” merge/mosaic method, I ...
4
votes
1answer
3k views

How to merge many shapefiles in different folders?

Directory structure is basically as such: county\City\prep\POI\Completed\C1, ...C2, ...etc\ I'm trying to write a script to go through the *\Completed*\POIS.shp and merge them all together, at a ...
4
votes
2answers
674 views

Getting black square after merging two rasters in QGIS

After merging two SRTM TIFF files all I get is a black rectangle. Merged raster has zeros next to both black and white squares under layer name. I have no clue what I am doing wrong. Any suggestions?...
4
votes
1answer
833 views

Spatially merging NetCDF climate grids?

I'm currently working with a large number of CF-compliant NetCDF climate grids with global coverage that are organized as tiles across a file structure pertaining to particular "variables" and "years" ...
4
votes
2answers
2k views

Merging raster in QGIS?

I have a huge problem that I can't solve even after trying everything I can think of. I am trying to do some analysis of the Lake Chad basin in QGIS (2.16.3). I downloaded Landsat 8 data from Earth ...
4
votes
3answers
451 views

qgis:mergevectorlayers won't allow two layers for the second arg

I've been searching the web with no luck. This old exchange should be exactly what I need: Merging vector layers via python in QGIS 2.18.1 My code looks like this: processing.tools.general.runalg("...
4
votes
1answer
1k views

ArcPy merge datasets with slightly different fields

i have many (>15) shapefiles which have slightly differing fields. s1: (Name, age, layer_1, ...) s2: (Name, age, layer_1, layer_2, ...) ... s_n: (Name, age, layer_1, layer_1_extra, ...) I want to ...
4
votes
2answers
2k views

Merging shapefiles with GeoTools

I am trying to merge some shapefiles with different schemas in GeoTools. I'm aware of ogr2ogr, but for now I would like to figure out this problem with GeoTools. The steps I'm taking are: Create a ...
4
votes
3answers
637 views

Merging one DEM into another to fill in missing data using QGIS?

I have a LiDAR dataset with some missing data right in the middle of my map. I would like to use a 5m DEM to fill in the missing areas. Is there a way in QGIS to merge the two but only use the 5m ...
4
votes
1answer
62 views

Modifying number of features in Merge tool each simulation run of ModelBuilder?

I am relatively new to ModelBuilder and null in python. I want to include Merge tool in my model. However: at run 1, I want to Merge shapefiles s1 and s2 at run 2, I want to Merge shapefiles s1, s2 ...
4
votes
1answer
1k views

Merging based on attribute and spatial location in ArcGIS Desktop?

I've sifted through the questions and have not been able to properly address my issue after trying several options. I'm hoping someone can help me out or point me in the right direction. I have a ...
4
votes
1answer
1k views

Merging Coordinate (long, lat) to a region(polygon)

At present I have sports grant data, coded by longitude and latitude. This data is broken down by amount received, as well as the intended sport. I also have various other data, broken down by ...
4
votes
1answer
803 views

Merging Features

I want to merge features of a vector layer into one single feature using the python console. Somewhere I found the following solution. However it does not seem to work for me. When I execute the ...
4
votes
1answer
1k views

Merging multiple feature classes in file geodatabase with ogr2ogr?

Is there a way to merge multiple feature classes into one feature class in a geodatabase with ogr2ogr? If this isn't possible with ogr2ogr, is there another method? I'm using the ESRI File Geodatabase ...
4
votes
2answers
568 views

Merging rasters in QGIS?

I have 3 modis tiles that I want to merge together. They were all reprojected in the same CRS (from sinusoidal to WGS84 UTM zone 32 N), but I cannot succeed. I have tried with merge and virtual raster,...
4
votes
2answers
522 views

Avoiding reprojection gaps when merging DEM rasters?

I have two raster DEMs in same resolution I want to bring together. I was using the merge-function in SAGA, GRASS and QGIS but I always get the following result: Where could the fault be?
4
votes
1answer
73 views

Merging three rasters into one

I need to merge 3 rasters into one, each raster is single banded and ranges from 0 to 1. The rasters overlap at some places. Below is how each raster looks like and how the output should look like ...
4
votes
1answer
108 views

Visualize challenge: show origin of aggregated minimum r.series job

Using r.series with the aggregate minimum option I'm merging multiple viewshed results to visualize how much vertical space a development area has for new buildings. Meaning that a part of the height ...
4
votes
1answer
719 views

Merge selected feature pyqgis

I want to merge the selected features. I found this post but I can not do it. Can anybody help me? layer = iface.activeLayer() obj1 = 24 obj2= 25 expr = QgsExpression( " \"ID_PARCEL\" = '{}' OR \"...
4
votes
1answer
432 views

Mosaicing thousands of raster files in ArcGIS?

I'm trying to mosaic a very large number of rasters (from 1000 to a maximum of 30000, each one having a very small size, less than 100 kb) into a unique final raster. I have tried to use the Mosaic ...
4
votes
2answers
1k views

Merge rasters with different origins in R

I have a list of rasters with the same projection and resolution but different origins and I need to merge them in a single raster file. Here's my code l <- list.files('path', full.names=TRUE) ...
4
votes
2answers
346 views

GDAL_Merge Creates Washed Out Image

I'm attempting to use gdal_merge to stitch together four JP2 aerial orthophotos. the merge is successful, but the resulting image has washed out color, as you can see here: All color in the four ...
4
votes
1answer
1k views

Merge two rasters with different resolution

I'm a student and pretty much new with Qgis. I'm trying to merge two elevation rasters. They have different resolution (one is a 5mx5m DTM and the other is a 1mx1m DTM) and different extension. I'...
4
votes
1answer
312 views

Merge connected lines IF they share adjacent polygon(s) (arcgis/arcpy)

I have lots of lines that I need to merge IF and only if they share the same polygon(s). All lines are made from the polygons (copy-paste into line) so they all snap. In this little example line ...