Re: [GRASS-dev] Making start of GRASS GIS easier for newcomers

2015-01-23 Thread Paulo van Breugel
On Fri, Jan 23, 2015 at 11:16 AM, Martin Landa landa.mar...@gmail.com wrote: Hi, 2015-01-23 9:20 GMT+01:00 Markus Neteler nete...@osgeo.org: my motivation to discuss the current welcome screen is that too many potential new users try to launch GRASS, do not get past that screen and walk

Re: [GRASS-dev] Compute mahalanobis distance using Scipy

2015-02-01 Thread Paulo van Breugel
On Fri, Jan 30, 2015 at 3:39 PM, Glynn Clements gl...@gclements.plus.com wrote: Paulo van Breugel wrote: I would like to compute a raster layer with for each raster cell the mahalanobis distance to the centre of the environmental space formed by all reference data points (raster cells

Re: [GRASS-dev] compile gdal with grass

2015-01-05 Thread Paulo van Breugel
Great, thanks, I'll try it out a.s.a.p. On Mon, Jan 5, 2015 at 3:50 PM, Martin Landa landa.mar...@gmail.com wrote: Hi, 2015-01-05 15:32 GMT+01:00 Markus Neteler nete...@osgeo.org: On Mon, Jan 5, 2015 at 12:56 PM, Martin Landa landa.mar...@gmail.com wrote: ... these errors are related

[GRASS-dev] remove layer fails because of MASK reclass (but MASK has been removed already)

2015-01-10 Thread Paulo van Breugel
Hi, I can't remove a raster which previously was used to create a MASK (which was subsequently removed) without forcing it using the b-flag in g.remove. Steps: 1) create a MASK based on layer A. 2) remove the mask with r.mask -r. 3) remove layer A with g.remove: this gives the error: WARNING:

Re: [GRASS-dev] installing metadata addon fails

2015-01-09 Thread Paulo van Breugel
, in createGrassBasicISO self.md.identification.title = mdutil.replaceXMLReservedChar(self.md_grass['title']) KeyError: 'title' On Thu, Jan 8, 2015 at 6:44 PM, Martin Landa landa.mar...@gmail.com wrote: Hi, 2015-01-08 16:37 GMT+01:00 Paulo van Breugel p.vanbreu...@gmail.com: The installation of the metadata

Re: [GRASS-dev] module header definitions add: text/multiline and latex support?

2015-01-14 Thread Paulo van Breugel
+1 for adding description option On Wed, Jan 14, 2015 at 9:42 AM, Pietro peter.z...@gmail.com wrote: Dear devs, sometimes I would like to add some multiline text on the module GUI to help to understand the meaning of the parameter, and/or understand the logic of the module. Do you think

Re: [GRASS-dev] Compute mahalanobis distance using Scipy

2015-02-14 Thread Paulo van Breugel
On Sat, Feb 14, 2015 at 4:38 AM, Glynn Clements gl...@gclements.plus.com wrote: Paulo van Breugel wrote: With memmap you still have a limits of 2Gb I guess, you should try: dask Just reading the memmap manual page, where it reads: Memory-mapped arrays use the Python memory-map

Re: [GRASS-dev] Compute mahalanobis distance using Scipy

2015-02-15 Thread Paulo van Breugel
processors) for a single image here: https://github.com/javimarlop/eHabpy/blob/master/ehab.py see lines 32-86 and 597. I hope it helps! Cheers, Javier On Sat, Feb 14, 2015 at 7:29 PM, Vaclav Petras wenzesl...@gmail.com wrote: On Sat, Feb 14, 2015 at 11:47 AM, Paulo van Breugel p.vanbreu

Re: [GRASS-dev] Compute mahalanobis distance using Scipy

2015-02-16 Thread Paulo van Breugel
, Javier On Sun, Feb 15, 2015 at 10:21 PM, Paulo van Breugel p.vanbreu...@gmail.com wrote: Hi Javier, This looks really useful, thanks! My python skills are very limited, so I will have to look at it better to see what I can understand. But to start, the parallel function, does

[GRASS-dev] compile gdal with grass

2015-01-04 Thread Paulo van Breugel
Just compiled the latest gdal (1.11) and grass (trunk - rev 63950) and now want to compile gdal again with grass support. However, I am getting an error, which appears to be a problem in gdal/frmts/grass (see below). Any idea how to solve this?

Re: [GRASS-dev] compile gdal with grass

2015-01-04 Thread Paulo van Breugel
On Sun, Jan 4, 2015 at 10:30 PM, Markus Neteler nete...@osgeo.org wrote: On Sun, Jan 4, 2015 at 3:48 PM, Paulo van Breugel p.vanbreu...@gmail.com wrote: Just compiled the latest gdal (1.11) and grass (trunk - rev 63950) and now want to compile gdal again with grass support

[GRASS-dev] installing metadata addon fails

2015-01-08 Thread Paulo van Breugel
The installation of the metadata addon on GRASS 7 (trunk) fails, with the message below. Any ideas? Fetching wx.metadata from GRASS-Addons SVN repository (be patient)... Compiling... Makefile:19: warning: overriding commands for target `/tmp/tmpF3gAGc/wx.metadata/etc'

Re: [GRASS-dev] point cloud analysis: new features

2015-01-07 Thread Paulo van Breugel
On Mon, Jan 5, 2015 at 12:17 PM, Benjamin Ducke bendu...@fastmail.fm wrote: On 04/01/15 23:00, Paulo van Breugel wrote: Tried it out, and it works like a charm, great! One question/request, would it be terribly difficult to add an option to compute an user-defined number of clusters

Re: [GRASS-dev] compile gdal with grass

2015-01-07 Thread Paulo van Breugel
Hi Martin, just recompiled GDAL against GRASS, and I can confirm it works. Thanks for the fix! On Mon, Jan 5, 2015 at 3:50 PM, Martin Landa landa.mar...@gmail.com wrote: Hi, 2015-01-05 15:32 GMT+01:00 Markus Neteler nete...@osgeo.org: On Mon, Jan 5, 2015 at 12:56 PM, Martin Landa

Re: [GRASS-dev] R in winGRASS

2015-03-16 Thread Paulo van Breugel
Hi Anna, You need to define the path to R. I wrote a short explanation here: https://pvanb.wordpress.com/2014/12/17/access-r-from-grass-gis-on-windows/ Hope that helps, Paulo On Mon, Mar 16, 2015 at 11:12 PM, Anna Petrášová kratocha...@gmail.com wrote: On Mon, Mar 16, 2015 at 6:05 PM, Anna

Re: [GRASS-dev] Compute mahalanobis distance using Scipy

2015-03-16 Thread Paulo van Breugel
On Mon, Mar 16, 2015 at 3:30 PM, Glynn Clements gl...@gclements.plus.com wrote: Paulo van Breugel wrote: When running the tiled_function function you wrote [1] I am getting the error below. {{{ tiled_function(raster_inputs=ref, raster_output=out_mah1, func=mahalanobis_distances

[GRASS-dev] Compute mahalanobis distance using Scipy

2015-03-15 Thread Paulo van Breugel
Hi Pietro, When running the tiled_function function you wrote [1] I am getting the error below. {{{ tiled_function(raster_inputs=ref, raster_output=out_mah1, func=mahalanobis_distances) }}} ERROR: No null file for out_mah1 Any idea what is wrong? Best wishes, Paulo [1]

[GRASS-dev] r.to.rast3

2015-03-17 Thread Paulo van Breugel
On the manual page for r.to.rast3, under Notes, it says If fewer 2D raster maps are provided than depths, the last give 2D map is used to fill up the RASTER3D slices to the top. How do you define the depths? Perhaps related, in Example 2 it says that it shows how to convert 3 maps into 3d map

Re: [GRASS-dev] Compute mahalanobis distance using Scipy

2015-03-16 Thread Paulo van Breugel
Great, I'll do that On Mon, Mar 16, 2015 at 9:56 PM, Pietro peter.z...@gmail.com wrote: Hi Paulo, On Mon, Mar 16, 2015 at 9:23 PM, Paulo van Breugel p.vanbreu...@gmail.com wrote: Paulo van Breugel wrote: Alternatively, it might indicate an issue in the PyGrass library; that code

Re: [GRASS-dev] r.to.rast3

2015-03-17 Thread Paulo van Breugel
and columns. r3.info will show you the number of depths for a voxel map. Best regards Soeren 2015-03-17 9:45 GMT+01:00 Paulo van Breugel p.vanbreu...@gmail.com: On the manual page for r.to.rast3, under Notes, it says If fewer 2D raster maps are provided than depths, the last give 2D map is used

Re: [GRASS-dev] r.to.rast3

2015-03-19 Thread Paulo van Breugel
On Tue, Mar 17, 2015 at 2:40 PM, Markus Neteler nete...@osgeo.org wrote: On Tue, Mar 17, 2015 at 10:09 AM, Paulo van Breugel p.vanbreu...@gmail.com wrote: Thanks, clear now :-) Please suggest manual improvements... thanks Markus I have no experience using the 3D rasters, so I

[GRASS-dev] raster digitizer

2015-03-04 Thread Paulo van Breugel
When editing a raster using the raster digitizer, the resolution is changes (lower resolution) after saving the edits. Is this the intended behaviour, and if so, what is determining the resolution? My prefered behaviour would be that the resolution used follows that of the region settings.

Re: [GRASS-dev] raster digitizer

2015-03-04 Thread Paulo van Breugel
. On Wed, Mar 4, 2015 at 7:36 PM, Anna Petrášová kratocha...@gmail.com wrote: On Wed, Mar 4, 2015 at 12:49 PM, Paulo van Breugel p.vanbreu...@gmail.com wrote: When editing a raster using the raster digitizer, the resolution is changes (lower resolution) after saving the edits

Re: [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

[GRASS-dev] Make it clearer that GRASS 7.0 is the version to go for now

2015-02-24 Thread Paulo van Breugel
On http://grass.osgeo.org/download/software/sources/ it reads: GRASS GIS 6.4 (stable): Most users will want to install this officially released version. GRASS GIS 7.0 (new stable): New stable. See announcement. Very promising (see New Features) and usually works. Should this be changed, with

Re: [GRASS-dev] Make it clearer that GRASS 7.0 is the version to go for now

2015-02-24 Thread Paulo van Breugel
On Tue, Feb 24, 2015 at 4:58 PM, Markus Neteler nete...@osgeo.org wrote: On Tue, Feb 24, 2015 at 4:25 PM, Margherita Di Leo direg...@gmail.com wrote: Probably also http://grass.osgeo.org/documentation/general-overview/#AboutGRASS6

Re: [GRASS-dev] Make it clearer that GRASS 7.0 is the version to go for now

2015-02-24 Thread Paulo van Breugel
On Tue, Feb 24, 2015 at 6:17 PM, Markus Neteler nete...@osgeo.org wrote: All done, see again http://grass.osgeo.org/documentation/general-overview Markus PS: the Wikipedia update I'll leave to others I made some changes to the Wikipedia page, please have a look if OK. As it includes a

[GRASS-dev] Inconsistent number of columns in the table

2015-04-03 Thread Paulo van Breugel
After importing a vector map in GRASS GIS, when I try to open the table manager, I get the message that there is a Inconsistent number of columns in the table reptiles_east_Africa I can open the same table without problems in sqlite managers such as navigat and sqlite manager. I suspect the text

Re: [GRASS-dev] Inconsistent number of columns in the table

2015-04-03 Thread Paulo van Breugel
On Fri, Apr 3, 2015 at 4:42 PM, Anna Petrášová kratocha...@gmail.com wrote: On Fri, Apr 3, 2015 at 8:34 AM, Anna Petrášová kratocha...@gmail.com wrote: On Fri, Apr 3, 2015 at 5:22 AM, Paulo van Breugel p.vanbreu...@gmail.com wrote: After importing a vector map in GRASS GIS, when I try

[GRASS-dev] Any plans to port r.out.mbtiles to GRASS 7

2015-04-25 Thread Paulo van Breugel
Hi, I am looking at r.out.mbtiles, which looks like a very useful addon and would like to check if there are any plans to port this to python / GRASS GIS 7.0 (Hamish?)? Rgds, Paulo ___ grass-dev mailing list grass-dev@lists.osgeo.org

[GRASS-dev] v.db.addtable turns column headers in lower case

2015-04-29 Thread Paulo van Breugel
If I add a new table to a vector layer, column names are always in lower case, even if defined with capital letters. For example: {{{v.db.addtable map=test table=test columns=TEST1 INTEGER,TEST2 VARCHAR(25)}}} Results in a table with the columns cat, test1, test2. Is this intentional? Adding

Re: [GRASS-dev] GSOC 2015: Improved Metadata for GRASS GIS

2015-04-29 Thread Paulo van Breugel
] No such file or directory Any idea? Best wishes Paulo On 29-04-15 21:53, Matej Krejci wrote: Now it should work. The problem was in modification/remove of GuiModuleMain from core.utils. 2015-04-28 20:55 GMT+02:00 Paulo van Breugel p.vanbreu...@gmail.com mailto:p.vanbreu...@gmail.com

[GRASS-dev] r.relief

2015-04-30 Thread Paulo van Breugel
Hi, When running r.relief (in GRASS7.1) on a integer DEM raster, the output is an integer map. Is this intended behavior? Would it be possible to have r.relief convert the layer to double precision / float automatically if the DEM is of CELL type? Paulo

Re: [GRASS-dev] r.relief

2015-04-30 Thread Paulo van Breugel
think that user should do the conversion (in most cases it needs to be reinterpolated). I think that the current behavior is right for many reasons, Helena On Apr 30, 2015, at 8:25 AM, Paulo van Breugel p.vanbreu...@gmail.com wrote: Hi, When running r.relief (in GRASS7.1) on a integer DEM raster

Re: [GRASS-dev] GSOC 2015: Improved Metadata for GRASS GIS

2015-04-28 Thread Paulo van Breugel
Is the addon working in GRASS 7.1? I can't compile it. On Tue, Apr 28, 2015 at 8:16 PM, Matej Krejci matejkre...@gmail.com wrote: Hi, Thanks for the chance to participate on GSOC 2015. The page about project is on wiki site[1]. Thank you for ideas and notes in advance. Matej [1]

Re: [GRASS-dev] Compute mahalanobis distance using Scipy

2015-05-01 Thread Paulo van Breugel
Hi Pietro I would just like to check if you had a change to look at the problem described in http://trac.osgeo.org/grass/ticket/2629? Cheers Paulo On 16-03-15 22:01, Paulo van Breugel wrote: Great, I'll do that On Mon, Mar 16, 2015 at 9:56 PM, Pietro peter.z...@gmail.com

Re: [GRASS-dev] r.relief

2015-04-30 Thread Paulo van Breugel
cause problems for other users, so if we want to conversion it should be a flag (similar situation like the -a flag in r.watershed). Helena On Apr 30, 2015, at 10:00 AM, Paulo van Breugel p.vanbreu...@gmail.com wrote: Out of curiosity, what are those reasons? From a user perspective it might

Re: [GRASS-dev] Error reading null row 8 for MASK

2015-05-06 Thread Paulo van Breugel
On 04-05-15 20:36, Markus Neteler wrote: On Mon, May 4, 2015 at 8:05 PM, Alba German albager...@gmail.com wrote: Hello! I am running a loop with several r.mapcalc. I am using GRASS 7.1. The function stops with an error: ERROR: Error reading null row 8 for MASK I've noticed that Paulo van

Re: [GRASS-dev] g.region zoom?

2015-05-11 Thread Paulo van Breugel
On Mon, May 11, 2015 at 5:58 PM, Anna Petrášová kratocha...@gmail.com wrote: Hi, I just realized how g.region zoom actually works and I am wondering if it is supposed to be obvious. I always thought it will set the region to the raster map minimum bounding box, but it takes current region

Re: [GRASS-dev] g.region zoom?

2015-05-12 Thread Paulo van Breugel
On Mon, May 11, 2015 at 11:48 PM, Anna Petrášová kratocha...@gmail.com wrote: On Mon, May 11, 2015 at 5:01 PM, Paulo van Breugel p.vanbreu...@gmail.com wrote: On Mon, May 11, 2015 at 5:58 PM, Anna Petrášová kratocha...@gmail.com wrote: Hi, I just realized how g.region zoom actually

[GRASS-dev] Error messages when installing addons

2015-04-13 Thread Paulo van Breugel
I updated a number of extensions, all which installed successfully. However, for four (g.cloud, r.mcda.roughset, r.futures, v.area.stats) I got some error messages. Not sure they are relevant, but though I might as well report them. I am running GRASS dev (rev 65027) on Linux (Ubuntu 14.04).

Re: [GRASS-dev] r.sample.category

2015-06-23 Thread Paulo van Breugel
(specify number of points and distribute them according to histogram) I guess? Cheers, Paulo On 23-06-15 04:01, Anna Petrášová wrote: Hi Paulo, On Tue, Jun 16, 2015 at 5:38 AM, Paulo van Breugel p.vanbreu...@gmail.com mailto:p.vanbreu...@gmail.com wrote: I am having a look at the new

[GRASS-dev] r.sample.category

2015-06-16 Thread Paulo van Breugel
I am having a look at the new r.sample.category addon. Great idea. I would like to make a suggestion; to allow the user to define the number of points as a percentage, similar to r.random. Rgds, Paulo ___ grass-dev mailing list

[GRASS-dev] maps not showing in Data catalog

2015-06-16 Thread Paulo van Breugel
In one of my mapsets, raster layers are not showing in the Data catalog (vector layers are). They do also not show in the metadata editor (g.gui.metadata), which I guess is a related problem. The list of raster layers do show in d.rast and in the layer selection window opened with Ctrl+L. Any

Re: [GRASS-dev] what is the meaning of: Error reading raster data for row 239 of MASK

2015-07-03 Thread Paulo van Breugel
On 03-07-15 11:04, Moritz Lennert wrote: On 02/07/15 19:26, Markus Neteler wrote: On Jul 2, 2015 5:18 PM, Moritz Lennert mlenn...@club.worldonline.be mailto:mlenn...@club.worldonline.be wrote: Hello, When I run a script that loops over a long series of point data sets and then does a

[GRASS-dev] error g.gui.animation when using changing region

2015-07-06 Thread Paulo van Breugel
Hi, when I define to regions in g.gui.animation (under the advanced tab), and press OK and OK again, the 'Rendering map layers' gets as far as (3 out of 12) and then the g.gui.animation freezes. Error messages in the console below. Any idea whether this is a bug or if I am doing something wrong?

Re: [GRASS-dev] how to work around Arument list too long error in a GRASS python script ?

2015-06-11 Thread Paulo van Breugel
On 11-06-15 19:22, Anna Petrášová wrote: On Thu, Jun 11, 2015 at 12:37 PM, Moritz Lennert mlenn...@club.worldonline.be mailto:mlenn...@club.worldonline.be wrote: Hello, In a python script I have the following call: grass.run_command('r.series', input

Re: [GRASS-dev] error g.gui.animation when using changing region

2015-07-07 Thread Paulo van Breugel
On Mon, Jul 6, 2015 at 8:24 PM, Anna Petrášová kratocha...@gmail.com wrote: On Mon, Jul 6, 2015 at 2:08 PM, Paulo van Breugel p.vanbreu...@gmail.com wrote: Hi, when I define to regions in g.gui.animation (under the advanced tab), and press OK and OK again, the 'Rendering map layers' gets

Re: [GRASS-dev] installing v.mapcalc fails

2015-08-02 Thread Paulo van Breugel
...@osgeo.org wrote: On Fri, Jul 24, 2015 at 11:49 AM, Paulo van Breugel p.vanbreu...@gmail.com wrote: installing v.mapcalc fails, Which operating system? with the following: g.extension extension=v.mapcalc svnurl=http://svn.osgeo.org/grass/grass-addons/grass7 Fetching v.mapcalc from GRASS

Re: [GRASS-dev] installing v.mapcalc fails

2015-08-02 Thread Paulo van Breugel
On Sun, Aug 2, 2015 at 8:51 PM, Markus Neteler nete...@osgeo.org wrote: On Sun, Aug 2, 2015 at 8:45 PM, Paulo van Breugel p.vanbreu...@gmail.com wrote: Hi Markus On Linux (Ubuntu 14.04). Tried it again, with another error message this time: g.extension extension=v.mapcalc svnurl

Re: [GRASS-dev] g.extensions problems

2015-08-03 Thread Paulo van Breugel
On Mon, Aug 3, 2015 at 5:51 PM, Markus Neteler nete...@osgeo.org wrote: On Mon, Aug 3, 2015 at 4:06 PM, Paulo van Breugel p.vanbreu...@gmail.com wrote: There seems to be a problem with addons metadata when installing using g.extension. Installing of addons is successful

[GRASS-dev] installing v.mapcalc fails

2015-07-24 Thread Paulo van Breugel
installing v.mapcalc fails, with the following: g.extension extension=v.mapcalc svnurl= http://svn.osgeo.org/grass/grass-addons/grass7 Fetching v.mapcalc from GRASS-Addons SVN repository (be patient)... Compiling... yylex.c: In function ‘yylex’: yylex.c:32:7: warning: ignoring return value of

[GRASS-dev] Installing wx.metadata fails

2015-10-24 Thread Paulo van Breugel
Hi, I am trying to install the metadata module (on Ubuntu 14.04, GRASS 7.1dev), but with no luck. See error message below. As far as I can see I have installed all dependencies. I have also tried again after a complete fresh start (removing the addon folder (.grass7) and fresh install of GRASS),

Re: [GRASS-dev] compiling GRASS fails at configure, unable to locate GDAL library

2015-10-29 Thread Paulo van Breugel
On Thu, Oct 29, 2015 at 12:10 PM, Markus Neteler <nete...@osgeo.org> wrote: > On Thu, Oct 29, 2015 at 12:03 PM, Paulo van Breugel > <p.vanbreu...@gmail.com> wrote: > > On 29-10-15 11:38, Markus Neteler wrote: > >> This is not recommended - instead use the GDAL

Re: [GRASS-dev] Planning of 7.0.2 release

2015-10-29 Thread Paulo van Breugel
On 29-10-15 12:00, Markus Neteler wrote: Hi, I just saw that r.import and v.import are absent from the menu. I suggest that they be closest possible to "Common formats import". Any suggestions for the wording? Import with on-the-fly reprojection? or, if it need to be shorter, import with

[GRASS-dev] compiling GRASS fails at configure, unable to locate GDAL library

2015-10-29 Thread Paulo van Breugel
Hi, I am trying to make a fresh install of GRASS master, something I do routinely about every week (on Ubuntu 14.04). This time however, when running .configure (see below), I get the error message that the gdal library cannot be found. However, it is there, and in fact nothing changed since

Re: [GRASS-dev] compiling GRASS fails at configure, unable to locate GDAL library

2015-10-29 Thread Paulo van Breugel
On Thu, Oct 29, 2015 at 10:52 AM, Markus Neteler <nete...@osgeo.org> wrote: > On Thu, Oct 29, 2015 at 10:49 AM, Paulo van Breugel > <p.vanbreu...@gmail.com> wrote: > > Hi, I am trying to make a fresh install of GRASS master, something I do > > routinely abo

Re: [GRASS-dev] compiling GRASS fails at configure, unable to locate GDAL library

2015-10-29 Thread Paulo van Breugel
On 29-10-15 11:38, Markus Neteler wrote: On Thu, Oct 29, 2015 at 11:29 AM, Paulo van Breugel <p.vanbreu...@gmail.com> wrote: I do not really understand the log info, but I guess the below is the relevant part? configure:6098:9: warning: ignoring return value of 'GDALOpen', de

[GRASS-dev] r.quantile not respecting region and mask

2015-11-09 Thread Paulo van Breugel
Hi, Am I correct that r.quantile does not use/respect the region and mask? In the examples on the manual page (version 7.0 and 7.1) the region is first set to the input raster, which implies that the region settings do matter. No word on the mask in the manual page. In general, I would

Re: [GRASS-dev] r.quantile not respecting region and mask

2015-11-09 Thread Paulo van Breugel
On Mon, Nov 9, 2015 at 4:03 PM, Anna Petrášová <kratocha...@gmail.com> wrote: > > > On Mon, Nov 9, 2015 at 9:11 AM, Paulo van Breugel <p.vanbreu...@gmail.com> > wrote: > >> Hi, >> >> Am I correct that r.quantile does not use/respect the region an

Re: [GRASS-dev] Python equivalent of piping results from one function to another

2015-10-19 Thread Paulo van Breugel
On 19-10-15 07:12, Pietro wrote: Dear Paulo, On Sun, Oct 18, 2015 at 8:03 PM, Paulo van Breugel <p.vanbreu...@gmail.com> wrote: What would be the python equivalent of: r.category mymap | r.category mymap rules=- Let's split the problem in two step. First capture the output of a

Re: [GRASS-dev] wx.metadata ready for testing

2015-10-07 Thread Paulo van Breugel
On 06-10-15 11:40, Martin Landa wrote: Hi, 2015-10-05 10:39 GMT+02:00 Matej Krejci : I just checked .grass7/addons/etc/wx.metadata and installation deployed only /mdlib dir but no /configure and /profiles dirs. It is the same issue like r.green[1]. Correctly placed

Re: [GRASS-dev] wx.metadata ready for testing

2015-10-08 Thread Paulo van Breugel
On 07-10-15 22:29, Martin Landa wrote: Hi, 2015-10-07 12:30 GMT+02:00 Paulo van Breugel <p.vanbreu...@gmail.com>: I tried fresh installation (trunk) in installed to /usr/local. I cannot reproduce any of reported errors. Please send me related environmental variables: env | grep GI

[GRASS-dev] Python equivalent of piping results from one function to another

2015-10-18 Thread Paulo van Breugel
What would be the python equivalent of: r.category mymap | r.category mymap rules=- I have been looking at the pygrass interface , but I didn't understand things well enough to see how to proceed.

Re: [GRASS-dev] Grass Data Explorer QGIS Plugin

2015-10-10 Thread Paulo van Breugel
On 10-10-15 21:59, Markus Neteler wrote: On Thu, Oct 8, 2015 at 1:04 AM, Sören Gebbert wrote: Dear all, just for your information: I have implemented a simple QGIS Plugin to browse and visualize GRASS GIS raster, vector and time series data in a fast way. ...

Re: [GRASS-dev] wx.metadata ready for testing

2015-10-07 Thread Paulo van Breugel
On Wed, Oct 7, 2015 at 11:48 AM, Martin Landa <landa.mar...@gmail.com> wrote: > Hi, > > 2015-10-07 10:14 GMT+02:00 Paulo van Breugel <p.vanbreu...@gmail.com>: > > make -C mdlib || echo > > /home/paulo/Software/spatial/grass-addons/gui/wxpython/wx.metadata/mdlib

Re: [GRASS-dev] [GRASS GIS] #2757: r.import: ERROR: Input raster map is outside current region

2015-10-13 Thread Paulo van Breugel
On 13-10-15 15:37, Anna Petrášová wrote: On Tue, Oct 13, 2015 at 9:03 AM, Markus Neteler > wrote: On Tue, Oct 13, 2015 at 1:07 PM, Moritz Lennert > wrote: > The

Re: [GRASS-dev] installing v.mapcalc fails

2015-10-09 Thread Paulo van Breugel
On 02-10-15 10:50, Moritz Lennert wrote: On 01/10/15 12:38, Glynn Clements wrote: Moritz Lennert wrote: yylex.c:9:27: fatal error: v.mapcalc.tab.h: No such file or directory #include "v.mapcalc.tab.h" ^ compilation terminated. make: ***

Re: [GRASS-dev] installing v.mapcalc fails

2015-10-09 Thread Paulo van Breugel
On Fri, Oct 9, 2015 at 12:30 PM, Markus Neteler <nete...@osgeo.org> wrote: > On Fri, Oct 9, 2015 at 9:54 AM, Paulo van Breugel > <p.vanbreu...@gmail.com> wrote: > ... > > Sorry for the late follow up. The add-on installs now. When trying to run > > it, howe

Re: [GRASS-dev] r.resample.rst behavior does not match manual

2015-09-06 Thread Paulo van Breugel
On Sun, Sep 6, 2015 at 3:26 PM, Markus Neteler wrote: > On Mon, Aug 31, 2015 at 1:55 AM, Michael Barton > wrote: > > Thanks for the clarification Stefan. > > > > It sounds like, unlike other resampling commands (unless they, too, are > in > > error),

Re: [GRASS-dev] addon mismatch

2015-09-10 Thread Paulo van Breugel
On 10-09-15 16:29, Markus Neteler wrote: On Thu, Sep 10, 2015 at 4:15 PM, Vaclav Petras wrote: On Thu, Sep 10, 2015 at 10:01 AM, Helmut Kudrnovsky wrote: e.g. the addon v.in.gbif https://trac.osgeo.org/grass/browser/grass-addons/grass7/vector/v.in.gbif

Re: [GRASS-dev] [GRASS GIS] #2625: r.stats's nsteps is not region-sensitive

2015-09-14 Thread Paulo van Breugel
On 14-09-15 11:39, GRASS GIS wrote: #2625: r.stats's nsteps is not region-sensitive --+- Reporter: martinl | Owner: grass-dev@… Type: defect | Status: new Priority: major| Milestone: 7.0.2

Re: [GRASS-dev] all categories copied over to new map

2015-09-16 Thread Paulo van Breugel
On 16-09-15 09:49, Moritz Lennert wrote: On 15/09/15 20:08, Paulo van Breugel wrote: Suppose I have a categorical raster map and I want to 'cut out' a subset (with g.region to set a small region and r.mapcalc to create the new map). This map has a smaller number of categories, as is shown

Re: [GRASS-dev] addon mismatch

2015-09-11 Thread Paulo van Breugel
On 11-09-15 19:31, Vaclav Petras wrote: On Fri, Sep 11, 2015 at 1:13 PM, Paulo van Breugel <p.vanbreu...@gmail.com <mailto:p.vanbreu...@gmail.com>> wrote: PS: no idea what "WARNING: No addons metadata available. Addons metadata file not updated." means No

Re: [GRASS-dev] addon mismatch

2015-09-11 Thread Paulo van Breugel
On 11-09-15 19:37, Paulo van Breugel wrote: On 11-09-15 19:31, Vaclav Petras wrote: On Fri, Sep 11, 2015 at 1:13 PM, Paulo van Breugel <p.vanbreu...@gmail.com> wrote: PS: no idea what "WARNING: No addons metadata available. Addons metadata file not updated." me

Re: [GRASS-dev] addon mismatch

2015-09-11 Thread Paulo van Breugel
On 11-09-15 18:56, Markus Neteler wrote: On Fri, Sep 11, 2015 at 12:48 AM, Paulo van Breugel <p.vanbreu...@gmail.com> wrote: A related / similar issue, I have added an add-on https://trac.osgeo.org/grass/browser/grass-addons/grass7/raster/r.biodiversity and added it to the parent Make f

[GRASS-dev] installing v.mapcalc fails

2015-09-11 Thread Paulo van Breugel
I am trying to install v.mapcalc through g.extension, but I am getting the following error message: Fetching from GRASS GIS Addons repository (be patient)... Compiling... yylex.c:9:27: fatal error: v.mapcalc.tab.h: No such file or directory #include "v.mapcalc.tab.h"

Re: [GRASS-dev] addon mismatch

2015-09-11 Thread Paulo van Breugel
On 11-09-15 19:44, Vaclav Petras wrote: On Fri, Sep 11, 2015 at 1:37 PM, Paulo van Breugel <p.vanbreu...@gmail.com <mailto:p.vanbreu...@gmail.com>> wrote: On 11-09-15 19:31, Vaclav Petras wrote: On Fri, Sep 11, 2015 at 1:13 PM, Paulo van Breugel <p.vanbr

Re: [GRASS-dev] installing v.mapcalc fails

2015-09-11 Thread Paulo van Breugel
On 11 September 2015 15:46:41 CEST, Vaclav Petras <wenzesl...@gmail.com> wrote: >On Fri, Sep 11, 2015 at 4:56 AM, Paulo van Breugel ><p.vanbreu...@gmail.com> >wrote: > >> I am trying to install v.mapcalc through g.extension, but I am >getting the >> follow

Re: [GRASS-dev] installing v.mapcalc fails

2015-09-11 Thread Paulo van Breugel
On 11-09-15 12:31, Moritz Lennert wrote: On 11/09/15 10:56, Paulo van Breugel wrote: I am trying to install v.mapcalc through g.extension, but I am getting the following error message: Fetching from GRASS GIS Addons repository (be patient)... Compiling... yylex.c:9:27: fatal error

[GRASS-dev] all categories copied over to new map

2015-09-15 Thread Paulo van Breugel
Suppose I have a categorical raster map and I want to 'cut out' a subset (with g.region to set a small region and r.mapcalc to create the new map). This map has a smaller number of categories, as is shown using e.g., r.category. However, when plotting the legend, all the categories of the

Re: [GRASS-dev] all categories copied over to new map

2015-09-17 Thread Paulo van Breugel
On Thu, Sep 17, 2015 at 11:56 AM, Moritz Lennert < mlenn...@club.worldonline.be> wrote: > On 16/09/15 10:48, Paulo van Breugel wrote: > >> >> >> On 16-09-15 09:49, Moritz Lennert wrote: >> >>> On 15/09/15 20:08, Paulo van Breugel wrote: >>> &

Re: [GRASS-dev] addon mismatch

2015-09-12 Thread Paulo van Breugel
On 12-09-15 13:44, Martin Landa wrote: Hi, 2015-09-12 7:39 GMT+02:00 Markus Neteler : If someone tells me where, I can simply add a link on the server. I don't know why, but addons logs were last time generated on 18/8. Now I launched jobs manually and I didn't find any

[GRASS-dev] installing v.kriging addon fails

2015-09-29 Thread Paulo van Breugel
Installing v.kriging (on GRASS dev, Linux) addons fails with the following: GRASS 7.1.svn (latlon):~ > g.extension v.kriging WARNING: Extension already installed. Re-installing... Fetching from GRASS GIS Addons repository (be patient)... Compiling... In file included from geostat.c:1:0:

[GRASS-dev] No addons metadata available.

2015-09-29 Thread Paulo van Breugel
Hi, There seems to be a problem again with the addons metadata on the server. Updating an addon works, but with the following warning: Updating addons metadata file... WARNING: Unable to parse 'http://grass.osgeo.org/addons/grass7/modules.xml': no element found: line 105, column 0 WARNING: No

Re: [GRASS-dev] installing v.mapcalc fails

2015-09-29 Thread Paulo van Breugel
On 28-09-15 10:48, Markus Neteler wrote: On Fri, Sep 11, 2015 at 2:40 PM, Moritz Lennert wrote: The following patch seems to do the trick, but I'm not familiar enough with make to judge whether this is the right solution: Index: Makefile

[GRASS-dev] Write array to (point) attribute table

2015-09-29 Thread Paulo van Breugel
This must be a very basic question, but I can't find an easy/direct way to do this. In python, if I have an array with values with a length equal to the number of rows in an attribute table of a (point) vector layer, how can I write those values to a new column in that attribute table. I can of

Re: [GRASS-dev] [GRASS GIS] #2723: error when running v.krige

2015-09-30 Thread Paulo van Breugel
Hi Markus, I also took the liberty to make some changes to the page https://grasswiki.osgeo.org/wiki/V.krige_GSoC_2009#Installation, to include the information that for v.krige in GRASS 7 one needs the R package rgrass7 rather than spgrass6/. Hope that is OK. Paulo On 30-09-15 23:10,

Re: [GRASS-dev] Write array to (point) attribute table

2015-09-30 Thread Paulo van Breugel
On Wed, Sep 30, 2015 at 11:53 AM, Pietro <peter.z...@gmail.com> wrote: > On Wed, Sep 30, 2015 at 9:51 AM, Paulo van Breugel > <p.vanbreu...@gmail.com> wrote: > > > > > > On Wed, Sep 30, 2015 at 2:02 AM, Anna Petrášová <kratocha...@gmail.com> > >

Re: [GRASS-dev] Write array to (point) attribute table

2015-09-30 Thread Paulo van Breugel
On 30-09-15 17:52, Paulo van Breugel wrote: On 30-09-15 17:47, Anna Petrášová wrote: On Wed, Sep 30, 2015 at 11:20 AM, Paulo van Breugel <p.vanbreu...@gmail.com> wrote: On 30-09-15 16:18, Anna Petrášová wrote: On Wed, Sep 30, 2015 at 9:27 AM, Paulo van B

Re: [GRASS-dev] installing v.kriging addon fails

2015-10-01 Thread Paulo van Breugel
On 29-09-15 15:46, Anna Petrášová wrote: On Tue, Sep 29, 2015 at 8:25 AM, Moritz Lennert <mlenn...@club.worldonline.be <mailto:mlenn...@club.worldonline.be>> wrote: On 29/09/15 11:09, Paulo van Breugel wrote: Installing v.kriging (on GRASS dev, Linux)

Re: [GRASS-dev] installing v.kriging addon fails

2015-10-01 Thread Paulo van Breugel
On 01-10-15 14:36, Markus Neteler wrote: On Thu, Oct 1, 2015 at 12:51 PM, Paulo van Breugel <p.vanbreu...@gmail.com> wrote: I already had GRASS compiled with both blas and lapack, so that doesn't seem to help in my case (just tried again, still no luck). You may try to checkout the

Re: [GRASS-dev] installing v.kriging addon fails

2015-10-01 Thread Paulo van Breugel
On 01-10-15 15:35, Vaclav Petras wrote: On Thu, Oct 1, 2015 at 9:29 AM, Markus Neteler > wrote: > > > In file included from geostat.c:1:0: > > > > local_proto.h:72:3: error: unknown type name ‘mat_struct’ > > > >mat_struct *trend; > > > >

[GRASS-dev] no addons metadata

2015-10-01 Thread Paulo van Breugel
The same problem as reported earlier is back it seems, no addons metadata available. This was a problem for 7.1 I think? WARNING: Unable to parse 'http://grass.osgeo.org/addons/grass7/modules.xml': no element found: line 105, column 0 WARNING: No addons metadata available.

Re: [GRASS-dev] Write array to (point) attribute table

2015-10-01 Thread Paulo van Breugel
Breugel wrote: On 30-09-15 17:52, Paulo van Breugel wrote: On 30-09-15 17:47, Anna Petrášová wrote: On Wed, Sep 30, 2015 at 11:20 AM, Paulo van Breugel <p.vanbreu...@gmail.com> wrote: On 30-09-15 16:18, Anna Petrášová wrote: On Wed, Sep 30, 2015 at 9:27 AM, Paulo van B

Re: [GRASS-dev] Write array to (point) attribute table

2015-10-01 Thread Paulo van Breugel
On 01-10-15 09:15, Moritz Lennert wrote: On 01/10/15 00:05, Paulo van Breugel wrote: On 30-09-15 17:52, Paulo van Breugel wrote: On 30-09-15 17:47, Anna Petrášová wrote: On Wed, Sep 30, 2015 at 11:20 AM, Paulo van Breugel <p.vanbreu...@gmail.com> wrote: On 30-09-15 16:18

Re: [GRASS-dev] installing v.mapcalc fails

2015-10-01 Thread Paulo van Breugel
On 29-09-15 14:12, Moritz Lennert wrote: On 29/09/15 13:14, Markus Neteler wrote: On Tue, Sep 29, 2015 at 11:11 AM, Paulo van Breugel <p.vanbreu...@gmail.com> wrote: On 28-09-15 10:48, Markus Neteler wrote: ... GRASS 7.1.svn (latlon):~ > g.extension v.mapcalc Fetching from

Re: [GRASS-dev] Write array to (point) attribute table

2015-10-02 Thread Paulo van Breugel
On 01-10-15 17:49, Vaclav Petras wrote: On Thu, Oct 1, 2015 at 11:28 AM, Paulo van Breugel <p.vanbreu...@gmail.com <mailto:p.vanbreu...@gmail.com>> wrote: with VectorTopo('testB', mode='rw') as vectormap: At the and it makes sense. 'w' removes the vectors and starts over

Re: [GRASS-dev] Write array to (point) attribute table

2015-09-30 Thread Paulo van Breugel
On 30-09-15 17:47, Anna Petrášová wrote: On Wed, Sep 30, 2015 at 11:20 AM, Paulo van Breugel <p.vanbreu...@gmail.com <mailto:p.vanbreu...@gmail.com>> wrote: On 30-09-15 16:18, Anna Petrášová wrote: On Wed, Sep 30, 2015 at 9:27 AM, Paulo van Breugel <p.vanbr

Re: [GRASS-dev] Write array to (point) attribute table

2015-09-30 Thread Paulo van Breugel
On 30-09-15 16:18, Anna Petrášová wrote: On Wed, Sep 30, 2015 at 9:27 AM, Paulo van Breugel <p.vanbreu...@gmail.com <mailto:p.vanbreu...@gmail.com>> wrote: On Wed, Sep 30, 2015 at 11:53 AM, Pietro <peter.z...@gmail.com <mailto:peter.z...@gmail.com>> wro

<    1   2   3   4   5   6   >