What is the diference betwen G_OPT_R_INPUT and G_OPT_R_MAP ?
if I have a geoprocess has two input raster layers, which of these two options standares I use to define these inputs?
Another related question: what are the values that support the keyword “type” in the definition of the head of the code?
In my example, I implemented a script with python scripting library, it takes two raster layers as inputs and outputs a raster layer.
The defintion header is:
option: G_OPT_R_INPUT
type : string
option: G_OPT_R_INPUT
type : string
It is correct?
Or, the correct is:
option: G_OPT_R_INPUT
type : raster
option: G_OPT_R_INPUT
type : raster
Thanks in advanced
···
Pablo J. Zader Universidad Nacional de Córdoba
GIS and remote sensing developer –
Lic. en Cs. de la Computación
Mgtr. Aplicaciones en Espaciales de Alerta y Respuesta Temprana a Emergencias – pablo.zader@gmail.com
"Los Grandes Hombres hablan sobre ideas… Los Hombres Promedio hablan sobre cosas… Los Hombres Pequeños hablan… de otros Hombres.
What is the diference betwen G_OPT_R_INPUT and G_OPT_R_MAP ?
if I have a geoprocess has two input raster layers, which of these two
options standares I use to define these inputs?
Another related question: what are the values that support the keyword
"type" in the definition of the head of the code?
In my example, I implemented a script with python scripting library, it
takes
two raster layers as inputs and outputs a raster layer.
The defintion header is:
option: G_OPT_R_INPUT
type : string
option: G_OPT_R_INPUT
type : string
It is correct?
Or, the correct is:
option: G_OPT_R_INPUT
type : raster
option: G_OPT_R_INPUT
type : raster
Thanks in advanced
--
*Pablo J. Zader*
*Universidad Nacional de Córdoba*
*GIS and remote sensing developer--*
*Lic. en Cs. de la Computación*
*Mgtr. Aplicaciones en Espaciales de Alerta y Respuesta Temprana a
Emergencias*
*--*
*
pablo.zader@
<
pablo.zader@
>*
*"Los Grandes Hombres hablan sobre ideas... Los Hombres Promedio hablan
sobre cosas... Los Hombres Pequeños hablan.. de otros Hombres.*
*del libro Matemática estas ahi? A. Paenza "*
_______________________________________________
grass-dev mailing list
What is the diference betwen G_OPT_R_INPUT and G_OPT_R_MAP ?
The key for G_OPT_R_INPUT is "input", while the key for G_OPT_R_MAP is
"map". Typically, you would use G_OPT_R_INPUT if the module also has
an output option and G_OPT_R_MAP if the module does not have an output
option, e.g. r.info.
HTH,
Markus M
if I have a geoprocess has two input raster layers, which of these two
options standares I use to define these inputs?
Another related question: what are the values that support the keyword
"type" in the definition of the head of the code?
In my example, I implemented a script with python scripting library, it
takes two raster layers as inputs and outputs a raster layer.
The defintion header is:
option: G_OPT_R_INPUT
type : string
option: G_OPT_R_INPUT
type : string
It is correct?
Or, the correct is:
option: G_OPT_R_INPUT
type : raster
option: G_OPT_R_INPUT
type : raster
Thanks in advanced
--
Pablo J. Zader
Universidad Nacional de Córdoba
GIS and remote sensing developer
--
Lic. en Cs. de la Computación
Mgtr. Aplicaciones en Espaciales de Alerta y Respuesta Temprana a
Emergencias
--
pablo.zader@gmail.com
"Los Grandes Hombres hablan sobre ideas...
Los Hombres Promedio hablan sobre cosas...
Los Hombres Pequeños hablan.. de otros Hombres.