[GRASS-SVN] r71083 - grass/trunk/imagery/i.ortho.photo/i.ortho.photo
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri May 12 06:28:31 PDT 2017
Author: ychemin
Date: 2017-05-12 06:28:31 -0700 (Fri, 12 May 2017)
New Revision: 71083
Modified:
grass/trunk/imagery/i.ortho.photo/i.ortho.photo/menu.c
Log:
Updated menu module i.ortho.photo with new gui module names
Modified: grass/trunk/imagery/i.ortho.photo/i.ortho.photo/menu.c
===================================================================
--- grass/trunk/imagery/i.ortho.photo/i.ortho.photo/menu.c 2017-05-12 13:17:57 UTC (rev 71082)
+++ grass/trunk/imagery/i.ortho.photo/i.ortho.photo/menu.c 2017-05-12 13:28:31 UTC (rev 71083)
@@ -63,9 +63,9 @@
"i.ortho.target;%s;"
"i.ortho.elev;%s;"
"i.ortho.camera;%s;"
- "g.gui.iphoto2image;%s;"
+ "g.gui.photo2image;%s;"
"i.ortho.init;%s;"
- "g.gui.iphoto2target;%s;"
+ "g.gui.image2target;%s;"
"i.ortho.rectify;%s;",
_("1 - Select/Modify imagery group"),
_("2 - Select/Modify imagery group target"),
@@ -76,7 +76,7 @@
_("7 - Compute ortho-rectification parameters"),
_("8 - Ortho-rectify imagery files"));
ortho_opt->descriptions = desc_ortho_opt;
- ortho_opt->options = "i.group,i.ortho.target,i.ortho.elev,i.ortho.camera,g.gui.iphoto2image,i.ortho.init,g.gui.iphoto2target,i.ortho.rectify";
+ ortho_opt->options = "i.group,i.ortho.target,i.ortho.elev,i.ortho.camera,g.gui.photo2image,i.ortho.init,g.gui.image2target,i.ortho.rectify";
if (G_parser(argc, argv))
exit(EXIT_FAILURE);
@@ -106,11 +106,11 @@
grname=group.name;
moduletorun=ortho_opt->answer;
/* run the program chosen */
- if (strcmp(moduletorun, "g.gui.iphoto2image") == 0){
- strcpy(tosystem,"g.gui.iphoto2image");
+ if (strcmp(moduletorun, "g.gui.photo2image") == 0){
+ strcpy(tosystem,"g.gui.photo2image");
err=system((const char *)tosystem);
- }else if (strcmp(moduletorun, "g.gui.iphoto2target") == 0){
- strcpy(tosystem,"g.gui.iphoto2target");
+ }else if (strcmp(moduletorun, "g.gui.image2target") == 0){
+ strcpy(tosystem,"g.gui.image2target");
err=system((const char *)tosystem);
}else{
if (strcmp(moduletorun, "i.group") == 0)
More information about the grass-commit
mailing list