Questions tagged [merge]

To combine two or more parts into a larger whole.

Filter by
Sorted by
Tagged with
5
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 ...
5
votes
2answers
2k views

Merging polygons that intersect by more than specified amount using PostGIS

I am working with a dataset that contains a subset of property boundaries in a local government area, thus my dataset is made up of several thousand properties but not all are touching. Since it is a ...
5
votes
2answers
2k views

Problem Merging multiple shapefiles with different CRS in QGIS

I am trying to merge multiple shapefiles into one, but I encounter one error, not all of my shapefiles end up merged. I am able to load all of my shapefiles but when I attempt to merge them, the ...
5
votes
4answers
5k views

Merge large number of polygons using QGIS

I have a series of polygons that are the output of another GIS program - I need to merge the polygons into a single polygon. I have tried a couple of different methods with no luck. I have tried to ...
5
votes
1answer
3k 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
3k 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
969 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
940 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
0answers
44 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 ...
5
votes
0answers
85 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
353 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
37k 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

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 ...
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
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
1answer
172 views

Dissolving/merging polygons taking into account area of intersection

How in QGIS do I dissolve/merge polygons taking into account the area of intersection? For example, if area of intersection less then 15% of polygon area then operation should't apply.
4
votes
2answers
497 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
1answer
922 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
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
2k 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
2answers
937 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
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 ...
4
votes
3answers
791 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
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 ...
4
votes
2answers
88 views

Joining the attributes of two nearly congruent streetnetworks (lines) in QGIS

I have two streetnetwork layers containing both different attributes, none of them is similar so I can´t do a simple join. Unfortunately they are not congruent, but the line objects are close to each ...
4
votes
2answers
842 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
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
1answer
147 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 ...
4
votes
3answers
495 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
563 views

R - Batch Merge Line Shapefiles

I am trying to merge all road data from the OS Open Map Local file, to create a single line shapefile of all the roads in the UK. I will then use this data to create huff catchments. I would like to ...
4
votes
1answer
5k views

Merge two geojson files

I have a global json files about countries' boundaries but the Russia is in two parts (two polygons). I want to merge the two parts in one, without the boundary at the middle. Is there a way to "...
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
728 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
831 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 ...

1 2 3 4 5 18