[GRASS-dev] Standard option identifiers

Helmut Kudrnovsky hellik at web.de
Mon Oct 31 23:38:48 PDT 2016


pjzgeo wrote
> Hi list
> 
> I'm developing some script in "grass gis", and I have some doubt that the
> documentation will not answer me (
> https://grass.osgeo.org/programming7/gis_8h.html)
> 
> 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

> grass-dev at .osgeo

> http://lists.osgeo.org/mailman/listinfo/grass-dev

Have a look at 

https://grass.osgeo.org/grass72/manuals/parser_standard_options.html

G_OPT_R_INPUTS
type : string





-----
best regards
Helmut
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Standard-option-identifiers-tp5293721p5293724.html
Sent from the Grass - Dev mailing list archive at Nabble.com.


More information about the grass-dev mailing list