Quantcast
Channel: Question and Answer » gdal-merge
Browsing all 14 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

What is the correct way to merge adjoining raster images?

I am trying to create a raster base layer from NAIP ortho imagery. Unfortunately for me, the area of interest is very near the intersection of four image files. I have tried a few approaches to...

View Article


gdal_merge.py with single band raster

I’m trying to mosaic the True Marble world imagery 250M geotiffs using gdal_merge.py though one of them doesn’t have RGB bands like the rest and gdal_merge fails (same number of bands is listed as a...

View Article


North aspect raster with QGIS Raster Calculator

I have QGis1.8.0-Lisboa and the Raster Terrain Analysis Plugin on Mac/OS. When I want to build a raster layer of an aspect group with the Raster Calculator (e.g.: “aspect@1>=45 AND aspect@1<135″...

View Article

How to batch merge rasters using FOSSGIS tools?

I’m working with QGIS 1.8 (gdal 1.9.2) and GRASS 6.4.3…but on Windows 7. I “just” want to merge my raster. I’ve got a folder with 50 GTiff raster from Lidar data. The aim is to merge raster before or...

View Article

What are the differences between the photometric options for GDAL_merge?

I am using GDAL_merge to merge several geotiff tiles into one large tile. One of the creation options I can add is photometric. There are several options for this. MINISBLACK MINISWHITE RGB CMYK YCBCR...

View Article


Mosaic Imagery to Tile Grid

I am hoping to come up with a script that would allow me to mosaic imagery into a polygon tile grid. My hopes is to do this with gdal or QGIS. I am wondering if anyone knows of an existing script,...

View Article

Image may be NSFW.
Clik here to view.

How do I merge DEM rasters correctly?

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...

View Article

Image may be NSFW.
Clik here to view.

merging GeoTiffs with GDAL causes grid-like artifacts

I’m processing ASTER DEM tiles, merging them into larger blocks (to minimize visible tile edges) and importing the contours into a postgis database. Workflow: gdal_merge.py -of GTiff -o merged.tif...

View Article


GDAL merge; Why add 0.1?

In the implementation of gdal_merge: https://svn.osgeo.org/gdal/trunk/gdal/swig/python/scripts/gdal_merge.py a value of 0.1 is added to the conversion from geo-referenced coordinates to pixel indexes:...

View Article


Using gdal_merge to merge a large amount of files (in pairs)

I’m new to python and how it can be applied to gis. I have a large amount of MODIS files to go through and I’ve already extracted, reprojected and converted to GTiff the bands that I need from each HDF...

View Article

Image may be NSFW.
Clik here to view.

gdal_merge shifts rasters after processing, layer stack is slightly off

I have experienced that gdal shifts rasters. The outputs of gdal_warp are often skewed, have different pixel sizes and so forth. A known error which has also been discussed here. But now, I had to...

View Article

Image may be NSFW.
Clik here to view.

merge tif file with No data

I have to 2 tiff files, both of file have No data values as in Image 1, when I use gdal_merge to mosaic both images to one image, the No data area turns to black, which I don’t want, How to maintain...

View Article

Overwrite the mosaic raster generated using gdal_merge.py?

Is it possible to overwrite the raster generated using gdal_merge.py? When I ran the command: % gdal_merge.py -init 255 -o out.tif in1.tif in2.tif it works fine, but if I ran the same command and...

View Article


Image may be NSFW.
Clik here to view.

mosaic rasters with gdal_merge.py

I want to mosaic 2 rasters “rasa” and “rasb” using gdal_merge.py . While running the code, it produces an error ” No input files selected”. Can somebody help me to find the error in the code? import...

View Article
Browsing all 14 articles
Browse latest View live