Re: [gdal-dev] gdal_merge does not mosaic

2013-06-06 Thread adi_khan
Thanks Frank. I have been able to solve the issue. Using your clue, I am reprojecting all the input images to common projected coordinate system (of the image which will be at mosaic'c center) and then mosaicing. -- View this message in context:

Re: [gdal-dev] gdal_merge does not mosaic

2013-06-05 Thread adi_khan
img1.img http://osgeo-org.1560.x6.nabble.com/file/n5057994/img1.img img2.img http://osgeo-org.1560.x6.nabble.com/file/n5057994/img2.img I have attached the inputs images ( reduced resolution). -- View this message in context:

Re: [gdal-dev] gdal_merge does not mosaic

2013-06-05 Thread Frank Warmerdam
Adi, As previously mentioned the input images have different coordinate systems. gdal_merge.py does not support this situation. I was able to somewhat successfully merge them like this: gdalwarp img1.img img1_wgs84.img -t_srs WGS84 gdalwarp img2.img img2_wgs84.img -t_srs WGS84 gdal_merge.py

Re: [gdal-dev] gdal_merge does not mosaic

2013-06-04 Thread Jukka Rahkonen
adi_khan adiba.nizami at gmail.com writes: http://osgeo-org.1560.x6.nabble.com/file/n5057631/inputimgs.jpg http://osgeo-org.1560.x6.nabble.com/file/n5057631/gdalinfo.jpg http://osgeo-org.1560.x6.nabble.com/file/n5057631/output.jpg Hi all, here please find the input and output I used.

Re: [gdal-dev] gdal_merge does not mosaic

2013-06-04 Thread adi_khan
Thanks! On Tue, Jun 4, 2013 at 2:57 PM, Rahkonen Jukka [via OSGeo.org] ml-node+s1560n5057691...@n6.nabble.com wrote: adi_khan adiba.nizami at gmail.com writes: http://osgeo-org.1560.x6.nabble.com/file/n5057631/inputimgs.jpg http://osgeo-org.1560.x6.nabble.com/file/n5057631/gdalinfo.jpg

Re: [gdal-dev] gdal_merge does not mosaic

2013-06-04 Thread adi_khan
Hi All, Could you please suggest any open source library/API/ command line tools (on Linux) that can mosaic images of the kind I posted earlier (with different paramters etc..)? Also if I am to use gdal_merge then I will have to reproject all input images to one projcs and then try mosaicing ?

Re: [gdal-dev] gdal_merge does not mosaic

2013-06-04 Thread Jukka Rahkonen
adi_khan adiba.nizami at gmail.com writes: Hi All, Could you please suggest any open source library/API/ command line tools (on Linux) that can mosaic images of the kind I posted earlier (with different paramters etc..)? Also if I am to use gdal_merge then I will have to reproject all

Re: [gdal-dev] gdal_merge does not mosaic

2013-06-04 Thread Etienne Tourigny
On Tue, Jun 4, 2013 at 6:59 AM, adi_khan adiba.niz...@gmail.com wrote: Hi All, Could you please suggest any open source library/API/ command line tools (on Linux) that can mosaic images of the kind I posted earlier (with different paramters etc..)? Also if I am to use gdal_merge then I

Re: [gdal-dev] gdal_merge does not mosaic

2013-06-03 Thread adi_khan
http://osgeo-org.1560.x6.nabble.com/file/n5057631/inputimgs.jpg http://osgeo-org.1560.x6.nabble.com/file/n5057631/gdalinfo.jpg http://osgeo-org.1560.x6.nabble.com/file/n5057631/output.jpg Hi all, here please find the input and output I used. The attached images : 1. First image is a snapshot

Re: [gdal-dev] gdal_merge does not mosaic

2013-05-31 Thread Etienne Tourigny
Update to gdal 1.9 and try again. On Fri, May 31, 2013 at 2:36 AM, adi_khan adiba.niz...@gmail.com wrote: I am using gdal 1.4.5 and wish to use gdal_merge to mosaic *.img images. The command runs successfully (no error is reported) but the output file contains the last input image and not

Re: [gdal-dev] gdal_merge does not mosaic

2013-05-31 Thread Frank Warmerdam
Hi, GDAL 1.4.5 is ancient. Consider upgrading. The last release was 1.10.0. Your commandline looks ok. Without knowing much about your input images or what your output looks like it is hard to judge what went wrong. Are img1.img, img2.img and img3.img spatially distinct? Is the produced

Re: [gdal-dev] gdal_merge does not mosaic

2013-05-31 Thread Andre Joost
Am 31.05.2013 07:36, schrieb adi_khan: I am using gdal 1.4.5 and wish to use gdal_merge to mosaic *.img images. Please update to the current version. GDAL 1.10.0 is out now, available for Windows via gisinternals.com. Greetings, André Joost ___

Re: [gdal-dev] gdal_merge does not mosaic

2013-05-31 Thread adi_khan
Thanks for your reply frank. I understand that the GDAL I am using is ancient, but considering 'upgrading to other version' not an option could you tell me if there's a way I can mosaic using 1.4.5 only? Input images are spatially distinct. And the output image I.e. mosaic.img was not already

Re: [gdal-dev] gdal_merge does not mosaic

2013-05-31 Thread Jean-Claude Repetto
On 31/05/2013 19:48, adi_khan wrote: Thanks for your reply frank. I understand that the GDAL I am using is ancient, but considering 'upgrading to other version' not an option could you tell me if there's a way I can mosaic using 1.4.5 only? Another option is to use gdalwarp instead of

Re: [gdal-dev] gdal_merge does not mosaic

2013-05-31 Thread Etienne Tourigny
On Fri, May 31, 2013 at 7:47 PM, Jean-Claude Repetto jrepe...@free.frwrote: On 31/05/2013 19:48, adi_khan wrote: Thanks for your reply frank. I understand that the GDAL I am using is ancient, but considering 'upgrading to other version' not an option could you tell me if there's a way I can

[gdal-dev] gdal_merge does not mosaic

2013-05-30 Thread adi_khan
I am using gdal 1.4.5 and wish to use gdal_merge to mosaic *.img images. The command runs successfully (no error is reported) but the output file contains the last input image and not mosaiced output. I use openEV to see the output file. This is how is used the command : gdal_merge.py -of HFA