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

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

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