[GRASS-SVN] r67319 - grass/trunk/vector/v.in.lidar

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Dec 21 19:59:34 PST 2015


Author: wenzeslaus
Date: 2015-12-21 19:59:34 -0800 (Mon, 21 Dec 2015)
New Revision: 67319

Added:
   grass/trunk/vector/v.in.lidar/projection.h
Modified:
   grass/trunk/vector/v.in.lidar/main.c
Log:
v.in.lidar: define functions in header file (finish r67318)

Modified: grass/trunk/vector/v.in.lidar/main.c
===================================================================
--- grass/trunk/vector/v.in.lidar/main.c	2015-12-22 03:55:23 UTC (rev 67318)
+++ grass/trunk/vector/v.in.lidar/main.c	2015-12-22 03:59:34 UTC (rev 67319)
@@ -28,6 +28,7 @@
 #include <liblas/capi/liblas.h>
 
 #include "count_decimation.h"
+#include "projection.h"
 
 #ifndef MAX
 #  define MIN(a,b)      ((a<b) ? a : b)

Added: grass/trunk/vector/v.in.lidar/projection.h
===================================================================
--- grass/trunk/vector/v.in.lidar/projection.h	                        (rev 0)
+++ grass/trunk/vector/v.in.lidar/projection.h	2015-12-22 03:59:34 UTC (rev 67319)
@@ -0,0 +1,29 @@
+/****************************************************************************
+ *
+ * MODULE:       v.decimate
+ * AUTHOR(S):    Vaclav Petras
+ * PURPOSE:      Reduce the number of points in a vector map
+ * COPYRIGHT:    (C) 2015 by the GRASS Development Team
+ *
+ *               This program is free software under the GNU General Public
+ *               License (>=v2). Read the COPYING file that comes with GRASS
+ *               for details.
+ *
+ *****************************************************************************/
+
+
+#ifndef PROJECTION_CHECKS_H
+#define PROJECTION_CHECKS_H
+
+void projection_mismatch_report(struct Cell_head cellhd,
+                                struct Cell_head loc_wind,
+                                struct Key_Value *loc_proj_info,
+                                struct Key_Value *loc_proj_units,
+                                struct Key_Value *proj_info,
+                                struct Key_Value *proj_units, int err);
+
+void projection_check_wkt(struct Cell_head cellhd,
+                          struct Cell_head loc_wind,
+                          const char *projstr, int override, int verbose);
+
+#endif /* PROJECTION_CHECKS_H */



More information about the grass-commit mailing list