[GRASS-dev] Weekly report #13 - GRASS Interactive Scatter Plot Tool

2013-09-13 Thread Štěpán Turek
Hi all, 1) What do I have completed this week?  I have integrated the scatter plot tool into main gui see[1]. There is one limitation compared to the scatter plot tool in wxIClass. It is not possible to select areas from mapdisplay. It is because of current limitations of digitizer. When

Re: [GRASS-dev] Right way to use G_getl2

2013-09-13 Thread Markus Metz
I think the confusion arises because G_getl2(char *buf, int n, FILE * fd) reads in at most n - 1 characters, not n characters. The next character is always set to '\0' and guaranteed to be at most the n-th character. That also means that G_getl() does not check if the buffer is large enough to

[GRASS-dev] GSoC - GRASS GIS - T-Algebra - Weekly report 16

2013-09-13 Thread Thomas Leppelt
Hi, here is my report for the project week 16. The temporal raster algebra is working (fixed a lot issues with the precedence, temporal arithmetic operators and the command strings) and I uploaded the new module t.rast.mapcalc to my repository. This module is able to calculate r.mapcalc functions

Re: [GRASS-dev] v.neighbors in GRASS7 much slower ?

2013-09-13 Thread Markus Metz
On Fri, Sep 13, 2013 at 5:02 PM, Moritz Lennert mlenn...@club.worldonline.be wrote: Hi, In grass64release, running: v.distance from=hospitals@PERMANENT to=hospitals@PERMANENT col=to_cat,dist up=cat,dist -p dmin=0.0001 gives me an almost instant response. In grass7, it takes _much_

Re: [GRASS-dev] Right way to use G_getl2

2013-09-13 Thread Hamish
Markus Metz wrote: I would suggest to modify G_getl2() to read at most n (not n - 1) characters and include a check if the buffer is long enough: mmmph, to me G_get2() does the right thing, as long as people follow the given instructions all is fine. So I'd vote to keep it as-is. FWIW, at

Re: [GRASS-dev] Right way to use G_getl2

2013-09-13 Thread Glynn Clements
Vaclav Petras wrote: So, finally: What is the right usage of G_getl2? Should the caller use buffer size equal to maximum number of expected characters on line plus end of line character (plus 2 on MS Windows) plus terminating character? Or should he just pass the n parameter increased by one

Re: [GRASS-dev] [GRASS GIS] #587: svn versions should better reflect svn rev

2013-09-13 Thread GRASS GIS
#587: svn versions should better reflect svn rev --+- Reporter: hamish | Owner: grass-dev@… Type: enhancement | Status: closed Priority: blocker |

Re: [GRASS-dev] [GRASS GIS] #2018: Provide a way to edit the PERMANENT/MYNAME file

2013-09-13 Thread GRASS GIS
#2018: Provide a way to edit the PERMANENT/MYNAME file ---+ Reporter: nikosa | Owner: grass-dev@… Type: enhancement| Status: new