[GRASS-user] profile tools in GRASS GIS 6.4.ORC2

Michael Barton michael.barton at asu.edu
Sat Jan 31 10:37:55 EST 2009



On Jan 31, 2009, at 3:51 AM, <grass-user-request at lists.osgeo.org> wrote:

> Date: Fri, 30 Jan 2009 20:30:12 +0100
> From: Jhon Ortiz <eljhonjhon at hotmail.com>
> Subject: [GRASS-user] profile tools in GRASS GIS 6.4.ORC2
> To: User grass <grass-user at lists.osgeo.org>
> Message-ID: <BLU145-W118BF906490D11D23E954FC6C60 at phx.gbl>
> Content-Type: text/plain; charset="iso-8859-1"
>
>
>
> Hi to all,
>
>
> Im working with grass 6.4.0RC2 in Ubuntu 8.04.
>
>
> I tried Interactively create profile of a raster map.
> I drew Profile transect with the mouse in map display,
> but when I make click in the profile button to create the profile,  
> don't display anything
> and gave me  this error:
>
> Traceback (most recent call last):
>  File "/usr/local/grass-6.4.0RC2/etc/wxpython/gui_modules/p
> rofile.py", line 449, in OnCreateProfile
>
> self.DrawPlot()
>  File "/usr/local/grass-6.4.0RC2/etc/wxpython/gui_modules/p
> rofile.py", line 474, in DrawPlot
>
> legend=r['plegend'])
>  File "/usr/lib/python2.5/site-
> packages/wx-2.8-gtk2-unicode/wx/lib/plot.py", line 224, in
> __init__
>
> PolyPoints.__init__(self, points, attr)
>  File "/usr/lib/python2.5/site-
> packages/wx-2.8-gtk2-unicode/wx/lib/plot.py", line 124, in
> __init__
>
> self._points =
> _Numeric.array(points).astype(_Numeric.Float64)
> ValueError
> :
> matrices are not aligned for copy
>
>
> Some advice?

You need to have numpy or numarray installed for profiling to work in  
the wxPython gui. Have you installed one of these?

Michael


More information about the grass-user mailing list