[GRASS-SVN] r71609 - in grass/trunk/vector: . v.profile v.profile/testsuite
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Oct 29 10:24:18 PDT 2017
Author: neteler
Date: 2017-10-29 10:24:18 -0700 (Sun, 29 Oct 2017)
New Revision: 71609
Added:
grass/trunk/vector/v.profile/
Modified:
grass/trunk/vector/Makefile
grass/trunk/vector/v.profile/Makefile
grass/trunk/vector/v.profile/main.c
grass/trunk/vector/v.profile/processors.c
grass/trunk/vector/v.profile/testsuite/test_v_profile.py
grass/trunk/vector/v.profile/v.profile.html
Log:
v.profile: moved from Addons to trunk
Modified: grass/trunk/vector/Makefile
===================================================================
--- grass/trunk/vector/Makefile 2017-10-29 15:39:41 UTC (rev 71608)
+++ grass/trunk/vector/Makefile 2017-10-29 17:24:18 UTC (rev 71609)
@@ -71,6 +71,7 @@
v.perturb \
v.split \
v.qcount \
+ v.profile \
v.random \
v.reclass \
v.rectify \
Modified: grass/trunk/vector/v.profile/Makefile
===================================================================
--- grass-addons/grass7/vector/v.profile/Makefile 2017-10-29 15:39:41 UTC (rev 71608)
+++ grass/trunk/vector/v.profile/Makefile 2017-10-29 17:24:18 UTC (rev 71609)
@@ -1,8 +1,6 @@
-# Uncoment and fix MODULE_TOPDIR line OR provide MODULE_TOPDIR variable for make
-# fix this relative to include/
-# or use absolute path to the GRASS source code
-# MODULE_TOPDIR = ../../..
+MODULE_TOPDIR = ../..
+
PGM = v.profile
LIBES = $(VECTORLIB) $(DBMILIB) $(GISLIB)
Modified: grass/trunk/vector/v.profile/main.c
===================================================================
--- grass-addons/grass7/vector/v.profile/main.c 2017-10-29 15:39:41 UTC (rev 71608)
+++ grass/trunk/vector/v.profile/main.c 2017-10-29 17:24:18 UTC (rev 71609)
@@ -5,7 +5,7 @@
*
* AUTHOR(S): Maris Nartiss <maris.gis at gmail.com>
* with hints from v.out.ascii, v.buffer, v.what
- * and other GRASS modules
+ * and other GRASS GIS modules
*
* PURPOSE: Output vector point/line values along sampling line
*
Modified: grass/trunk/vector/v.profile/processors.c
===================================================================
--- grass-addons/grass7/vector/v.profile/processors.c 2017-10-29 15:39:41 UTC (rev 71608)
+++ grass/trunk/vector/v.profile/processors.c 2017-10-29 17:24:18 UTC (rev 71609)
@@ -37,7 +37,7 @@
resultset[*rescount].distance = dist;
resultset[*rescount].cat = cat;
- //Vect_cat_get(Cats, field_index, &resultset[*rescount].cat);
+ /* Vect_cat_get(Cats, field_index, &resultset[*rescount].cat); */
if (open3d == WITH_Z)
resultset[*rescount].z = z;
(*rescount)++;
Property changes on: grass/trunk/vector/v.profile/testsuite/test_v_profile.py
___________________________________________________________________
Added: svn:mime-type
+ text/x-python
Added: svn:eol-style
+ native
Modified: grass/trunk/vector/v.profile/v.profile.html
===================================================================
--- grass-addons/grass7/vector/v.profile/v.profile.html 2017-10-29 15:39:41 UTC (rev 71608)
+++ grass/trunk/vector/v.profile/v.profile.html 2017-10-29 17:24:18 UTC (rev 71609)
@@ -66,7 +66,8 @@
<p>
Output does not contain Vector CAT values. Only way how to get CAT value is from
the attribute table.
-<p>If sampled feature (point, line) contains multiple attribute entries
+<p>
+If sampled feature (point, line) contains multiple attribute entries
(has multiple CAT values), only the first one is reported. If this is a
limitation in some practical use case, a feature request in GRASS GIS
issue tracker should be opened.
@@ -74,7 +75,7 @@
<h2>SEE ALSO</h2>
<em>
-<a href="r.profile.html">r.profile</a><br>
+<a href="r.profile.html">r.profile</a>,
<a href="lrs.html">Linear Referencing System</a>
</em>
More information about the grass-commit
mailing list