[GRASS-user] Grass 6.4 and Opensuse 13.2

Tim Southern tim.southern at talktalk.net
Sun Nov 9 12:55:51 PST 2014


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, grass-user-request at lists.osgeo.org wrote:
> 
> Send grass-user mailing list submissions to
> 	grass-user at lists.osgeo.org
> 
> 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
> 	grass-user-request at lists.osgeo.org
> 
> You can reach the person managing the list at
> 	grass-user-owner at lists.osgeo.org
> 
> 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 <zs1kwa at gmail.com>
> To: Vaclav Petras <wenzeslaus at gmail.com>
> Cc: GRASS user list <grass-user at lists.osgeo.org>
> Subject: Re: [GRASS-user] MATLAB exports
> Message-ID:
> 	<CAJhOL6cM2P+w3dv2ZMteyedzwZix31X85MsytNv078WH9ZaTrQ at 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 <wenzeslaus at gmail.com> wrote:
>> 
>> 
>> On Thu, Nov 6, 2014 at 2:24 AM, Kevin Williams <zs1kwa at gmail.com> 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
>>> grass-user at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/grass-user
>> 
>> 
> 
> 
> ------------------------------
> 
> Message: 2
> Date: Fri, 07 Nov 2014 09:46:45 +0100
> From: Moritz Lennert <mlennert at club.worldonline.be>
> To: Anna Petr??ov? <kratochanna at gmail.com>,	GRASS user list
> 	<grass-user at lists.osgeo.org>,	GRASS-dev <grass-dev at lists.osgeo.org>
> Subject: Re: [GRASS-user] [GRASS-dev] problem with creating areas from
> 	set of points with specific category
> Message-ID: <545C86F5.5000807 at club.worldonline.be>
> 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
>> grass-dev at lists.osgeo.org
>> 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 	<javi.martinez.lopez at gmail.com>
> To: GRASS developers list <grass-dev at lists.osgeo.org>,	grass-user
> 	<grass-user at lists.osgeo.org>
> Subject: [GRASS-user] v.rast.stats by other column instead of 'cat'
> Message-ID:
> 	<CAKgwV9=yT3AmxnpA-xSaWtrqzNfgOTO0R4oFhN+QbEeMwR0DYg at 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 <mlennert at club.worldonline.be>
> To: grass-user at lists.osgeo.org
> Subject: Re: [GRASS-user] v.rast.stats by other column instead of
> 	'cat'
> Message-ID: <545C917E.2040308 at club.worldonline.be>
> 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 	<javi.martinez.lopez at gmail.com>
> To: Moritz Lennert <mlennert at club.worldonline.be>
> Cc: grass-user <grass-user at lists.osgeo.org>
> Subject: Re: [GRASS-user] v.rast.stats by other column instead of
> 	'cat'
> Message-ID:
> 	<CAKgwV9mkOfXQ6E7bUd=JVknSsReAmrM-SxKmL1dt2wzNdAUOvg at 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
> <mlennert at club.worldonline.be> 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
>> grass-user at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/grass-user
> 
> 
> ------------------------------
> 
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
> 
> End of grass-user Digest, Vol 103, Issue 13
> *******************************************



More information about the grass-user mailing list