<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://grasswiki.osgeo.org/w/index.php?action=history&amp;feed=atom&amp;title=GRASS_6_Tutorial%2FRaster_data%2Fes</id>
	<title>GRASS 6 Tutorial/Raster data/es - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://grasswiki.osgeo.org/w/index.php?action=history&amp;feed=atom&amp;title=GRASS_6_Tutorial%2FRaster_data%2Fes"/>
	<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=GRASS_6_Tutorial/Raster_data/es&amp;action=history"/>
	<updated>2026-04-29T23:15:43Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://grasswiki.osgeo.org/w/index.php?title=GRASS_6_Tutorial/Raster_data/es&amp;diff=23337&amp;oldid=prev</id>
		<title>⚠️Dat: GRASS 6 Tutorial/Raster data/es</title>
		<link rel="alternate" type="text/html" href="https://grasswiki.osgeo.org/w/index.php?title=GRASS_6_Tutorial/Raster_data/es&amp;diff=23337&amp;oldid=prev"/>
		<updated>2016-08-04T13:56:14Z</updated>

		<summary type="html">&lt;p&gt;GRASS 6 Tutorial/Raster data/es&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Manejo de datos ráster==&lt;br /&gt;
===Importación de datos===&lt;br /&gt;
De manera similar al caso de los datos vectoriales, la importación y exportación de los datos es realizada con GDAL. De tal manera que se usan los módulos: &amp;lt;code&amp;gt;r.in.*&amp;lt;/code&amp;gt; y &amp;lt;code&amp;gt;r.out.*&amp;lt;/code&amp;gt;, especificamente  &amp;lt;code&amp;gt;r.in.gdal&amp;lt;/code&amp;gt; y &amp;lt;code&amp;gt;r.out.gdal&amp;lt;/code&amp;gt;. Es posible también usar el módulo &amp;lt;code&amp;gt;r.extenal&amp;lt;/code&amp;gt; para enlazar los datos, en vez de importarlos.&lt;br /&gt;
&lt;br /&gt;
De esta manera, un archivo Geotiff puede ser importado a GRASS usando la línea de comandos, o la GUI.&lt;br /&gt;
&lt;br /&gt;
 r.in.gdal input=elev_input_state500m.tif output=elev_input_state500m&lt;br /&gt;
&lt;br /&gt;
[[File:Grass raster import.png|400px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Algunas veces, se desea definir la región del Directorio de mapas a la extensión del ráster. Por ejemplo, continuando  el ejercicio anterior, se haría lo siguiente:&lt;br /&gt;
 &lt;br /&gt;
 g.region rast=elev_input_state500m&lt;br /&gt;
&lt;br /&gt;
Un problema común es el de la importación de varios archivos. Desde la GUI, en &amp;lt;code&amp;gt;r.in.gdal&amp;lt;/code&amp;gt;, solamente se selecciona la opción &amp;quot;Directorio&amp;quot;, en la sección de &amp;quot;Tipo de Fuente&amp;quot;, y se escogen todos los archivos que se deseen. Desde la línea de comandos, se puede utilizar un bucle (''loop''), como el del siguiente código:&lt;br /&gt;
&lt;br /&gt;
 for file in `ls *.tif`&lt;br /&gt;
  do&lt;br /&gt;
   r.in.gdal input=$file output=${file%.tif}&lt;br /&gt;
 done&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Nota - cuando se usa r.in.gdal, se importa el mapa completo, i.e. toda la extensión''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: Tutorial]]&lt;br /&gt;
[[Category: Languages/es]]&lt;/div&gt;</summary>
		<author><name>⚠️Dat</name></author>
	</entry>
</feed>