[GRASS-user] Computing the maximum number of consecutive days on a STRDS

2018-08-22 Thread Pierre Roudier
Hi, I'm trying to compute the maximum number of consecutive days according to a given rule (eg: maximum of consecutive days with precipitation > 0 mm) on a STRDS, but I'm getting stuck with the syntax. Is that something possible to do within GRASS's temporal framework? Kind regards, Pierre

Re: [GRASS-user] New CLI option --tmp-location in 7.5 to enhance --exec

2018-08-16 Thread Pierre Roudier
16 August 2018 at 20:37, Stefan Blumentrath wrote: > Dear Pierre, > > Just in case you are not aware of it, GRASS and R integrate very nicely: > https://grasswiki.osgeo.org/wiki/R_statistics/rgrass7 > > Cheers, > Stefan > > -Original Message----- > From: grass-use

Re: [GRASS-user] New CLI option --tmp-location in 7.5 to enhance --exec

2018-08-16 Thread Pierre Roudier
Thanks Vaclav, Looks like a great enhancement. It should make it easy to wrap it into a R package for example. One question -- is that possible to refer to the input dataset in the script called by --exec? Something like: grass --tmp-location ~/data/elevation.tiff --exec "r.param.scale

[GRASS-user] Using r.stream.distance on an existing vector dataset of river flows

2018-05-16 Thread Pierre Roudier
Hi, I have a high quality vector dataset describing the river flows (and order) at the national level, and I would like to use this dataset to compute the elevation above stream and distance from stream (typically as an output from r.stream.distance). Is there any way to do this? I guess it

Re: [GRASS-user] Aggregation of massive number of raster layers with r.series

2017-05-12 Thread Pierre Roudier
Thanks Moritz, Indeed, I ended up creating mapsets on the fly using grass72 -c, and processing tiles in their respective mapsets. On 12 May 2017 at 18:18, Moritz Lennert <mlenn...@club.worldonline.be> wrote: > > > Le 11 mai 2017 23:30:28 GMT+02:00, Pierre Roudier < > pie

Re: [GRASS-user] Aggregation of massive number of raster layers with r.series

2017-05-11 Thread Pierre Roudier
neck (e.g. slow > network connection to the data)). > Care has to be taken with the region settings, though. > > See e.g.: > https://grasswiki.osgeo.org/wiki/Parallel_GRASS_jobs#Working_with_tiles > > Cheers > Stefan > > ____ > Von

[GRASS-user] Aggregation of massive number of raster layers with r.series

2017-04-20 Thread Pierre Roudier
Hi, I am trying to compute the 95th percentile of a massive grid (12+ million pixels) for a massive number of layers (~2500 layers). I am doing the aggregation using r.series on our cluster running grass 7.2, but of course it takes ages (21% there after 3 days). - I tried to tile the process,

Re: [GRASS-user] [GRASS-dev] Object-based image classification in GRASS

2014-01-29 Thread Pierre Roudier
Very useful resource Martin. FWIW, the translation of the page is very usable for non-Czech speakers: http://translate.google.com/translate?sl=cstl=enjs=nprev=_thl=enie=UTF-8u=http%3A%2F%2Fgeo.fsv.cvut.cz%2Fgwiki%2F153ZODH_%2F_15._cvi%25C4%258Den%25C3%25ADact=url Pierre 2014-01-29 Martin Landa

Re: [GRASS-user] [GRASS-dev] Object-based image classification in GRASS

2013-10-30 Thread Pierre Roudier
Moritz, Thanks heaps for the script. It's really is useful and will facilitate the adoption of i.segment. It certainly would be a nice addition to the wiki page. Unfortunately I can't comment too much on this, as my object-based classification projects are on hold, but I'll try to give that a

Re: [GRASS-user] [GRASS-dev] SVM classifier and MeanShift

2012-12-25 Thread Pierre Roudier
Mohammed, For segmentation please get in touch with Eric Momsen who worked on i.segment recently, with great success. We were looking forward to add the mean shift option. Keep also Markus Metz in the loop - he was the mentor of the project and worked on i.segment.xl. Also, make sure you check

Re: [GRASS-user] [GRASS-PSC] PSC nomination, Moritz Lennert

2012-10-30 Thread Pierre Roudier
Hi all, Not sure if my vote counts, but I'd like to add my +1 here. I had the opportunity to exchange emails with Moritz during Eric's GSoC project, and certainly appreciated his contributions and his very sound understanding of the GRASS GIS project as a whole. Pierre 2012/10/31 Eric Momsen

Re: [GRASS-user] problem with grass 6.4.0

2012-07-11 Thread Pierre Roudier
Alberto, Your field separator is set to empty string (fs=), wouldn't that be the problem? Cheers, P_ 2012/7/11 Alberto Pettazzi alberto.petta...@meteogalicia.es: Dear all, I was using GRASS version 6.3.0 and everything worked fine. Now I installed 6.4.1 on a brand new server and I am

Re: [GRASS-user] Creation of GISDBASE in a script

2011-11-07 Thread Pierre Roudier
Thanks for your answers, For GRASS 6, see in Addons grass_create_location.sh: http://trac.osgeo.org/grass/browser/grass-addons/general/grass_create_location I did saw this add-on, but isn't it generating a new location only (ie not a new, entire GRASSDATA)? Pierre -- Scientist Landcare

Re: [GRASS-user] Creation of GISDBASE in a script

2011-11-07 Thread Pierre Roudier
Thanks for the clarification Markus et al., it works indeed, Pierre 2011/11/8 Markus Neteler nete...@osgeo.org: On Mon, Nov 7, 2011 at 8:46 PM, Pierre Roudier pierre.roud...@gmail.com wrote: Thanks for your answers, For GRASS 6, see in Addons grass_create_location.sh: http

[GRASS-user] Creation of GISDBASE in a script

2011-11-06 Thread Pierre Roudier
Hi list, I'm trying to use GRASS 6.4.2 rc1 on a cluster, where each session is launched on a TMP space. As a consequence, I cannot setup a GRASSDATA db once for all - I need to upload the spatial data I want to work with, create a tmp grassdata/location/mapset in a script, then launch my GIS with

[GRASS-user] Re: Removing small areas using v.clean

2011-09-27 Thread Pierre Roudier
Thank you very much Michael, I just downloaded the script - will give it a try ASAP. This seems to be a very comprehensive set of functions, I do encourage all users to give it a closer look. Cheers, Pierre 2011/9/23 rabo...@supagro.inra.fr: Dear M Roudier, maybe one of my development can

Re: [GRASS-user] Removing small areas using v.clean

2011-09-22 Thread Pierre Roudier
this is just a wish! Thanks for the time you spent looking into my problem, this is much appreciated as usual, Pierre 2011/9/22 Markus Metz markus.metz.gisw...@googlemail.com: On Thu, Sep 22, 2011 at 5:26 AM, Pierre Roudier pierre.roud...@gmail.com wrote: BTW I confirm I got similar problems

Re: [GRASS-user] Removing small areas using v.clean

2011-09-21 Thread Pierre Roudier
LOCATION: NZTM2000 MAPSET: BH USER: roudierp DATE: Thu Sep 15 17:31:45 2011 [Raster MASK present] Cheers, Pierre 2011/9/21 Markus Metz markus.metz.gisw...@googlemail.com: On Wed, Sep 21, 2011 at 12:51 AM, Pierre Roudier pierre.roud...@gmail.com wrote: Markus, Sorry for this late reply as I

Re: [GRASS-user] Removing small areas using v.clean

2011-09-21 Thread Pierre Roudier
BTW I confirm I got similar problems with the 6.4 series, Pierre 2011/9/22 Pierre Roudier pierre.roud...@gmail.com: Thanks Markus, Here's an archive containing the input vector layer, along with v.clean output: https://df.bestgrid.org/quickshare/fb0bb3af778c8a03/vectors.tar.gz Here's

Re: [GRASS-user] Removing small areas using v.clean

2011-09-20 Thread Pierre Roudier
, 2011 at 6:28 AM, Pierre Roudier pierre.roud...@gmail.com wrote: Dear list, I got a problem as I'm trying to remove small areas of a vector layer using v.clean with the rmarea tool: some of these small areas that are on the boundary of the layer are getting erased rather than being merged

[GRASS-user] Removing small areas using v.clean

2011-09-15 Thread Pierre Roudier
Dear list, I got a problem as I'm trying to remove small areas of a vector layer using v.clean with the rmarea tool: some of these small areas that are on the boundary of the layer are getting erased rather than being merged with the closest polygon. Is that an expected behaviour? Cheers,

Re: [GRASS-user] GRASS wxpython error in ubuntu 11.04

2011-07-05 Thread Pierre Roudier
Hi Andry, Your seem to be running an unstable and rather old version of GRASS (GRASS 6.4.0+42329). First thing you should do is to update to the newest stable version (6.4.1). How did you install it? If from Synaptic, from which repository? Pierre 2011/7/6 andry rustanto rustanto...@gmail.com:

Re: [GRASS-user] GRASS wxpython error in ubuntu 11.04

2011-07-05 Thread Pierre Roudier
, Pierre 2011/7/6 andry rustanto rustanto...@gmail.com: Hi Pierre, Thanks for your reply, yes i installed it from synaptic from local repository in Indonesia. How can I upgrade my GRASS into version 6.4.1 ? Many Thanks, Andry On 6 July 2011 11:34, Pierre Roudier pierre.roud...@gmail.com

Re: [GRASS-user] GRASS wxpython error in ubuntu 11.04

2011-07-05 Thread Pierre Roudier
Andry, Note that the last stable version of GRASS is actually in UbuntuGIS-unstable: https://launchpad.net/~ubuntugis/+archive/ubuntugis-unstable Not sure in what extent this repo is experimental or not, Pierre 2011/7/6 Pierre Roudier pierre.roud...@gmail.com: Andry, Yes, I think I've

Re: [GRASS-user] Grass7 r.in.lidar compile error

2011-06-25 Thread Pierre Roudier
, it should now compile without changing any files in grass_trunk/include. Markus M Cheers Daniel On Tue, Jun 21, 2011 at 4:03 AM, Pierre Roudier pierre.roud...@gmail.com wrote: I had the problem a few weeks ago. In file /usr/local/src/grass7-svn/grass_trunk/dist.x86_64-unknown-linux

Re: [GRASS-user] Grass7 r.in.lidar compile error

2011-06-21 Thread Pierre Roudier
I had the problem a few weeks ago. In file /usr/local/src/grass7-svn/grass_trunk/dist.x86_64-unknown-linux-gnu/include/grass/gprojects.h, couldn't find ogr_srs_api.h I edited /usr/local/src/grass_trunk/dist.x86_64-unknown-linux-gnu/include/grass/gprojects.h and turned ogr_srs_api.h to

Re: [GRASS-user] v.surf.rst vs r.slope.aspect

2011-06-08 Thread Pierre Roudier
Public Works Division, Shimane Prefecture, Japan From: Pierre Roudier pierre.roud...@gmail.com To: GRASS grass-user@lists.osgeo.org Sent: Tuesday, June 7, 2011 2:23 PM Subject: [GRASS-user] v.surf.rst vs r.slope.aspect Dear list, For a project, I need

Re: [GRASS-user] v.surf.rst vs r.slope.aspect

2011-06-07 Thread Pierre Roudier
Hi Moritz, When you say that there are differences, which DEM did you use with r.slope.aspect ? The one create by the v.surf.rst run ? Yes - for the sake of the test, I generated a DEM and slope using v.surf.rst. Then I used r.slope.aspect on that DEM, and compared its output with the

[GRASS-user] Tuning segmented processing in v.surf.rst

2011-06-07 Thread Pierre Roudier
Hi, I've been working with v.surf.rst on large datasets, and I can appreciate its scalability when using segmented processing. However, the wiki page [0] is not very clear on that topic, so I ran a few (very informal) tests for different values of segmax and npmin on a subregion of my study area

[GRASS-user] v.surf.rst vs r.slope.aspect

2011-06-06 Thread Pierre Roudier
Dear list, For a project, I need to derive parameters like slope and aspect from a high-res DEM from a LiDAR point cloud. There are several way to do this in GRASS: - v.surf.rst - r.slope.aspect - r.param.scale is a bit special and, I think, has a different purpose. How do RST and

Re: [GRASS-user] making fcell raster maps using climate data

2011-05-30 Thread Pierre Roudier
), .fun = make_map, grid = grid) Again, untested and probably buggy. Probably others can do better and quicker with a bit of awk magic. Hope this helps, Pierre Cheers, Bulent On Sun, May 29, 2011 at 8:19 PM, Pierre Roudier pierre.roud...@gmail.com wrote: No you probably don't need to do

Re: [GRASS-user] making fcell raster maps using climate data

2011-05-30 Thread Pierre Roudier
you again, Bulent On Sun, May 29, 2011 at 11:14 PM, Pierre Roudier pierre.roud...@gmail.com wrote: Bulent, Thank you for taking time and helping out. I attached a short version of data in (.xls) format. The file contains climate model results between 0 and 800 BP, for every century

Re: [GRASS-user] making fcell raster maps using climate data

2011-05-30 Thread Pierre Roudier
Hi Hamish, Pierre, you may be interested in looking at the v.kridge(.py) module, behind the scenes it calls R from GRASS to do the interpolation. Requires python-rpy2 the GRASS-R cran package to be installed, and a number of other support packages it will tell you about.  (I'm having a

[GRASS-user] r.param.scale curvatures formulas

2011-05-30 Thread Pierre Roudier
Hi list, Sorry to resurrect a reasonably old topic (following my mail), but I have two questions on the r.param.scale module: 1 - I share Jasiewicz's concerns, the formula do not match the litterature I got [0] 2 - My understanding is that the plan curvature (planc) can be computed, but not the

Re: [GRASS-user] making fcell raster maps using climate data

2011-05-30 Thread Pierre Roudier
Hi Bulent, No problem, but please always copy the list, so that: - others can offer an alternative solution (as I said, I'm highly biased towards R) - our discussion can be searchable by everybody for further reference I have spent a good portion of today working on this project and I got as

Re: [GRASS-user] making fcell raster maps using climate data

2011-05-29 Thread Pierre Roudier
Hi Bulent, My first idea - but I may be biased as I come from the R world - would be to make the imports steps of your data from R. R has a XLS reader(but I usually find it safer to first export your spreadsheet to a CSV file). Hope this helps, Pierre 2011/5/30 Bulent Arikan

[GRASS-user] Re: [GRASS-dev] LiDAR LAS import

2011-05-26 Thread Pierre Roudier
Hi Markus, Just compiled again liblas svn trunk, everything is working as expected so far. Thanks heaps for that new functionality, this is really very useful. Pierre 2011/5/25 Markus Metz markus.metz.gisw...@googlemail.com: Hi all, GRASS 7 has a new module v.in.lidar for importing LiDAR

Re: [GRASS-user] Introduction and installing GRASS

2011-05-26 Thread Pierre Roudier
Kia ora David, Fire up a terminal, and type grass, then enter. This is launching Grass, and a GUI will show up. You will then have to specify a path to store your GRASS data, and define a location (ie a coordinate system + a geographic extent) for your first project. One of the great feature of

[GRASS-user] Installing extension from a local copy of the SVN repo

2011-05-25 Thread Pierre Roudier
Hi list, Does anyone managed to use g.extension with a local copy of the SVN repository? I have problems retrieving code from the online repo using g.extension (see ticket #1341), but I can make a svn checkout. Moreover, that could come handy when a network connection is not available. Something

Re: [GRASS-user] Synchronizing two displays

2011-05-23 Thread Pierre Roudier
Kia ora Hamish, note that using development code for production work is asking for trouble.. I'm using the 7 version as I'm testing the WPS bridge for another project. I got a 6.4.1 version installed if I need more stability (but so far, so good with the dev version). Map Display 1: Zoom

[GRASS-user] Synchronizing two displays

2011-05-22 Thread Pierre Roudier
Hi list, I'm using the latest GRASS 7 svn update, and I wonder if it there is an option to synchronize two displays? Indeed, I can open as many displays as I want (FileMap display New) but what would be great, to compare layers, would be to force each display window to show the same spatial

[GRASS-user] elimination of holes in a vector layer

2011-01-10 Thread Pierre Roudier
Dear list, I got a polygon layer, in which there are some holes. Is there a way to control the elimination of those holes, ie eliminates holes smaller than a given size, and keep the others (that are considered as significant by the user). Cheers, Pierre -- Scientist Landcare Research, New

Re: [GRASS-user] Memory problems with v.in.ogr

2010-12-02 Thread Pierre Roudier
HI, I tried again with the koordinates shapefile. I did succeed that time - corrupted shapefile I suppose. Thanks for the help, Pierre 2010/11/30 Markus Metz markus.metz.gisw...@googlemail.com: Pierre Roudier wrote: Dear all, I tried the very same thing on the stable version of GRASS (6.4

Re: [GRASS-user] GRASS on debian

2010-12-01 Thread Pierre Roudier
Yes, I can confirm that. I don't have any menu entry neither on OpenSuse. Pierre 2010/12/2 Giovanni Manghi giovanni.man...@gmail.com: Hi, do not expect having a shortcut on the desktop after installing the program. Grass already installs its menu entry on most of the desktop/window

Re: [GRASS-user] GRASS on debian

2010-11-30 Thread Pierre Roudier
Hi Nick, Just fire up a terminal and just type : grass HTH, Pierre 2010/12/1 remoray remo...@optusnet.com.au: Hi all, I'm running debian squeeze, and installed grass via synaptic. It says it is installed okay, but I can't find it in the gnome menu. Any hints? Nick

Re: [GRASS-user] Memory problems with v.in.ogr

2010-11-29 Thread Pierre Roudier
consumption becomes much bigger (maximum actually - 6.2GB+2Gb swap) and the process gets killed. Any pointers would be much appreciated. Otherwise, maybe I should open a bug for that? Cheers, Pierre 2010/11/28 Pierre Roudier pierre.roud...@gmail.com: Thanks for your answers. Yes, this is a 64bits

Re: [GRASS-user] Memory problems with v.in.ogr

2010-11-28 Thread Pierre Roudier
Thanks for your answers. Yes, this is a 64bits OS. 2010/11/27 Markus Metz markus.metz.gisw...@googlemail.com: On Fri, Nov 26, 2010 at 3:14 AM, Pierre Roudier pierre.roud...@gmail.com wrote: Dear list, I am trying to load a pretty big shapefile on GRASS (6Mb +, 211621 features)  using

[GRASS-user] Memory problems with v.in.ogr

2010-11-25 Thread Pierre Roudier
Dear list, I am trying to load a pretty big shapefile on GRASS (6Mb +, 211621 features) using v.in.ogr, but each attempt fails at the 'break boundaries'' stage (at 98%!): GRASS 7.0.svn (NZTM2000):~ v.in.ogr dsn=~/Documents/DATA/LCDB2/ni_nzmg.shp out=ni_lcdb2 --o Projection of input dataset and