Explorar o código

bug fix i.ortho.init input key names

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@70371 15284696-431f-4ddb-bdfa-cd5b030d7da7
Yann Chemin %!s(int64=8) %!d(string=hai) anos
pai
achega
35bd6172dc

+ 1 - 0
imagery/i.ortho.photo/Makefile

@@ -4,6 +4,7 @@ MODULE_TOPDIR = ../..
 SUBDIRS1 = \
 	i.ortho.camera \
 	i.ortho.elev \
+	i.ortho.init \
 	i.ortho.rectify \
 	i.ortho.transform
 

+ 3 - 1
imagery/i.ortho.photo/i.ortho.init/i.ortho.init.html

@@ -94,9 +94,11 @@ values in this menu are not used.
 
 <em>
 <a href="i.ortho.photo.html">i.ortho.photo</a>,
-<a href="i.ortho.camera.html">i.ortho.camera</a>,
 <a href="i.photo.2image.html">i.photo.2image</a>,
 <a href="i.photo.2target.html">i.photo.2target</a>,
+<a href="i.ortho.elev.html">i.ortho.elev</a>,
+<a href="i.ortho.camera.html">i.ortho.camera</a>,
+<a href="i.ortho.transform.html">i.ortho.transform</a>,
 <a href="i.photo.rectify.html">i.photo.rectify</a>
 </em>
 

+ 5 - 5
imagery/i.ortho.photo/i.ortho.init/main.c

@@ -92,27 +92,27 @@ int main(int argc, char *argv[])
     omega_opt->description = _("Initial Camera Omega (roll) degrees");
 
     phi_opt = G_define_option();
-    phi_opt->key = "omega";
+    phi_opt->key = "phi";
     phi_opt->type = TYPE_DOUBLE;
     phi_opt->description = _("Initial Camera Phi (pitch) degrees");
 
     kappa_opt = G_define_option();
-    kappa_opt->key = "omega";
+    kappa_opt->key = "kappa";
     kappa_opt->type = TYPE_DOUBLE;
     kappa_opt->description = _("Initial Camera Kappa (yaw) degrees");
 
     omegasd_opt = G_define_option();
-    omegasd_opt->key = "omega";
+    omegasd_opt->key = "omega_sd";
     omegasd_opt->type = TYPE_DOUBLE;
     omegasd_opt->description = _("Omega (roll) standard deviation");
 
     phisd_opt = G_define_option();
-    phisd_opt->key = "omega";
+    phisd_opt->key = "phi_sd";
     phisd_opt->type = TYPE_DOUBLE;
     phisd_opt->description = _("Phi (pitch) standard deviation");
 
     kappasd_opt = G_define_option();
-    kappasd_opt->key = "omega";
+    kappasd_opt->key = "kappa_sd";
     kappasd_opt->type = TYPE_DOUBLE;
     kappasd_opt->description = _("Kappa (yaw) standard deviation");