Opened 15 years ago

Closed 15 years ago

#2811 closed defect (fixed)

What happens when gdal_merge processes overlapped images?

Reported by: cgsbob Owned by: warmerdam
Priority: normal Milestone:
Component: Docs Version: unspecified
Severity: normal Keywords:
Cc:

Description

I would like to request that this question in answered in the man pages and website.

Change History (3)

comment:1 by warmerdam, 15 years ago

Bob,

In areas of overlap the last image will be copied over earlier ones.

Perhaps you could like to propose specific changes to specific pages based on that?

in reply to:  1 comment:2 by cgsbob, 15 years ago

Replying to warmerdam:

Bob,

In areas of overlap the last image will be copied over earlier ones.

Perhaps you could like to propose specific changes to specific pages based on that?

Frank,

In http://www.gdal.org/gdal_merge.html and in man/man1/gdal_merge.1, it says:

This utility will automatically mosaic a set of images. All the images must be in the same coordinate system and have a matching number of bands, but they may be overlapping, and at different resolutions.

There will be people who might guess that gdal_merge might do an average where there is overlap and others who would guess correctly that one image would copy over the other image. I was actually hoping that it would take an average.

comment:3 by Even Rouault, 15 years ago

Resolution: fixed
Status: newclosed

Frank's precision added in r16210

Note: See TracTickets for help on using tickets.