<p style="color: rgb(0, 0, 0);"><span style="font-size: 11pt;">We have recently done some testing with image processing on a
Linux Server using FWTools 2.0.1. All of the gdal commands work from within our
application which is basically a Java App which goes through and makes several
system calls. However when we run gdalwarp, in particular </span>-srcnodata
"0 0 0" -dstnodata "0 0 1", the command line interprets one
of the zeros as an argument for another switch. Here is the error we get:</p>
<p style="color: rgb(0, 0, 0);"> </p>
<p style="color: rgb(0, 0, 0);"><span style="font-size: 11pt;">ERROR>ERROR 4: `0' does not exist in the file system,</span></p>
<p style="color: rgb(0, 0, 0);"><span style="font-size: 11pt;">ERROR>and is not recognised as a supported dataset name.</span></p>
<p style="color: rgb(0, 0, 0);"><span style="font-size: 11pt;"> </span></p>
<p style="color: rgb(0, 0, 0);"><span style="font-size: 11pt;">We have tried using quotes, not using quotes, single quotes,
double quotes and double of both. Every time we get the same error.</span></p><p style="color: rgb(0, 0, 0);"><br><span style="font-size: 11pt;"></span></p><p style="color: rgb(0, 0, 0);"><span style="font-size: 11pt;">Note: When we run gdalwarp </span>-srcnodata
"0 0 0" -dstnodata "0 0 1" etc. from the command window it works fine, and also on windows/fwtools within the same Java Application.<br></p><p style="color: rgb(0, 0, 0);"><br></p><p style="color: rgb(0, 0, 0);">
Is their any other character besides double quotes that you can use for -srcnodata
"0 0 0" and -dstnodata "0 0 1" within gdalwarp?</p><br style="color: rgb(0, 0, 0);"><p style="color: rgb(0, 0, 0);"><br></p><p style="color: rgb(0, 0, 0);">Thanks,<br></p><br style="color: rgb(0, 0, 0);" clear="all">
<br style="color: rgb(0, 0, 0);"><span style="color: rgb(0, 0, 0);">-- </span><br style="color: rgb(0, 0, 0);"><span style="color: rgb(0, 0, 0);">John J. Mitchell
</span>