[gdal-dev] gdal_translate ignores my -projwin param

Moses.Gone at t-systems.com Moses.Gone at t-systems.com
Tue Oct 29 05:46:32 PDT 2013


Hello list,
Something strange is happen to my GDAL. I have before executed the command below successfully. However, today I introduced a -projwin params where I specify  my AOI, since I don't want the entire raster being pulled from the DB. So what is strange, GDAL ignores my window and tries to pull the entire dataset:

Command:
gdal_translate --debug on -projwin 619711 5813265 625334 5809349 -a_srs EPSG:25832 -a_nodata none -of vrt SDE:server,5153,ngds1,pw,user, DE_DTK25_E32,image image.vrt

Debug Output:
SDERASTER: Open("SDE:server,5153,ngds1,pw,user, DE_DTK25_E32,image ") revealed 7 tokens.
SDERASTER: SDE Column name is 'image'
SDERASTER: 'DE_DTK25_E32' raster layer specified... using it directly with 'image' as the raster column name.
SDERASTER: minx: 275000.62500, miny: 5220000.62500, maxx: 924999.37500, maxy: 6109999.37500
SDERASTER: Tile origin: 275000.62500, 6109999.37500

I have checked to confirm that the window coord array is specified as minX, maxY, maxX, minY.

Can someone help me figure out what is happening here?

Thanks,
Moses

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20131029/1bf35adb/attachment.html>


More information about the gdal-dev mailing list