Re: [GRASS-user] Using RStudio in a GRASS GIS session

2024-04-19 Thread Paulo van Breugel via grass-user
From the message that library is not found, I wonder, did you type GRASS> rstudio & library(grass) all on the command line? Just to be sure, you should ope Grass gis. And in the grass gis command line, type rstudio & Next, after RStudio opens, you type the following in RStudio

Re: [GRASS-user] Multidirectional hillshading scripts / addons?

2024-02-17 Thread Paulo van Breugel via grass-user
Hi, Not sure about grass gis, but have you tried the multidirectional option when styling a raster as a hillshade in QGIS? See https://bnhr.xyz/2019/01/22/hillshade-in-qgis.html. Cheers, Paulo On Fri, Feb 16, 2024 at 11:20 PM B H via grass-user < grass-user@lists.osgeo.org> wrote: > Hi, >

Re: [GRASS-user] use pipe character in a script

2022-04-01 Thread Paulo van Breugel
On Fri, Apr 1, 2022 at 10:26 AM Paulo van Breugel wrote: > > > On Wed, Mar 23, 2022 at 8:59 AM Uwe Fischer wrote: > >> Hello, >> >> >> >> I try to fill a certain attribute column with a variable plus a Pipe >> character (|) in a python

Re: [GRASS-user] use pipe character in a script

2022-04-01 Thread Paulo van Breugel
On Wed, Mar 23, 2022 at 8:59 AM Uwe Fischer wrote: > Hello, > > > > I try to fill a certain attribute column with a variable plus a Pipe > character (|) in a python script: > > > > value_to_fillin = myvariable + '|' > > grass.run_command(‘v.db.update‘, map='mymap', column='mycol', >

Re: [GRASS-user] [GRASS-dev] GRASS GIS 8.0.0 released

2022-02-03 Thread Paulo van Breugel
Congratulations on this milestone! On February 3, 2022 6:28:47 PM Markus Neteler wrote: GRASS GIS 8.0.0 released Overview of changes After more than 3 year of development the first stable release GRASS GIS 8.0.0 is available. Efforts have concentrated on making the user experience even

Re: [GRASS-user] v.in.csv available?

2021-10-30 Thread Paulo van Breugel
On Thu, Oct 28, 2021 at 11:38 AM Stefan Blumentrath < stefan.blumentr...@nina.no> wrote: > Hei Johannes, > > Sounds like v.in.csv is the right tool. > > The manual is build ( > https://grass.osgeo.org/grass78/manuals/addons/v.in.csv.html), also on MS > Windows:

Re: [GRASS-user] Display behavior of table attribute data

2021-10-06 Thread Paulo van Breugel
That is, I guess, because sqlite 'uses dynamic typing. It does not enforce data type constraints. Data of any type can (usually) be inserted into any column. '? On October 6, 2021 5:25:47 PM Rich Shepard wrote: I learned something surprising this morning using a combination of the GUI

Re: [GRASS-user] v.in.ogr ESRI fileGDB

2021-09-17 Thread Paulo van Breugel
And if it works, perhaps it is worth adding an example to the help page? Or send a working code example that others can add to the help file of v.in.ogr if you like. On Fri, Sep 17, 2021 at 8:46 AM Maris Nartiss wrote: > Hello Rich, > I don't have File GDB at hand to test it but it should be as

Re: [GRASS-user] Creating a png file with multiple vector maps

2021-02-12 Thread Paulo van Breugel
Would this addon be useful? https://grass.osgeo.org/grass78/manuals/addons/m.printws.html On February 11, 2021 6:55:24 PM Chris Bartolomei via grass-user wrote: Good morning Anna, It took quite a while of trial and error but I worked out a method that kindof works: First off - unless

Re: [GRASS-user] [GRASS-dev] 37 years of GRASS GIS: celebrating with a new GRASS GIS website!

2020-07-30 Thread Paulo van Breugel
Congratulations, absolutely looks great! On July 29, 2020 4:04:09 PM Markus Neteler wrote: Wednesday, July 29, 2020 The new GRASS GIS website is out! In occasion of its 37th birthday the GRASS GIS project is proud to present its new website! The site has been redesigned with modern tools to

Re: [GRASS-user] question to the community: winGRASS - still a need for 32bit versions?

2019-12-15 Thread Paulo van Breugel
On Wed, Dec 11, 2019 at 10:12 PM Helmut Kudrnovsky wrote: > > Helmut Kudrnovsky wrote > > Hi GRASS community, > > > > as stated e.g. in: > > > > > > [GRASS-dev] [release planning] GRASS GIS 7.8.2 > > https://lists.osgeo.org/pipermail/grass-dev/2019-December/093846.html > > ## > >

Re: [GRASS-user] Issue with addon r.vif in MS Windows GUI installations (stand-alone v. 7.2.2 and 7.0.5)

2018-02-13 Thread Paulo van Breugel
On Tue, Feb 13, 2018 at 5:15 PM, Markus Neteler <nete...@osgeo.org> wrote: > On Tue, Feb 13, 2018 at 12:45 AM, Paulo van Breugel > <p.vanbreu...@gmail.com> wrote: > > Hi Dinarzarde and Helmut > > > > I checked on Windows (grass 7.4.0 installed using osgeo4

Re: [GRASS-user] Issue with addon r.vif in MS Windows GUI installations (stand-alone v. 7.2.2 and 7.0.5)

2018-02-12 Thread Paulo van Breugel
Kudrnovsky [hel...@web.de] Sent: 11 February 2018 16:13 To: Dinarzarde Raheem Cc: grass-user@lists.osgeo.org; Paulo van Breugel Subject: Aw: RE: [GRASS-user] Issue with addon r.vif in MS Windows GUI installations (stand-alone v. 7.2.2 and 7.0.5) Gesendet: Sonntag, 11. Februar 2018 um 16:36 Uhr Von

Re: [GRASS-user] Issue with addon r.vif in MS Windows GUI installations (stand-alone v. 7.2.2 and 7.0.5)

2018-02-10 Thread Paulo van Breugel
/wiki/Submitting/Python <https://trac.osgeo.org/grass/wiki/Submitting/Python> or here: https://grasswiki.osgeo.org/wiki/GRASS_and_Python <https://grasswiki.osgeo.org/wiki/GRASS_and_Python> ? Cheers Stefan *From:*grass-user [mailto:grass-user-boun...@lists.osgeo.org] *On Behalf O

Re: [GRASS-user] Issue with addon r.vif in MS Windows GUI installations (stand-alone v. 7.2.2 and 7.0.5)

2018-02-03 Thread Paulo van Breugel
On February 2, 2018 8:52:03 PM Helmut Kudrnovsky wrote: Any idea how I can do that in such a way that it works on both Linux and Windows? in r.vif script I've changed the relevant lines: < # Get the raster values at sample points

Re: [GRASS-user] Issue with addon r.vif in MS Windows GUI installations (stand-alone v. 7.2.2 and 7.0.5)

2018-02-02 Thread Paulo van Breugel
On Thu, Feb 1, 2018 at 12:04 PM, Helmut Kudrnovsky wrote: > Dinarzarde Raheem wrote > > I have been trying to run the addon r.vif using Grass for MS Windows > > standalone v. 7.2.2 and v. 7.0.5 on three separate PCs (two have Windows > 7 > > 32bit/64 bit, one runs Windows 10 Home

Re: [GRASS-user] log function for SQLite

2017-03-12 Thread Paulo van Breugel
On 12-03-17 11:50, Markus Neteler wrote: On Wed, Mar 8, 2017 at 11:26 AM, Nikos Alexandris wrote: NikosAlexandris wrote: Dear list, where is the extension for SQLite that contains the (mathematical) log function available to download? As referenced in

Re: [GRASS-user] Question to the input seed grid of i.segment

2017-02-28 Thread Paulo van Breugel
On 28-02-17 14:35, Moritz Lennert wrote: Le Fri, 10 Feb 2017 19:15:25 +0100, Paulo van Breugel <p.vanbreu...@gmail.com> a écrit : On 10-02-17 18:41, Moritz Lennert wrote: [...] [...] [...] [...] [...] [...] [...] [...] [...] Besides, manually, I calculated Mor

Re: [GRASS-user] Question to the input seed grid of i.segment

2017-02-10 Thread Paulo van Breugel
On 10-02-17 18:41, Moritz Lennert wrote: Hi Raphael, On 10/02/17 12:08, Raphael Knevels wrote: Hello Moritz, thank you for your help, and sorry for my late response to this topic. The slic algorithm works really great :-) for my image (... which is a slope) it needs around 27 minutes (11

Re: [GRASS-user] CHELSA climate data set

2017-02-10 Thread Paulo van Breugel
On 10-02-17 17:15, Markus Metz wrote: On Tue, Feb 7, 2017 at 3:43 PM, Markus Neteler > wrote: > > On Tue, Feb 7, 2017 at 3:32 PM, Markus Metz > > wrote: > [...] > >

Re: [GRASS-user] Land cover change and forecasting

2016-12-07 Thread Paulo van Breugel
On 07-12-16 15:45, Anna Petrášová wrote: On Wed, Dec 7, 2016 at 9:40 AM, Moritz Lennert wrote: On 07/12/16 15:21, Micha Silver wrote: I am looking for a FOSS GIS alternative to the IDRISI "Land Change Modeler". The LCM both analyses change between two input

Re: [GRASS-user] Interpreting r.watershed accumulation map

2016-10-23 Thread Paulo van Breugel
On 23-10-16 19:47, Paulo van Breugel wrote: On 23-10-16 19:18, Markus Neteler wrote: On Sat, Oct 22, 2016 at 11:22 PM, Rich Shepard <rshep...@appl-ecosys.com> wrote: On Sat, 22 Oct 2016, Markus Neteler wrote: Is is mentioned https://trac.osgeo.org/grass/wiki/Release/7.2.0-News#GUIc

Re: [GRASS-user] Interpreting r.watershed accumulation map

2016-10-23 Thread Paulo van Breugel
On 23-10-16 19:18, Markus Neteler wrote: On Sat, Oct 22, 2016 at 11:22 PM, Rich Shepard wrote: On Sat, 22 Oct 2016, Markus Neteler wrote: Is is mentioned https://trac.osgeo.org/grass/wiki/Release/7.2.0-News#GUIchanges - cartography in Map Display: - new color

Re: [GRASS-user] python grass script error

2016-07-01 Thread Paulo van Breugel
Shouldn't there be spaces around the first equal sign: "{tmp_NDVI} = float On Fri, Jul 1, 2016 at 7:36 AM Vinay Elothunkal wrote: > Hai Maxi, > > Sorry, I missed { when I write the mail, but while running I have used it > correctly, still same error! > > regards, >

Re: [GRASS-user] Copy an existing location

2016-04-28 Thread Paulo van Breugel
There is also the r.pack function. But what I would probably do is to copy the whole location folder, delete the layers you don't want to include, and then zip / 7zip the whole folder (which is lossless) or any other suitable format. On Thu, Apr 28, 2016 at 9:44 AM, Bartolomei.Chris <

Re: [GRASS-user] fine to coarse resolution

2016-04-15 Thread Paulo van Breugel
You can use r.resamp.stats with aggregation method the sum Paulo On 15-04-16 09:02, Micha Silver wrote: Hello all, I have rasters in a fine resolution, with values of 1 and null. I need to create, in a coarser resolution, new rasters where each cell gets the total number of non-null pixels

Re: [GRASS-user] data catalog question

2016-04-10 Thread Paulo van Breugel
On 10-04-16 10:03, Martin Landa wrote: Hi Anna, 2016-04-10 5:00 GMT+02:00 Anna Petrášová : I was wondering what is the opinion about the new data catalog (in trunk), specifically, whether users should be able to modify (copy, rename, delete) maps from other mapsets and

Re: [GRASS-user] LST

2016-04-08 Thread Paulo van Breugel
Not sure, but it looks like the comma's separating the layer names are followed by a space? On Fri, Apr 8, 2016 at 1:06 PM, Albert Saribekyan < albertsaribek...@rambler.ru> wrote: > Hi dear all!! > > I want to run *r.bioclim* modul, for this I have get the data from >

Re: [GRASS-user] seeking advice for additional scripts

2016-04-06 Thread Paulo van Breugel
On Tue, Apr 5, 2016 at 9:06 PM, Martin Landa wrote: > Hi, > > 2016-04-05 20:59 GMT+02:00 Ken Mankoff : > > Where should this script go, and do you have advice on what language to > use? My first thought was to make it a bash shell script and put it in >

Re: [GRASS-user] problem with python scripting

2016-04-05 Thread Paulo van Breugel
> handle_errors >>> returncode=returncode) >>> File "/usr/lib/grass70/etc/python/grass/exceptions/__init__.py", line >>> 68, in __init__ >>> msg = _("Module run %s %s ended with error") % (module, code) >>> TypeError: 'int'

Re: [GRASS-user] problem with python scripting

2016-04-05 Thread Paulo van Breugel
On 05-04-16 08:53, Leonardo Hardtke wrote: Dear users, I am writing a script and I'm having problems with the flags for mapcalc gscript.mapcalc('endmember_rstr.1 = null()', flags="o") If you are using GRASS 7.+, the overwrite flag should be written in full, i.e.,

Re: [GRASS-user] First public release of Elevation, SRTM 30m global DEM easy management

2016-03-30 Thread Paulo van Breugel
Hi Alessandro, Looks good. Following up on a suggestion on the QGIS mailing list for a plugin based on this, it might also be useful to create an GRASS addon using the Python API? An perhaps not that difficult either? Anybody :-) ? Cheers, Paulo On Wed, Mar 30, 2016 at 3:44 PM, Alessandro

Re: [GRASS-user] dataset

2016-03-22 Thread Paulo van Breugel
On 22-03-16 13:57, Markus Neteler wrote: On Tue, Mar 22, 2016 at 1:38 PM, Albert Saribekyan wrote: Ask me please, where can I get data to run r.bioclim module? For Europe, there is for example this dataset:

Re: [GRASS-user] Uniform random raster

2016-02-16 Thread Paulo van Breugel
On 16-02-16 05:04, Thomas Adams wrote: Giuseppe, Unless I have misunderstood, in GRASS use r.mapcalc... First set you region for your area of interest, for example: g.region -dp e=2614612.5 w=1423987.5 n=-4624387.5 s=-5862637.5 Then: r.mapcalc expression="outputMap=25.4" where 25.4 is

Re: [GRASS-user] GRASS GIS on gis.stackexchange.com

2015-11-07 Thread Paulo van Breugel
Good initiative Markus. I added my vote and added a post on the Google+ GRASS GIS News community page for some extra exposure. The number of GRASS specific questions are now still relatively few, perhaps because of the very active and responsive GRASS email lists? On 07-11-15 11:45, Markus

Re: [GRASS-user] map algebra logical operators on DCELL rasters not admitted? maybe docs should outline it

2015-10-19 Thread Paulo van Breugel
On Mon, Oct 19, 2015 at 5:18 PM, G. Allegri wrote: > Doing a logical operation with a DCELL raster within an if(x,a) statement > produces an error: "Incorrect argument types to function bitand()". > This doesn't seem to be described inside the docs, is it? > That sounds like

Re: [GRASS-user] new addon: v.in.redlist

2015-09-23 Thread Paulo van Breugel
Great, thanks that will come in handy. On 23 September 2015 21:28:56 CEST, Helmut Kudrnovsky wrote: >hi, > >just fyi I've uploaded a new addon for an easier import of user defined >species in the IUCN Red List Spatial Data: > >v.in.redlist:

Re: [GRASS-user] trimming color table

2015-09-18 Thread Paulo van Breugel
On 18-09-15 10:06, Glynn Clements wrote: Paulo van Breugel wrote: When creating a new map based on an existing using r.mapcalc, the color table of the old map is used for the new map. However, if the new map only contains a subset of the values of the old map, how can I trim the color table

[GRASS-user] trimming color table

2015-09-15 Thread Paulo van Breugel
When creating a new map based on an existing using r.mapcalc, the color table of the old map is used for the new map. However, if the new map only contains a subset of the values of the old map, how can I trim the color table so it only contains color definitions for the values present in the

Re: [GRASS-user] addon for a simplified GBIF data import

2015-08-28 Thread Paulo van Breugel
Great work, thanks! One suggestion; I wonder if it would be difficult / desirable to use the (code from the) v.import add-on, to include an option (perhaps as an explicit choice) to import it with on-the-fly reprojection into a non-latlon location/mapset? For lazy persons like me who would

Re: [GRASS-user] addon for a simplified GBIF data import

2015-08-28 Thread Paulo van Breugel
That's quick, great :-) On 28 August 2015 18:13:41 CEST, Helmut Kudrnovsky hel...@web.de wrote: I wonder if it would be difficult / desirable to use the (code from the) v.import add-on, to include an option (perhaps as an explicit choice) to import it with on-the-fly reprojection into a

Re: [GRASS-user] Label vector map

2015-08-26 Thread Paulo van Breugel
On Wed, Aug 26, 2015 at 2:17 PM, Moritz Lennert mlenn...@club.worldonline.be wrote: On 26/08/15 13:25, henk witte wrote: Well, this is embarrassing – I cannot open my own pack! I created a new workspace with a default Cartesian projection but if I try to unpack I get IOError: [Errno 2]

Re: [GRASS-user] r.bioclim error

2015-08-05 Thread Paulo van Breugel
First thing to notice is that I think variables (e.g., list with tmin variables) should be separated by comma only, not by comma + space. Paulo On Wed, Aug 5, 2015 at 12:53 PM, Albert Saribekyan albertsaribek...@rambler.ru wrote: I dont understand the sintax of r.bioclim r.bioclim

Re: [GRASS-user] v.to.rast

2015-07-24 Thread Paulo van Breugel
Excellent example. As this is, as you mentioned, not an example of v.to.rast, perhapsyou can mention in the first line that this task can not be done directly with v.to.rast so this is a work-around? +1 for enhancing v.to.rast to add such functionality On Fri, Jul 24, 2015 at 4:13 AM, Markus

Re: [GRASS-user] [GRASS-dev] BIG QGIS problem

2015-06-13 Thread Paulo van Breugel
On Sat, Jun 13, 2015 at 9:17 PM, Anna Petrášová kratocha...@gmail.com wrote: On Sat, Jun 13, 2015 at 3:08 PM, Michael Barton michael.bar...@asu.edu wrote: I’ve been using QGIS to do basic data display for research data. It has trashed the attribute tables on the last day. I’m trying to

Re: [GRASS-user] 3 grass (v7) questions (make uninstall, r.surf.idw, copy button)

2015-05-08 Thread Paulo van Breugel
On Fri, May 8, 2015 at 5:14 PM, Robert Kuszinger kuszin...@giscom.hu wrote: Hello! I'd like to ask the following. *fact)* I've downloaded and compiled trunk (7.1 SVN). It was OK biut I don't need it anymore as I use 7.0 (SVN) instead. *Q)* How to remove the 7.1 installation? There is no

Re: [GRASS-user] region settings and wx display

2015-04-15 Thread Paulo van Breugel
On Wed, Apr 15, 2015 at 10:57 PM, Tyler Smith ty...@plantarum.ca wrote: On Wed, Apr 15, 2015, at 04:40 PM, Moritz Lennert wrote: Not to argue against such a popup, but note that this is not something new since grass7. This behaviour is actually quite old and was already present in the

[GRASS-user] get vector table with unique feature id

2015-04-03 Thread Paulo van Breugel
I have a shapefile with overlapping polygons. After importing I thus end up with a vector layer with for each unique polygon (feature) one or more category values (i.e., one to many relationship). Now I want to create a second attribute table linked to layer 2 with a cat column with for each

Re: [GRASS-user] get vector table with unique feature id

2015-04-03 Thread Paulo van Breugel
On Fri, Apr 3, 2015 at 3:22 PM, Paulo van Breugel p.vanbreu...@gmail.com wrote: On Fri, Apr 3, 2015 at 3:11 PM, Moritz Lennert mlenn...@club.worldonline.be wrote: On 03/04/15 14:42, Paulo van Breugel wrote: I have a shapefile with overlapping polygons. After importing I thus end up

Re: [GRASS-user] get vector table with unique feature id

2015-04-03 Thread Paulo van Breugel
On Fri, Apr 3, 2015 at 3:11 PM, Moritz Lennert mlenn...@club.worldonline.be wrote: On 03/04/15 14:42, Paulo van Breugel wrote: I have a shapefile with overlapping polygons. After importing I thus end up with a vector layer with for each unique polygon (feature) one or more category values

Re: [GRASS-user] Linking multidimensional data to a single point

2015-03-16 Thread Paulo van Breugel
Rich Shepard rshep...@appl-ecosys.com schreef op 15 maart 2015 23:49:06 CET: On Sun, 15 Mar 2015, Andy Wickert wrote: So to boil it down to the simplest part of what you said, the key is just to have an ID column in the GRASS table that links to a table in a database structure outside of

[GRASS-user] upload raster category labels to vector point laye

2015-02-26 Thread Paulo van Breugel
Is there an (easy) way to upload raster category labels to a point file, equivalent to uploading category values with v.what.rast? ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] upload raster category labels to vector point laye

2015-02-26 Thread Paulo van Breugel
Thanks! Yes that would indeed be a nice addition. I'll create a ticket. Op do 26 feb. 2015 16:45 schreef Moritz Lennert mlenn...@club.worldonline.be: ___ grass-user mailing list grass-user@lists.osgeo.org

Re: [GRASS-user] [GRASS-dev] New stable release: GRASS GIS 7.0.0

2015-02-22 Thread Paulo van Breugel
Congratulations to all developers!! On Sun, Feb 22, 2015 at 10:51 PM, Markus Neteler nete...@osgeo.org wrote: Press release The GRASS GIS Development team has announced the release of the new major version GRASS GIS 7.0.0. This version provides many new functionalities including

Re: [GRASS-user] dilation erosion (mathematical morphology)

2015-02-05 Thread Paulo van Breugel
Check out the r.growth.shrink addon. On Thu, Feb 5, 2015 at 1:59 PM, Robert Nuske rnu...@gwdg.de wrote: Hi there, looking at some noisy raster map, I would like to clean up the patches (map consists only of one class and NULL) using basic mathematical morphology (dilation erosion) in GRASS

Re: [GRASS-user] trouble with addons - was: dilation erosion (mathematical morphology)

2015-02-05 Thread Paulo van Breugel
/man/man1/r.grow.shrink.1] Error 127 rm r.grow.shrink.tmp.html ERROR: Compilation failed, sorry. Please check above error messages. Am Donnerstag, 5. Februar 2015, 14:53:05 schrieb Paulo van Breugel: Check out the r.growth.shrink addon. On Thu, Feb 5, 2015 at 1:59 PM, Robert Nuske rnu

Re: [GRASS-user] trouble with addons - was: dilation erosion (mathematical morphology)

2015-02-05 Thread Paulo van Breugel
causes the problem. thanks robert Am Donnerstag, 5. Februar 2015, 16:15:02 schrieb Paulo van Breugel: you should be able to install the addon from within GRASS using g.extension or via the menu (settings - addon extensions). If you mean with 'standard user' an user without

Re: [GRASS-user] [GRASSLIST:270] Fwd: Developing a forest fragmentation index

2015-01-30 Thread Paulo van Breugel
version of the Shell script with GRASS version 7, I suppose, and I would let you know how it goes. Thanks again! On 27 December 2014 at 19:25, Paulo van Breugel p.vanbreu...@gmail.com wrote: Hi Anusheema As I replied on your question on my blogpost, there are two versions of the script

Re: [GRASS-user] [GRASSLIST:270] Fwd: Developing a forest fragmentation index

2014-12-27 Thread Paulo van Breugel
Hi Anusheema As I replied on your question on my blogpost, there are two versions of the script; one for GRASS 6 and one for GRASS 7. In both cases you need to install the script manually (I am planning to rewrite the script as a python script, but that will take some time). The script for

Re: [GRASS-user] randomize the position of a raster map

2014-12-09 Thread Paulo van Breugel
Nice suggestions Moritz. Another alternative to accomplish this is to combine r.surf.random and r.recode (instead of recode, one can also use r.reclass). I haven't tried it, but this might be faster for large maps or with many categories? r.surf.random flags=i, output=LUCrandom min=0 max=1

Re: [GRASS-user] ps.map and cartographic composer

2014-12-08 Thread Paulo van Breugel
To answer my own question, to control the resolution of the output image one need to set the region resolution (using g.region) to match the desired image resolution. I guess the cartographic composer does this somehow automatically (?). On Sun, Dec 7, 2014 at 11:35 PM, Paulo van Breugel

Re: [GRASS-user] problems with r.mapcalc

2014-12-08 Thread Paulo van Breugel
Not sure that will give you a solution, but an r.mapcalc expression in grass 7.1 should look like: r.mapcalc --overwrite expression=bla = NDVI_1_h11v11 - NDWI_1_h11v11 In other words 1) the --o flag in grass 6.4 was changed to --overwrite in grass 7 and higher, and 2) there should be a space

Re: [GRASS-user] [GRASS-dev] wxGUI raster digitizer available

2014-11-20 Thread Paulo van Breugel
Hi Anna This is great, thanks! This is going to be a real time saver. I am having trouble however running it. I seems to work fine except that I can't save the edits. To leave the editing session, I have to select no when asked to save the work. Not sure if the below helps, but in the terminal

Re: [GRASS-user] [GRASS-dev] wxGUI raster digitizer available

2014-11-20 Thread Paulo van Breugel
: On Thu, Nov 20, 2014 at 4:37 AM, Paulo van Breugel p.vanbreu...@gmail.com wrote: Hi Anna This is great, thanks! This is going to be a real time saver. I am having trouble however running it. I seems to work fine except that I can't save the edits. To leave the editing session, I have

Re: [GRASS-user] raster exchange between GRASS and R with nodata

2014-09-04 Thread Paulo van Breugel
You probably have good reasons for your work flow, but just to make sure: is there a specific reason to export to geotiff first? It seems easier to import the raster layer directly from GRASS into R using the spgrass6 package (readRAST6)? You can subsequently convert the spatial raster to the

Re: [GRASS-user] r.mapcalc and the neighborhood modifier

2014-08-18 Thread Paulo van Breugel
Hi Rainer, I came across this email and was wondering if you found a solution for this problem? Cheers, Paulo On Tue, Jul 16, 2013 at 12:50 PM, Rainer M Krug rai...@krugs.de wrote: Hi I would like to create a new raster layer, based on the neighborhood modifier, but where the offset is

Re: [GRASS-user] reclass raster with all unique values?

2013-07-05 Thread Paulo van Breugel
You could convert the raster layer to a vector layer. In the attribute table you'll have a column with the raster value (the watershed values) and the cat column, which gives you the unique identifier for each polygon. Next you just convert the vector back to raster using the cat column as raster

Re: [GRASS-user] Set raster value for specific cell

2013-05-13 Thread Paulo van Breugel
You can use r.mapcalc. If mymap is your raster layer and you want to change the raster cell at coordinates 52deg and 10deg, use r.mapcalc mymap = if(x()==52.0 y()==10.00, 1, mymap) --replace Cheers, Paulo On 05/13/2013 11:56 AM, Johannes Radinger wrote: Hi, is there a simple way to set

Re: [GRASS-user] GRASS64 - r.mapcalc - replacement of specifics value by a mean of nearest neigbour

2013-05-04 Thread Paulo van Breugel
One way to do this would be to replace all values between 4 and 7 by NULL (e.g., r.null map=yourRaster setnull=4-7). Then use r.neighbors to calculate the mean of the nearest neighbors (e.g., r.neighbors input=yourRaster output=intermediateResult size=3. Have a look at the help file of

[GRASS-user] rounding raster values

2013-05-01 Thread Paulo van Breugel
Hi, I have floating raster layers which values I want to round to x decimal places. I wonder if there is an function that allows me to round raster values to values x decimal places? There is the option /round()/ in r.mapcalc, but that rounds the raster values to nearest integer. I can work

Re: [GRASS-user] [GRASS-dev] Using r.quantile result with r.recode

2013-04-18 Thread Paulo van Breugel
Hi Glynn, Unless I missed it, this does not seem to be mentioned explicitly in the r.recode help file. Would it be an idea to add this? Paulo On Tue, Apr 16, 2013 at 9:50 PM, Glynn Clements gl...@gclements.plus.comwrote: [CC to grass-dev for discussion] Pedro Venâncio wrote: Thank you

Re: [GRASS-user] 'Growing' a raster on the edges only

2013-04-15 Thread Paulo van Breugel
Try r.neighbors function with the mean or medium neighborhood operation, or, if you are working with categorical values, use the 'mode' neighborhood operation. You can combine the result with the original layer using r.patch so only the no-data cells at the borders are filled with the newly

Re: [GRASS-user] R and GRASS

2013-04-02 Thread Paulo van Breugel
You probably need to start a monitor with d.mon first. Also, you should set intern to False. For example: library(spgrass6) execGRASS(d.mon, start=x1) execGRASS(d.vect, map=due) Cheers, Paulo On Tue 02 Apr 2013 09:36:09 AM CEST, matthias lauber wrote: Hey folks, I am somewhat new to GRASS

Re: [GRASS-user] Calculate average of 3 highest values for a set of raster maps

2013-03-15 Thread Paulo van Breugel
Hi Miltinho I assume you want the mean of the three highest values for each raster cell? If so, you can do this using another step with r.series 1) If your 7 maps are a1 .. a7: mapcalc a1 = 1; r.mapcalc a2 = 2; r.mapcalc a3 = 3; r.mapcalc a4 = 4; r.mapcalc a5 = 5; r.mapcalc a6 = 6;

Re: [GRASS-user] Calculate average of 3 highest values for a set of raster maps

2013-03-15 Thread Paulo van Breugel
Sorry, some typo's (but the given code should be ok): set all values 4/7 quantile to null(), not 0, and you want to calculate the average, not the sum On Fri 15 Mar 2013 10:05:51 AM CET, Paulo van Breugel wrote: Hi Miltinho I assume you want the mean of the three highest values for each

Re: [GRASS-user] Calculate average of 3 highest values for a set of raster maps

2013-03-15 Thread Paulo van Breugel
) maybe will not handle the seven rasters. Best wishes miltinho 2013/3/15, Paulo van Breugel p.vanbreu...@gmail.com: Sorry, some typo's (but the given code should be ok): set all values 4/7 quantile to null(), not 0, and you want to calculate the average, not the sum On Fri 15 Mar 2013

Re: [GRASS-user] Reading in USGS Global Land Cover Characterization dataset

2013-02-14 Thread Paulo van Breugel
I used QGIS with the gdalwarp tool to reproject the layer from Lambert Azimuthal Equal Area Projection (one of the two possible projection you can download) to latlon WGS84 (EPGS 4326), using the steps given below. This was the Africa Land Cover Characteristics Data Base Version 2.0, you'll need

Re: [GRASS-user] 6.4.x or 7 and the neteler mitasova book

2013-01-31 Thread Paulo van Breugel
I guess it depends what you are going to use it for, but I think grass 7 is more or less on par in many area, and has more functionality in others ( http://trac.osgeo.org/grass/wiki/Grass7/NewFeatures). There are a number of things that run better in grass 7.0, for example handling of vector

Re: [GRASS-user] r.geomorphon add-on installation error on Arch-Linux

2013-01-23 Thread Paulo van Breugel
Hi, no solution unfortunately, but just to confirm that I get the same error at install on Ubuntu 12.10. Paulo On Wed 23 Jan 2013 01:30:31 PM CET, Haziq Noor Ariff wrote: Hi, I'm trying to install 'r.geomorphon' add-on module from http://sil.uc.edu/downloads.html on my recently-built Arch

Re: [GRASS-user] to move or not move ? grass64 - ? - 7.0

2013-01-10 Thread Paulo van Breugel
Hi Milton I am using GRASS 7.0 most of the time, only switching to 6.4 when I want to use it from QGIS as I don't manage to get QGIS to work with GRASS 7.0 (that will need some work on the gdal-grass plugin I think). Switching is no problem, it requires rebuilding the topology from one to the

Re: [GRASS-user] Using a variable inside GRASS commands with Python code/ grass.mapcalc

2013-01-09 Thread Paulo van Breugel
@Sotiris: I am not sure on Windows, but on Linux, using g.mlist in r.series as described in the help page works fine. Just be careful to use the different quotation marks as indicated. That is, the whole g.mlist statement should be within ` quotation marks, and that should be within in double

Re: [GRASS-user] Calling GRASS command in multi-threads

2012-12-29 Thread Paulo van Breugel
Perhaps this will give you some useful pointers: http://grasswiki.osgeo.org/wiki/Parallel_GRASS_jobs On 12/29/2012 01:03 PM, Paul Meems wrote: Hi list, Last night my test script successfully finished processing my small area and created a annual solar radiation raster. I did a comparison

Re: [GRASS-user] new wxGUI feature: Map Swipe

2012-12-07 Thread Paulo van Breugel
, On Fri, Aug 31, 2012 at 11:07 AM, Paulo van Breugel p.vanbreu...@gmail.com wrote: Hi Anna This looks like a very useful tool, and it works perfectly (running grass 7 on Ubuntu 12.04), thanks! If I may make a feature request. Would it be very difficult to implement an option where

[GRASS-user] problems with r.cross

2012-11-13 Thread Paulo van Breugel
Does anybody experiences problems with r.cross when data layers have NULL values? When overlaying two layers that contain large areas of 'no data', r.cross seems to assign random values to raster cells with no-data, even when using the -z flag. Running large layers takes ages if there are NULL

Re: [GRASS-user] How to split raster map by specified rows

2012-11-09 Thread Paulo van Breugel
The function r.tileset ( http://grass.osgeo.org/grass64/manuals/html64_user/r.tileset.html) allows you to split your raster layer in user-defined tiles (which could be a tile of one row). The description states that it produces tilings of the source projection for use in the destination region and

Re: [GRASS-user] Calculate p value for regression slope in r.series

2012-11-09 Thread Paulo van Breugel
Great, thanks On Fri, Nov 9, 2012 at 12:28 PM, Glynn Clements gl...@gclements.plus.comwrote: Markus Metz wrote: Just wondering, if it is implemented in r.regression.series, would it be very difficult to port to r.series? Or do the two things function different internally? It

Re: [GRASS-user] Calculate p value for regression slope in r.series

2012-11-08 Thread Paulo van Breugel
wrote: On 06/11/12 09:55, Paulo van Breugel wrote: Hi, I am using r.series to calculate linear regression slope, offset and coefficient of determination. But any idea how I can get the standard deviation t-value and p-value of the slope? Try MarkusN's r.regression.series in the addons

Re: [GRASS-user] Calculate p value for regression slope in r.series

2012-11-08 Thread Paulo van Breugel
! dehui -原始邮件- *发件人:* Paulo van Breugel p.vanbreu...@gmail.com *发送时间:* 2012年11月8日 星期四 *收件人:* Moritz Lennert mlenn...@club.worldonline.be *抄送:* GRASS users email list grass-user@lists.osgeo.org *主题:* Re: [GRASS-user] Calculate p value for regression slope in r.series Good suggestion

Re: [GRASS-user] Calculate p value for regression slope in r.series

2012-11-07 Thread Paulo van Breugel
OK, thanks for the info. On Wed, Nov 7, 2012 at 9:45 AM, Markus Neteler nete...@osgeo.org wrote: On Tue, Nov 6, 2012 at 9:55 AM, Paulo van Breugel p.vanbreu...@gmail.com wrote: Hi, I am using r.series to calculate linear regression slope, offset and coefficient of determination

Re: [GRASS-user] Calculate p value for regression slope in r.series

2012-11-07 Thread Paulo van Breugel
-li Cheers, Paulo On Wed, Nov 7, 2012 at 9:53 AM, Paulo van Breugel p.vanbreu...@gmail.comwrote: OK, thanks for the info. On Wed, Nov 7, 2012 at 9:45 AM, Markus Neteler nete...@osgeo.org wrote: On Tue, Nov 6, 2012 at 9:55 AM, Paulo van Breugel p.vanbreu...@gmail.com wrote: Hi, I am

[GRASS-user] Calculate p value for regression slope in r.series

2012-11-06 Thread Paulo van Breugel
Hi, I am using r.series to calculate linear regression slope, offset and coefficient of determination. But any idea how I can get the standard deviation t-value and p-value of the slope? Cheers, Paulo ___ grass-user mailing list

Re: [GRASS-user] use of grass 6.4 and 7 on the same location/mapsets

2012-10-29 Thread Paulo van Breugel
If you are in 6.4 and want to open a vector layer created in grass 7 (or the other way around), you can use v.build. Alternatively, you can also open the layer, and in the layer manager, right click the layer and select 'rebuild topology'. Rebuilding is very quick in my experience and hasn't give

Re: [GRASS-user] Grass-GIS 7 first impressions

2012-10-19 Thread Paulo van Breugel
Concerning the boundaries rendering too thick; under GUI settings (menu: settings - preferences) under the tab 'Map display', you can set the Display driver from Cairo (the default I think) to png. That will bring you back to thinner lines. I was going to answer that there was an option to

Re: [GRASS-user] bigTIFF file input

2012-10-16 Thread Paulo van Breugel
Hi, Did you build gdal from source? When you compile gdal with internal libtiff or with libtiff = 4.0, GDAL should supports reading and writing BigTIFF files (evolution of the TIFF format to support files larger than 4 GB). You should also enable big file support when compiling grass I think,

Re: [GRASS-user] v.distance anything to anything

2012-10-13 Thread Paulo van Breugel
+ Great improvement On Sat, Oct 13, 2012 at 3:51 PM, Markus Metz markus.metz.gisw...@gmail.comwrote: In GRASS7, v.distance can now calculate distances from point,line,boundary,centroid,area to point,line,boundary,centroid,area. In GRASS 6, v.distance can calculate distances only from

[GRASS-user] new wxGUI feature: Map Swipe

2012-08-31 Thread Paulo van Breugel
Hi Anna This looks like a very useful tool, and it works perfectly (running grass 7 on Ubuntu 12.04), thanks! If I may make a feature request. Would it be very difficult to implement an option where rather then splitting the area between the two maps, the same area is shown for both maps

Re: [GRASS-user] new wxGUI feature: Map Swipe

2012-08-31 Thread Paulo van Breugel
Synchronized display sums it up nicely :-) On 08/31/2012 11:27 AM, Anna Kratochvílová wrote: Hi, On Fri, Aug 31, 2012 at 11:07 AM, Paulo van Breugel p.vanbreu...@gmail.com wrote: Hi Anna This looks like a very useful tool, and it works perfectly (running grass 7 on Ubuntu 12.04), thanks

Re: [GRASS-user] new wxGUI feature: Map Swipe

2012-08-31 Thread Paulo van Breugel
of a separate tool, but I am no developer so I could be completely wrong. Cheers Paulo On 08/31/2012 11:56 AM, Moritz Lennert wrote: On 31/08/12 11:27, Anna Kratochvílová wrote: Hi, On Fri, Aug 31, 2012 at 11:07 AM, Paulo van Breugel p.vanbreu...@gmail.com wrote: Hi Anna This looks like

Re: [GRASS-user] Fwd: Re: R + grass7

2012-08-29 Thread Paulo van Breugel
Hi, You can find a list of changes in option settings and names here: http://trac.osgeo.org/grass/wiki/Grass7/NewFeatures#Renamedoptions Cheers, Paulo On 08/29/2012 02:50 PM, Helmut Kudrnovsky wrote: fyi a question regarding an translation (flags,parameter) table between grass6x and

Re: [GRASS-user] change sqlite.db problems

2012-07-13 Thread Paulo van Breugel
If you go to the mapset directory itself, check the file 'VAR' (it is just a plain text file). Are the database path and name defined correctly in that file? Rgds, Paulo On 07/13/2012 04:12 PM, Johannes Radinger wrote: Hi, I just had to move some locations from one machine to another

  1   2   >