[GRASS-user] Re: python pipe output for v.lidar.edgedetection -e

Mark Seibel mseibel at gmail.com
Thu Jul 1 15:47:12 EDT 2010


Self updating....
It looks like the point estimate outputs for that module go to stderr,
which can be captured nicely.

Mark

On Thu, Jul 1, 2010 at 2:01 PM, Mark Seibel <mseibel at gmail.com> wrote:
> I've been using this as a resource,
> http://grass.osgeo.org/wiki/GRASS_and_Python , which has been great.
> I'm just starting to get into Python and GRASS.
>
> I have had success with the grass.pipe_command and grass.read_command
> for 'r.stats' and 'g.region -g'.
>
> However, when I try to get the point estimate value output (which goes
> to the terminal) from the v.lidar.edgedetection module into a
> variable, it is without success, as it does not put any data in the
> variable.  I'm looking to get the mean point distance output from this
> module.  the command being used is, "v.lidar.edgedetection -e
> --overwrite input=points_all output=estimate see=5 sen=5 lambda_g=.01
> tgh=6 tgl=3 theta_g=.26 lambda_r=2"
>
> Is there anything different or particular about this lidar command,
> compared to the examples from the GRASS_and_Python wiki?
>
> Thanks to all.
> Mark
>


More information about the grass-user mailing list