<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.17063" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=563323105-13082010><FONT face=Arial color=#0000ff>Hi
Giuseppe,</FONT></SPAN></DIV>
<DIV><SPAN class=563323105-13082010><FONT face=Arial
color=#0000ff></FONT></SPAN> </DIV>
<DIV><SPAN class=563323105-13082010><FONT face=Arial color=#0000ff>Many thanks
for the prompt reply and fixes. Very well appreciated.</FONT></SPAN></DIV>
<DIV><SPAN class=563323105-13082010><FONT face=Arial
color=#0000ff></FONT></SPAN> </DIV>
<DIV><SPAN class=563323105-13082010><FONT face=Arial color=#0000ff>I've had a
look at the ui code for the Translate dialog and effectively I've noticed that
the spinbox was limited from 0 to 255.</FONT></SPAN></DIV>
<DIV><SPAN class=563323105-13082010><FONT face=Arial color=#0000ff>That seemed
odd because I'm generally using rasters having "real life" values: e.g. the SRTM
data can varies from 0 to 8 000 metres for example. More generally, in my
case anyway, we have values in the range -70 000 to +70 000 or even wider. We do
not scale the real values to colour range [0, 255] because we always want to act
on those values.</FONT></SPAN></DIV>
<DIV><SPAN class=563323105-13082010><FONT face=Arial
color=#0000ff></FONT></SPAN> </DIV>
<DIV><SPAN class=563323105-13082010><FONT face=Arial color=#0000ff>My two
cents.</FONT></SPAN></DIV>
<DIV><SPAN class=563323105-13082010><FONT face=Arial
color=#0000ff></FONT></SPAN> </DIV>
<DIV><SPAN class=563323105-13082010><FONT face=Arial color=#0000ff>Thanks
again,</FONT></SPAN></DIV>
<DIV><SPAN class=563323105-13082010><FONT face=Arial
color=#0000ff>Benoit</FONT></SPAN></DIV>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Giuseppe Sucameli
[mailto:brush.tyler@gmail.com]<BR><B>Sent:</B> Friday, 13 August 2010
03:02<BR><B>To:</B> benoit@exigesa.com<BR><B>Cc:</B>
qgis-developer@lists.osgeo.org<BR><B>Subject:</B> Re: [Qgis-developer] Raster
tools (GDAL plugin) some annoyances<BR><BR></FONT></DIV>Hi Benoit,<BR><BR>
<DIV class=gmail_quote>On Thu, Aug 12, 2010 at 2:40 PM, Benoit de Cabissole
<SPAN dir=ltr><<A href="mailto:benoit@exigesa.com"
target=_blank>benoit@exigesa.com</A>></SPAN> wrote:<BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Hi
GDAL plugin developers,<BR><BR>The 'new' translate dialog box
refers.<BR><BR>1) I want to setup the No data value to 99999 but the textbox
only allows me<BR>to enter 2 digits, after that I have to click on the up
arrow for a looooong<BR>time to get to 99999! Is that restriction on
purpose, is it a Qt limitation?<BR></BLOCKQUOTE>
<DIV>No Qt limit, in this moment the NoData maximum value is wrong
(255).<BR><BR></DIV>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">2)
Also, in the same dialog, I want to convert a TIFF (GTiff) to an
ASCII<BR>grid (AAIGrid) so, in the Output file Select dialog I choose a type
of<BR>"[GDAL] Arc *.Info ASCII Grid (*.asc *.ASC)" and give a name
"test.asc" but<BR>the script info box (bottom textbox) shows "-of GTiff" and
although the<BR>extension of the output file is .asc it creates a tiff file
when run! Is it<BR>on purpose?<BR></BLOCKQUOTE>
<DIV>It's an issue due to a workaround added before applying the patch <BR>at
#2376. Now I can remove it (better if I add a test to keep GdalTools
<BR>compatible with old QGis versions).<BR><BR></DIV>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">What
I'm doing in copying the script to a DOS window, change GTiff to<BR>AAIGrid
and run the script, it works flawlessly but it is a pain. Could
you<BR>consider allowing editing the text in the script info box and run
this<BR>edited script?<BR></BLOCKQUOTE>
<DIV>We want to add this feature ASAP, but it could require some
time.<BR></DIV></DIV><BR>Fixed both issues from
r14074.<BR><BR>Cheers<BR><BR>-- <BR>Giuseppe
Sucameli<BR></BLOCKQUOTE></BODY></HTML>