<div dir="ltr"><span style="font-size:12.8px">Hi list</span><div style="font-size:12.8px"><br></div><div><span style="font-size:12.8px">I'm developing some script in "grass gis", and I have some doubt that the documentation will not answer me (<a href="https://grass.osgeo.org/programming7/gis_8h.html">https://grass.osgeo.org/programming7/gis_8h.html</a>)</span></div><div><span style="font-size:12.8px"><br></span></div><div style="font-size:12.8px"><span style="font-size:12.8px">What is the diference betwen G_OPT_R_INPUT  and G_OPT_R_MAP ?</span><br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">if I have a geoprocess has two input raster layers, which of these two options standares I use to define these inputs?</div><div style="font-size:12.8px"><br></div><div><span style="font-size:12.8px">Another related question: what are the values that support the keyword "type" in the definition of the head of the code?</span><br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><span style="font-size:12.8px">In my example, I implemented a script with python scripting library, it</span><span style="font-size:12.8px"> takes two raster layers as inputs and outputs a raster layer.</span></div><div>The defintion header is:</div><div style="font-size:12.8px"><span style="font-size:12.8px"><br></span></div><div style="font-size:12.8px"><span style="font-size:12.8px">option: G_OPT_R_INPUT</span><br></div><div><div style="font-size:12.8px"><span style="font-size:12.8px">type : string</span><br></div><div style="font-size:12.8px"><span style="font-size:12.8px"><br></span></div><div><div style="font-size:12.8px"><span style="font-size:12.8px">option: G_OPT_R_INPUT</span><br></div><div><div style="font-size:12.8px"><span style="font-size:12.8px">type : string</span><br></div><div style="font-size:12.8px"><span style="font-size:12.8px"><br></span></div><div>It is correct? </div></div></div><div style="font-size:12.8px"><span style="font-size:12.8px"><br></span></div><div style="font-size:12.8px"><span style="font-size:12.8px">Or, the correct is:</span></div></div><div style="font-size:12.8px"><span style="font-size:12.8px"><br></span></div><div style="font-size:12.8px"><div style="font-size:12.8px"><span style="font-size:12.8px">option: G_OPT_R_INPUT</span><br></div><div style="font-size:small"><div style="font-size:12.8px"><span style="font-size:12.8px">type : raster</span><br></div><div style="font-size:12.8px"><span style="font-size:12.8px"><br></span></div><div><div style="font-size:12.8px"><span style="font-size:12.8px">option: G_OPT_R_INPUT</span><br></div><div><div style="font-size:12.8px"><span style="font-size:12.8px">type : raster</span></div></div></div></div></div><div style="font-size:12.8px"><span style="font-size:12.8px"><br></span></div><div style="font-size:12.8px">Thanks in advanced</div><div style="font-size:12.8px"><span style="font-size:12.8px"><br></span></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><span style="font-size:small">-- </span><br></div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div><b><i><font color="#0000ff">Pablo J. Zader</font></i></b></div><div><b><i><font color="#0000ff">Universidad Nacional de Córdoba</font></i></b></div><div><div style="font-size:12.8px"><font color="#0000ff"><b>GIS and remote sensing developer<br>--</b></font></div></div><div><b style="font-size:12.8px"><i><font color="#0000ff">Lic. en Cs. de la Computación</font></i></b><br></div><div><font color="#0000ff"><b>Mgtr. Aplicaciones en Espaciales de Alerta y Respuesta Temprana a Emergencias</b></font></div><div><font color="#0000ff"><b>--</b></font></div><div><i style="font-size:12.8px"><b><a href="mailto:pablo.zader@gmail.com" target="_blank"><font color="#0000ff">pablo.zader@gmail.com</font></a></b></i><br></div><div><b><i><font size="1"><br></font></i></b></div><div><b><i><font size="1">"Los Grandes Hombres hablan sobre ideas...<br> Los Hombres Promedio hablan sobre cosas...<br> Los Hombres Pequeños hablan.. de otros Hombres.<br><br></font></i></b><div><b><i><font size="1">del libro Matemática estas ahi? A. Paenza "</font></i></b></div></div></div></div></div></div></div>
</div>