[GRASS-SVN] r73067 - grass-addons/grass7/raster/r.in.pdal
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Aug 8 19:09:02 PDT 2018
Author: wenzeslaus
Date: 2018-08-08 19:09:02 -0700 (Wed, 08 Aug 2018)
New Revision: 73067
Modified:
grass-addons/grass7/raster/r.in.pdal/r.in.pdal.py
Log:
r.in.pdal: use standard option when possible, fix type of input (raster map to binary file)
Modified: grass-addons/grass7/raster/r.in.pdal/r.in.pdal.py
===================================================================
--- grass-addons/grass7/raster/r.in.pdal/r.in.pdal.py 2018-08-09 02:02:15 UTC (rev 73066)
+++ grass-addons/grass7/raster/r.in.pdal/r.in.pdal.py 2018-08-09 02:09:02 UTC (rev 73067)
@@ -27,7 +27,7 @@
#% overwrite: yes
#%end
-#%option G_OPT_R_INPUT
+#%option G_OPT_F_BIN_INPUT
#% key: input
#% description: LAS input file
#% required: yes
@@ -47,7 +47,7 @@
#% required: no
#%end
-#%option
+#%option G_OPT_R_INPUT
#% key: raster_reference
#% label: Raster map to be used as pixel geometry reference
#% description: Raster map to align to, e.g. an orthophoto of the same region
@@ -54,7 +54,7 @@
#% required: no
#%end
-#%option
+#%option G_OPT_F_BIN_INPUT
#% key: raster_file
#% label: External raster map to be used as pixel geometry reference
#% description: External raster map to align to, e.g. an orthophoto of the same region
@@ -87,14 +87,9 @@
#% required: no
#%end
-#%option
-#% key: type
-#% type: string
-#% description: Type of raster map to be created / Storage type for resultant raster map
-#% options: CELL, FCELL, DCELL
+#%option G_OPT_R_TYPE
#% answer: FCELL
#% required: no
-#% descriptions: CELL;Integer;FCELL;Single precision floating point;DCELL;Double precision floating point
#%end
#%option
More information about the grass-commit
mailing list