Hi Markus<div>I did this:</div><div>r.out.gdal input=train_raster00@PERMANENT output=C:\Data\GISDataBase\trainraster00b nodata=-1</div><div>And I got</div><div><div><PROJ_INFO> not found for <DATA></div><div><PROJ_UNITS> not found for <PT_IGP></div>
<div>Exporting to GDAL data type: Byte</div><div>Unable to set projection</div><div>Input raster map contains cells with NULL-value (no-data). The value -1 was used to represent no-data values in the input map. You can specify nodata value by nodata parameter.</div>
<div><br></div><div>It's strange. Then I decided to do g.region display and I realized that:</div><div><div>projection: 0 (x,y)</div><div>zone: 0</div><div>north: 23020.21492744</div><div>south: -190249.78507256</div>
<div>west: -52163.16923233</div><div>east: 177696.83076767</div><div>nsres: 30</div><div>ewres: 30</div><div>rows: 7109</div><div>cols: 7662</div><div>cells: 54469158</div><div>(Fri May 07 10:40:07 2010) Comando terminado (0 sec) </div>
<div>(Fri May 07 10:40:30 2010) </div><div>g.region -p </div><div>projection: 0 (x,y)</div><div>zone: 0</div>
<div>north: 23020.21492744</div><div>south: -190249.78507256</div><div>west: -52163.16923233</div><div>east: 177696.83076767</div><div>nsres: 30</div><div>ewres: 30</div><div>rows: 7109</div>
<div>cols: 7662</div><div>cells: 54469158</div><div><br></div><div>I have NO PROJECTION :( How come? I have defined my Location from a projected Landsat image the same that I have imported. Any clues of what I did wrong?</div>
</div><br><div class="gmail_quote">2010/5/7 Markus Metz <span dir="ltr"><<a href="mailto:markus.metz.giswork@googlemail.com">markus.metz.giswork@googlemail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Kim Besson wrote:<br>
<br>
[snip]<br>
<div class="im"><br>
> 7- Now, export this raster.Since I want a Geotiff I used:<br>
> r.out.tiff input=train_raster00@PERMANENT output=trainraster00a<br>
<br>
</div>You must use r.out.gdal to get a GeoTIFF, r.out.tiff produces an<br>
ordinary tif image, not a spatial raster dataset.<br>
<br>
Markus M<br>
</blockquote></div><br></div>