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

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 latest articles
Browse All 14 View Live