Re: [GRASS-dev] anyone interested in helping to port an algorithm from matlab?

2008-11-05 Thread Dylan Beaudette
On Wed, Nov 5, 2008 at 7:39 PM, Hamish <[EMAIL PROTECTED]> wrote: > Dylan Beaudette wrote: >> # accumulate new quadrants >> # WTF ? >> cc = [cc;cord] >> Qc=[Qc;Qh] >> >> if cc is matrix, and cord is a matrix, what exactly is >> happening? > > "coord" is appended to the end of "cc". e.g.: > >>> a =

Re: [GRASS-dev] anyone interested in helping to port an algorithm from matlab?

2008-11-05 Thread Hamish
Dylan Beaudette wrote: > # accumulate new quadrants > # WTF ? > cc = [cc;cord] > Qc=[Qc;Qh] > > if cc is matrix, and cord is a matrix, what exactly is > happening? "coord" is appended to the end of "cc". e.g.: >> a = [ 10 20 ] >> b = [ 15 25 ] >> c = [a; b] c = 1020 1525 >> d =

Re: [GRASS-dev] anyone interested in helping to port an algorithm from matlab?

2008-11-05 Thread Dylan Beaudette
On Wednesday 05 November 2008, Hamish wrote: > Dylan Beaudette wrote: > > The source code for the algorithm is given in Matlab source[2]. I have > > tried unsuccessfully to port the code to R, mostly because I do not > > completely understand several of the matlab matrix idioms used in the > > code

Re: [GRASS-dev] anyone interested in helping to port an algorithm from matlab?

2008-11-05 Thread Hamish
Dylan Beaudette wrote: > The source code for the algorithm is given in Matlab source[2]. I have > tried unsuccessfully to port the code to R, mostly because I do not > completely understand several of the matlab matrix idioms used in the > code. what are you stuck on in particular? you can insta

Re: [GRASS-dev] wrong configure documentation for compilation with wxwidgets ?

2008-11-05 Thread Glynn Clements
Moritz Lennert wrote: > >> ./configure --help shows: > >> > >> --with-wxwidgets[=path/wx-config] enable wxWidgets support (wx-config with > >> path, e.g. '--with-wxwidgets=/usr/local/bin/wx-config', default: no) > >> > >> but this does not seem to work, while below solution does. Looking through

Re: [GRASS-dev] Simplified G_percent() output in batch jobs?

2008-11-05 Thread Glynn Clements
Markus Neteler wrote: > >> I am running a large number of processing jobs on a > >> cluster and the job manager output is cluttered with > >> control chars from G_percent(). > >> It would be great to have a switch (or detection magic) > >> to output the plain ASCII style 0..10...20.. in this case

Re: [GRASS-dev] nasty gotcha in alternate ogr2ogr solution comment

2008-11-05 Thread Markus Neteler
On Wed, Nov 5, 2008 at 3:39 PM, Patton, Eric <[EMAIL PROTECTED]> wrote: >>> AFAICT `g.proj -wf` doesn't include grid file, while `g.proj -jf` does. >>> So I think my "best use `g.proj -wf` in that case" might be wrong as it >>> drops the grid file, so really best to use: >>> >>> IN_PROJ="`g.proj -j

Re: [GRASS-dev] anyone interested in helping to port an algorithm from matlab?

2008-11-05 Thread Dylan Beaudette
On Wednesday 05 November 2008, Dylan Beaudette wrote: > Hi, > > I was taking another look on a paper published in Computers and GeoSciences > on something called a 'Variance Quadtree' algorithm[1]. The main idea is to > recursively partition an image into smaller and smaller rectangles, based > on

[GRASS-dev] anyone interested in helping to port an algorithm from matlab?

2008-11-05 Thread Dylan Beaudette
Hi, I was taking another look on a paper published in Computers and GeoSciences on something called a 'Variance Quadtree' algorithm[1]. The main idea is to recursively partition an image into smaller and smaller rectangles, based on the amount of variance within each rectangle. Thus, regions of

RE: [GRASS-dev] nasty gotcha in alternate ogr2ogr solution comment

2008-11-05 Thread Patton, Eric
>> AFAICT `g.proj -wf` doesn't include grid file, while `g.proj -jf` does. >> So I think my "best use `g.proj -wf` in that case" might be wrong as it >> drops the grid file, so really best to use: >> >> IN_PROJ="`g.proj -jf` +wktext" >> >> http://trac.osgeo.org/gdal/ticket/2638#comment:6 >> http://

Re: [GRASS-dev] wrong configure documentation for compilation with wxwidgets ?

2008-11-05 Thread Moritz Lennert
On 05/11/08 14:41, Martin Landa wrote: Hi, 2008/11/5 Moritz Lennert <[EMAIL PROTECTED]>: Below discussion comes from the DebianGIS mailing list. It raises an issue about documentation of the configure options. ./configure --help shows: --with-wxwidgets[=path/wx-config] enable wxWidgets suppor

Re: [GRASS-dev] wrong configure documentation for compilation with wxwidgets ?

2008-11-05 Thread Martin Landa
Hi, 2008/11/5 Moritz Lennert <[EMAIL PROTECTED]>: > Below discussion comes from the DebianGIS mailing list. It raises an issue > about documentation of the configure options. > > ./configure --help shows: > > --with-wxwidgets[=path/wx-config] enable wxWidgets support (wx-config with > path, e.g. '

[GRASS-dev] Re: [GRASS-user] Compiling addons from svn repository

2008-11-05 Thread Moritz Lennert
Gianluca, On 04/08/08 14:52, gianluca massei wrote: Thanks Moritz , great tip! I'm working in a module that implemented ELECTRE algorithm. I've just finisced a module named /r.roughset/ for knowledg discovery with rough set based on rough set library. You can download the source code from gra

[GRASS-dev] wrong configure documentation for compilation with wxwidgets ?

2008-11-05 Thread Moritz Lennert
Below discussion comes from the DebianGIS mailing list. It raises an issue about documentation of the configure options. ./configure --help shows: --with-wxwidgets[=path/wx-config] enable wxWidgets support (wx-config with path, e.g. '--with-wxwidgets=/usr/local/bin/wx-config', default: no) b

[GRASS-dev] Re: [GRASS GIS] #355: ps.map generates invalid postscript when vlegend item does not appear on map

2008-11-05 Thread GRASS GIS
#355: ps.map generates invalid postscript when vlegend item does not appear on map ---+ Reporter: scottygamm| Owner: grass-dev@lists.osgeo.org Type: defect| Status: new

Re: [GRASS-dev] Simplified G_percent() output in batch jobs?

2008-11-05 Thread Markus Neteler
On Tue, Nov 4, 2008 at 8:31 PM, Glynn Clements <[EMAIL PROTECTED]> wrote: > > Markus Neteler wrote: > >> I am running a large number of processing jobs on a >> cluster and the job manager output is cluttered with >> control chars from G_percent(). >> It would be great to have a switch (or detection