Browse Source

v.in.lidar: define functions in header file (finish https://trac.osgeo.org/grass/changeset/67318)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@67319 15284696-431f-4ddb-bdfa-cd5b030d7da7
Vaclav Petras 9 years ago
parent
commit
c14b6e7713
2 changed files with 30 additions and 0 deletions
  1. 1 0
      vector/v.in.lidar/main.c
  2. 29 0
      vector/v.in.lidar/projection.h

+ 1 - 0
vector/v.in.lidar/main.c

@@ -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)

+ 29 - 0
vector/v.in.lidar/projection.h

@@ -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 */