Re: [gdal-dev] gdal_merge does not mosaic

2013-06-04 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 img

Re: [gdal-dev] gdal_merge does not mosaic

2013-06-04 Thread adi_khan
img1.img img2.img I have attached the inputs images ( reduced resolution). -- View this message in context: http://osgeo-org.1560.x6.nabble.com/gdal-merge-does-not-mosai

Re: [gdal-dev] Clipping imprecision with gdal_translate

2013-06-04 Thread Eli Adam
gdalwarp does have -tap which may be of some use. Quoting the doc page: -tap:(GDAL >= 1.8.0) (target aligned pixels) align the coordinates of the extent of the output file to the values of the -tr, such that the aligned extent includes the minimum extent. Best Regards, Eli On Tue, Jun 4, 2013

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 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 will have to rep

Re: [gdal-dev] gdal_merge does not mosaic

2013-06-04 Thread Jukka Rahkonen
adi_khan 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 input

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 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 gmail.com> writes: > > > > > > >

Re: [gdal-dev] gdal_merge does not mosaic

2013-06-04 Thread Jukka Rahkonen
adi_khan gmail.com> writes: > > > > > > Hi all, > here please find the input and output I used. >

Re: [gdal-dev] Asking about Convert Dgn to Shp and OGRLayer::SetSpatialFilter

2013-06-04 Thread Ari Jolma
On 06/04/2013 11:11 AM, taibc wrote: Hi Ari, So do you think the dgn file is wrong ? No. I was just wondering why the GDAL driver was reporting much less features than it actually found in the file. The driver does not complain anything about the file, thus it seems fine to me. Ari Tha

Re: [gdal-dev] Asking about Convert Dgn to Shp and OGRLayer::SetSpatialFilter

2013-06-04 Thread taibc
Hi Ari, So do you think the dgn file is wrong ? Thanks and kind regards, Tai -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Asking-about-Convert-Dgn-to-Shp-and-OGRLayer-SetSpatialFilter-tp5057280p5057658.html Sent from the GDAL - Dev mailing list archive at Nabble.com.

Re: [gdal-dev] Clipping imprecision with gdal_translate

2013-06-04 Thread Ari Jolma
JM, Looks to me that GDAL has clipped to the nearest pixel boundaries and not to the window you have provided. This is probably a feature. Maybe gdalwarp would do the kind of resampling you wish, but I'm not sure. Regards, Ari On 06/03/2013 03:37 PM, JM wrote: Hello List. At first i wann