Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#1454 closed enhancement (fixed)

v.outlier manual page does not refer that the vector needs to be a 3D one

Reported by: lutra Owned by: grass-dev@…
Priority: normal Milestone: 6.4.2
Component: Docs Version: 6.4.1
Keywords: v.outlier Cc:
CPU: Unspecified Platform: Unspecified

Description

Summary says it all

Change History (7)

comment:1 by neteler, 11 years ago

I would suggest this modification:

--- description.html    (revision 48395)
+++ description.html    (working copy)
@@ -1,6 +1,6 @@
 <h2>DESCRIPTION</h2>
 
-<em>v.outlier</em> removes outlier points. By default, the outlier
+<em>v.outlier</em> removes outliers in a 3D point cloud. By default, the outlier
 identification is done by a bicubic spline interpolation of the
 observation with a high regularization parameter and a low resolution
 in south-north and east-west directions. Those points that differ in

Makes sense?

in reply to:  1 comment:2 by lutra, 11 years ago

Makes sense?

yes!

comment:3 by martinl, 11 years ago

So v.outlier should complain if input is 2D vector data, right?

comment:4 by martinl, 11 years ago

Keywords: v.outlier added
Milestone: 6.4.2

in reply to:  3 ; comment:5 by hamish, 11 years ago

Replying to martinl:

So v.outlier should complain if input is 2D vector data, right?

yes,

https://trac.osgeo.org/grass/browser/grass/trunk/vector/v.outlier/main.c#L377

Vect_is_3d() seems to be the test to use..

Hamish

in reply to:  5 ; comment:6 by neteler, 11 years ago

Resolution: fixed
Status: newclosed

Replying to hamish:

Replying to martinl:

So v.outlier should complain if input is 2D vector data, right?

yes,

...

Vect_is_3d() seems to be the test to use..

You mean the test which *is* used:

   /* Input vector must be 3D */
    if (!Vect_is_3d(&In))
        G_fatal_error(_("Input vector map <%s> is not 3D!"), in_opt->answer);

Manual fixed, closing.

in reply to:  6 comment:7 by hamish, 11 years ago

Replying to neteler:

You mean the test which *is* used:

oops, missed that.

Hamish

Note: See TracTickets for help on using tickets.