Hi Tim, the installation of grass includes numpy. It is a requirement. What were you trying to do, so I can better try to understand. Are you using the Processing or the GRASS Plugin and what modules did not work?
Regards Otto Am Sun, 9 Nov 2014 20:55:51 +0000 schrieb Tim Southern <[email protected]>: > Hi All, > > I upgraded the OS on the lap-top to Opensuse 13.2 and although Grass has > been updated to the correct version for opensuse 13.2 (from geo > repository) it fails to run generating “numeric, numeral or numpy not > found. > > Numpy is installed. > > This appears to be similar to an earlier issue with numpy not being found > within a MacOS logged on 5th July 2014. > > Is this a general problem with the Opensuse 13.2 Grass 6.4 version or > something specific to my machine? > > Thanks > > Tim > > Tim Southern > 17, Park Close, > Sonning Common, > Oxfordshire > RG4 9RY > > > > > On 7 Nov 2014, at 20:00, [email protected] wrote: > > > > Send grass-user mailing list submissions to > > [email protected] > > > > To subscribe or unsubscribe via the World Wide Web, visit > > http://lists.osgeo.org/mailman/listinfo/grass-user > > or, via email, send a message with subject or body 'help' to > > [email protected] > > > > You can reach the person managing the list at > > [email protected] > > > > When replying, please edit your Subject line so it is more specific > > than "Re: Contents of grass-user digest..." > > > > > > Today's Topics: > > > > 1. Re: MATLAB exports (Kevin Williams) > > 2. Re: [GRASS-dev] problem with creating areas from set of > > points with specific category (Moritz Lennert) > > 3. v.rast.stats by other column instead of 'cat' > > (Javier Mart?nez-L?pez) > > 4. Re: v.rast.stats by other column instead of 'cat' (Moritz Lennert) > > 5. Re: v.rast.stats by other column instead of 'cat' > > (Javier Mart?nez-L?pez) > > > > > > ---------------------------------------------------------------------- > > > > Message: 1 > > Date: Fri, 7 Nov 2014 05:42:16 +0200 > > From: Kevin Williams <[email protected]> > > To: Vaclav Petras <[email protected]> > > Cc: GRASS user list <[email protected]> > > Subject: Re: [GRASS-user] MATLAB exports > > Message-ID: > > <cajhol6cm2p+w3dv2zmteyedzwzix31x85msytnv078wh9za...@mail.gmail.com> > > Content-Type: text/plain; charset=UTF-8 > > > > Hi > > > > It does not seem possible to tell Matlab it is a v4 file, but (thanks > > for the suggestion) Octave has no problem with it. > > > > I can "re-save" it as a new v4 file from Octave, and then Matlab will > > load it. > > > > Best regards, Kevin > > > > On 7 November 2014 03:19, Vaclav Petras <[email protected]> wrote: > >> > >> > >> On Thu, Nov 6, 2014 at 2:24 AM, Kevin Williams <[email protected]> wrote: > >>> > >>> Hi > >>> > >>> I am trying to export maps from Grass 7.0.0 running in Linux (64 bit > >>> Ubuntu) using r.out.mat. > >>> > >>> Matlab (R2014b), however, complains that these files are corrupt. > >>> (Matlab is also running in Linux.) > >>> > >>> Could anyone please advise? > >>> > >> Hi, > >> > >> it is possible that r.out.mat supports some older version of these .mat > >> files which Matlab no longer accepts. > >> > >> There are some things you can do. > >> > >> 1) Try if you can tell Matlab that it is an older version of the format. > >> 2) Try Octave, perhaps load and save there, then open in Matlab. > >> 3) Try on of the (many) formats provided by r.out.gdal. Can Matlab load > >> TIFF, for example? > >> 4) Use r.out.ascii (or r.out.xyz) and read the created text file to > >> Matlab in some way. > >> 5) Fix r.out.mat if you can and submit a patch. > >> > >> In any case, please share what worked for you. > >> > >> Vaclav > >> > >>> Many thanks, Kevin > >>> _______________________________________________ > >>> grass-user mailing list > >>> [email protected] > >>> http://lists.osgeo.org/mailman/listinfo/grass-user > >> > >> > > > > > > ------------------------------ > > > > Message: 2 > > Date: Fri, 07 Nov 2014 09:46:45 +0100 > > From: Moritz Lennert <[email protected]> > > To: Anna Petr??ov? <[email protected]>, GRASS user list > > <[email protected]>, GRASS-dev > > <[email protected]> Subject: Re: [GRASS-user] [GRASS-dev] > > problem with creating areas from set of points with specific category > > Message-ID: <[email protected]> > > Content-Type: text/plain; charset=windows-1252; format=flowed > > > > On 05/11/14 22:00, Anna Petr??ov? wrote: > >> Hi, > >> > >> my problem is - I have polygons defined as a set of coordinates with > >> assigned categories and I want to create vector areas where the centroid > >> would have that category. I don't want to use PyGRASS because of ctypes. > >> I wanted to write an ascii file (ascii vector format) but it allows me > >> to write only boundaries and centroids (not areas). But I don't have > >> centroids. So I can write boundaries and then use v.centroids afterwards > >> but I don't know how to specify the correct category values for those > >> new centroids. > > > > You could try something like this: > > > > - Import your boundaries with the correct cat values > > - Create a table linked to your new centroids > > - Add a cat2 column > > - Use v.distance to get for each centroid the cat value of the closest > > boundary and load it into cat2 > > - Use v.reclass to make cat2 into the actual cat values of the centroids > > - Erase the cat values of the boundaries > > > >> There doesn't seem to be any way to transfer categories > >> from boundaries to centroids. So, am I missing something? Why vector > >> ascii format doesn't support areas? > > > > Because GRASS uses a topological vector format and areas do not exist as > > such in that format. But I can understand that it would be nice to have > > an easy way. If your polygons are not too complex you can always try the > > simple average of the x and y coordinates of your points as coordinates > > for a centroid, but you might have situations where these mean > > coordinates do not lie within the polygon. > > > >> Would it be difficult to add it? > > > > No idea. At the very least, scripting the above process should be > > possible...if it works ;-) > > > > Moritz > >> > >> Thanks, > >> > >> Anna > >> > >> > >> _______________________________________________ > >> grass-dev mailing list > >> [email protected] > >> http://lists.osgeo.org/mailman/listinfo/grass-dev > >> > > > > > > > > > > ------------------------------ > > > > Message: 3 > > Date: Fri, 7 Nov 2014 10:25:30 +0100 > > From: Javier Mart?nez-L?pez <[email protected]> > > To: GRASS developers list <[email protected]>, grass-user > > <[email protected]> > > Subject: [GRASS-user] v.rast.stats by other column instead of 'cat' > > Message-ID: > > <CAKgwV9=yt3amxnpa-xsawtrqznfgoto0r4ofhn+qbeemwr0...@mail.gmail.com> > > Content-Type: text/plain; charset=ISO-8859-1 > > > > Dear all, > > > > is it possible to use v.rast.stats or a similar function to compute > > univariate statistics from a raster map for each category present in a > > column of a vector map? As far as I know v.rast.stats only allow to do > > it by 'cat'. > > > > Thank you very much and cheers, > > > > Javier > > > > > > ------------------------------ > > > > Message: 4 > > Date: Fri, 07 Nov 2014 10:31:42 +0100 > > From: Moritz Lennert <[email protected]> > > To: [email protected] > > Subject: Re: [GRASS-user] v.rast.stats by other column instead of > > 'cat' > > Message-ID: <[email protected]> > > Content-Type: text/plain; charset=windows-1252; format=flowed > > > > On 07/11/14 10:25, Javier Mart?nez-L?pez wrote: > >> Dear all, > >> > >> is it possible to use v.rast.stats or a similar function to compute > >> univariate statistics from a raster map for each category present in a > >> column of a vector map? As far as I know v.rast.stats only allow to do > >> it by 'cat'. > > > > I think this is true, but you can use v.reclass to create a vector map > > according to your new categories and the run v.what.rast with that... > > > > Moritz > > > > > > ------------------------------ > > > > Message: 5 > > Date: Fri, 7 Nov 2014 10:36:55 +0100 > > From: Javier Mart?nez-L?pez <[email protected]> > > To: Moritz Lennert <[email protected]> > > Cc: grass-user <[email protected]> > > Subject: Re: [GRASS-user] v.rast.stats by other column instead of > > 'cat' > > Message-ID: > > <CAKgwV9mkOfXQ6E7bUd=jvknssreamrm-sxkml1dt2wzndau...@mail.gmail.com> > > Content-Type: text/plain; charset=ISO-8859-1 > > > > I will try... thanks! > > > > On Fri, Nov 7, 2014 at 10:31 AM, Moritz Lennert > > <[email protected]> wrote: > >> On 07/11/14 10:25, Javier Mart?nez-L?pez wrote: > >>> > >>> Dear all, > >>> > >>> is it possible to use v.rast.stats or a similar function to compute > >>> univariate statistics from a raster map for each category present in a > >>> column of a vector map? As far as I know v.rast.stats only allow to do > >>> it by 'cat'. > >> > >> > >> I think this is true, but you can use v.reclass to create a vector map > >> according to your new categories and the run v.what.rast with that... > >> > >> Moritz > >> _______________________________________________ > >> grass-user mailing list > >> [email protected] > >> http://lists.osgeo.org/mailman/listinfo/grass-user _______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
