Re: [GRASS-user] r.stream.extract

2016-02-11 Thread Joshua Arnott
Thanks Moritz! Not sure how I missed that. Josh On Thu, 11 Feb 2016 at 11:00 Moritz Lennert <mlenn...@club.worldonline.be> wrote: > On 11/02/16 11:37, Joshua Arnott wrote: > > Is there a binary for the "r.stream.extract" module available for GRASS > > 7.x on Wind

[GRASS-user] r.stream.extract

2016-02-11 Thread Joshua Arnott
Is there a binary for the "r.stream.extract" module available for GRASS 7.x on Windows? I'm running GRASS 7.0.3 64-bit and have managed to install many of the other r.stream.* modules, but r.stream.extract appears to be missing. Perhaps it has been moved / renamed?

[GRASS-user] Flow accumulation from r.stream

2011-08-26 Thread Joshua Arnott
Hi grass-users, Is it possible to generate a flow accumulation map using r.stream, similar to the one r.watershed produces? I see r.stream.extract outputs a drainage direction raster, from which the accumulation could be calculated, but I can't see any obvious way of doing this. Regards,

[GRASS-user] Re: Import global maps (Ascii, png or KLM) from riverthreat.net

2011-08-15 Thread Joshua Arnott
On 16/08/2011 5:00 pm, grass-user-requ...@lists.osgeo.org wrote: Message: 5 Date: Mon, 15 Aug 2011 12:30:28 +0300 From: Micha Silver mi...@arava.co.il Subject: Re: [GRASS-user] Re: Import global maps (Ascii, png or KLM) from riverthreat.net To: Johannes Radinger jradin...@gmx.at Cc:

[GRASS-user] Location of minimum value in raster

2011-08-03 Thread Joshua Arnott
Hi grass-users, Is there a convenient way to find the location of the minimum value in a raster, either as x,y coordinates or as a binary raster (1 = minimum, 0 = other)? I've looked, but haven't found anything obvious. Regards, Josh. ___

Re: [GRASS-user] Location of minimum value in raster

2011-08-03 Thread Joshua Arnott
Thanks everyone for the quick responses. I've managed to get what I needed. I've been trying to improve upon the stochastic modelling of watershed boundaries, as described in the r.stream.basins manual and Metz and Jasiewicz (2011, p. 1167). Instead of using an area as the catchment outlet, I

[GRASS-user] Interfacing with Numpy

2011-07-14 Thread Joshua Arnott
Hi everyone, Recently I've been doing a lot of work using both GRASS databases (x,y,z,etc vector data) and Numpy. To simplify things I've written a python function to extract data from a database using db.select into a numpy array, making an educated guess at the data type using db.describe.

Re: [GRASS-user] Vector point from EXIF GPS data

2011-05-15 Thread Joshua Arnott
On 15/05/2011 6:31 pm, Juan Miguel Garijo wrote: Hello, This is my 'amateur' solution: def getXYfromFoto(foto): proc=subprocess.Popen('exif -mt GPSLatitude '+foto, shell=True,stdout=subprocess.PIPE)#foto: is the route to a jpg image from a camera Sony DSC-HX5V stdout_value =

[GRASS-user] Vector point from EXIF GPS data

2011-05-14 Thread Joshua Arnott
Hi everyone, Has anyone tried to import the GPS data stored in a JPEG's EXIF metadata into GRASS? I've had some luck, but the system I've come up with is very clunky (mixture of python pexif module and then m.proj to assist import). I'm wondering if anyone has come across anything more

Re: [GRASS-user] Vector point from EXIF GPS data

2011-05-14 Thread Joshua Arnott
On 14/05/2011 4:08 pm, Micha Silver wrote: On 05/14/2011 05:55 PM, Joshua Arnott wrote: Hi everyone, Has anyone tried to import the GPS data stored in a JPEG's EXIF metadata into GRASS? I've had some luck, but the system I've come up with is very clunky (mixture of python pexif module

[GRASS-user] No text on legend or scalebar (grass 7.0)

2011-03-28 Thread Joshua Arnott
Hi grass-users, I'm having issues with the scalebar and legend in GRASS 7.0 (compiled from SVN). The legend and scalebar will display, but the text that goes with them does not. See here: http://snorfalorpagus.net/stuff/grass-7-missingtext.png I don't have this problem with 6.4. Also, if I

Re: [GRASS-user] No text on legend or scalebar (grass 7.0)

2011-03-28 Thread Joshua Arnott
On 28/03/2011 10:21 pm, Hamish wrote: Joshua Arnott wrote: I'm having issues with the scalebar and legend in GRASS 7.0 (compiled from SVN). The legend and scalebar will display, but the text that goes with them does not. See here: http://snorfalorpagus.net/stuff/grass-7-missingtext.png I

[GRASS-user] Re: wxgui fails in latest svn

2011-03-18 Thread Joshua Arnott
On 12/03/2011, Martin Landa landa.martin at gmail.com wrote: Hi, 2011/3/8 Carlos Grohmanncarlos.grohmann at gmail.com http://lists.osgeo.org/mailman/listinfo/grass-user: / 1488, in OnInit // timeout = 2000, parent = None, id = wx.ID_ANY) // TypeError: __init__() got an unexpected

Re: [GRASS-user] Straight-line distance of raster from point

2011-03-12 Thread Joshua Arnott
On 12/03/2011 4:32 am, Hamish wrote: Joshua wrote: For each cell in a raster I'd like to calculate the straight line distance (from it's centre) to a vector point, with the output stored as the value of a new raster. I've had a look through the manual and the archives, but I can't find any

[GRASS-user] Straight-line distance of raster from point

2011-03-11 Thread Joshua Arnott
Hi grass-users, For each cell in a raster I'd like to calculate the straight line distance (from it's centre) to a vector point, with the output stored as the value of a new raster. I've had a look through the manual and the archives, but I can't find any obvious way to do this. TIA, Josh.

[GRASS-user] Re: mapcalc problem in python script!!

2011-02-03 Thread Joshua Arnott
Johannes, Looking at your Python code and the error, I expect the issue is with the way you are calling the script, rather than it's content. From the documentation, g.parser returns a Python dictionary. The options command is a variable, rather than a function.

Re: [GRASS-user] Re: mapcalc problem in python script!!

2011-02-03 Thread Joshua Arnott
On 3 Feb 2011, at 16:55, Johannes Radinger jradin...@gmx.at wrote: Original-Nachricht Datum: Thu, 3 Feb 2011 16:26:47 + Von: Joshua Arnott j...@snorfalorpagus.net An: grass-user@lists.osgeo.org grass-user@lists.osgeo.org Betreff: [GRASS-user] Re: mapcalc problem

[GRASS-user] Colour problems using r.patch (with OS OpenData)

2011-01-25 Thread Joshua Arnott
Hi grass-users, I'm having some difficultly patching together some raster layers (OS OpenData District Raster - TIFF). Individually, the tiles display correctly using d.rast. However, if I patch them into a single tile using r.patch, the colour for all but the first becomes mangled. Example

[GRASS-user] Accessing GRASS databases from Python

2011-01-20 Thread Joshua Arnott
Hi grass-users, I'd like to find out what is the best way of accessing a pre-connected database in GRASS from a Python script. I can see a few different possible approaches to this, but I'm not sure which to take. Ultimately, I want to be able to do two different tasks: 1) Change data for a