[GRASS-SVN] r63861 - grass-addons/grass7/imagery/i.points.auto

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Dec 29 11:38:46 PST 2014


Author: martinl
Date: 2014-12-29 11:38:46 -0800 (Mon, 29 Dec 2014)
New Revision: 63861

Modified:
   grass-addons/grass7/imagery/i.points.auto/find_points.c
   grass-addons/grass7/imagery/i.points.auto/main.c
   grass-addons/grass7/imagery/i.points.auto/target.c
Log:
update addons to current libgis


Modified: grass-addons/grass7/imagery/i.points.auto/find_points.c
===================================================================
--- grass-addons/grass7/imagery/i.points.auto/find_points.c	2014-12-29 19:36:13 UTC (rev 63860)
+++ grass-addons/grass7/imagery/i.points.auto/find_points.c	2014-12-29 19:38:46 UTC (rev 63861)
@@ -156,9 +156,9 @@
     /* Open second map */
     G_debug(1, "load target image");
     G_debug(1, "location: %s", G_location());
-    G_debug(1, "projection: %s", G__projection_name(G_projection()));
-    G_debug(1, "tgt_window projection: %s", G__projection_name(tgt_window.proj));
-    G_debug(1, "cellhd2 projection: %s", G__projection_name(cellhd2.proj));
+    G_debug(1, "projection: %s", G_projection_name(G_projection()));
+    G_debug(1, "tgt_window projection: %s", G_projection_name(tgt_window.proj));
+    G_debug(1, "cellhd2 projection: %s", G_projection_name(cellhd2.proj));
 
     if ((second_map_R_fd =
 	 Rast_open_old(second_map_R_name, second_map_R_mapset)) < 0) {

Modified: grass-addons/grass7/imagery/i.points.auto/main.c
===================================================================
--- grass-addons/grass7/imagery/i.points.auto/main.c	2014-12-29 19:36:13 UTC (rev 63860)
+++ grass-addons/grass7/imagery/i.points.auto/main.c	2014-12-29 19:38:46 UTC (rev 63861)
@@ -139,8 +139,8 @@
 
     G_get_element_window(&tgt_window_org, "", "WIND", G_mapset());
     G_get_element_window(&tgt_window, "", "WIND", G_mapset());
-    G_debug(1, "projection: %s", G__projection_name(G_projection()));
-    G_debug(1, "tgt_window projection: %s", G__projection_name(tgt_window.proj));
+    G_debug(1, "projection: %s", G_projection_name(G_projection()));
+    G_debug(1, "tgt_window projection: %s", G_projection_name(tgt_window.proj));
     
     /* read group control points, if any */
     select_env(SRC_ENV);

Modified: grass-addons/grass7/imagery/i.points.auto/target.c
===================================================================
--- grass-addons/grass7/imagery/i.points.auto/target.c	2014-12-29 19:36:13 UTC (rev 63860)
+++ grass-addons/grass7/imagery/i.points.auto/target.c	2014-12-29 19:38:46 UTC (rev 63861)
@@ -30,7 +30,7 @@
 
     G_create_alt_env();
     G_setenv("LOCATION_NAME", location);
-    stat = G__mapset_permissions(mapset);
+    stat = G_mapset_permissions(mapset);
     if (stat > 0) {
 	G_setenv("MAPSET", mapset);
 	G_create_alt_search_path();



More information about the grass-commit mailing list