Re: [GRASS-dev] GRASS7 rasterlib broken?

2009-07-15 Thread Glynn Clements
Hamish wrote: > any opportunity here to kill off some more library-internal global variables? Not that I know of. -- Glynn Clements ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] GRASS7 rasterlib broken?

2009-07-15 Thread Glynn Clements
Markus Metz wrote: > Getting more technical: does it make sense to port rasterIO ideas to > vectorIO or vice versa? I don't think so. -- Glynn Clements ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gras

Re: [GRASS-dev] GRASS7 rasterlib broken?

2009-07-15 Thread Markus Metz
Markus Neteler wrote: > I spoke to Gilberto Camara last week at the > OGRS2009 conference in Nantes (www.ogrs2009.org) about the > pros and cons of replacing the GRASS raster library with Terralib [1]. > He promised to check with his engineers, maybe there is some > interesting advantage. To be stu

Re: [GRASS-dev] GRASS7 rasterlib broken?

2009-07-15 Thread Markus Neteler
On Wed, Jul 15, 2009 at 10:55 PM, Markus Metz wrote: ... > Getting more technical: does it make sense to port rasterIO ideas to > vectorIO or vice versa? (Un)related to this: I spoke to Gilberto Camara last week at the OGRS2009 conference in Nantes (www.ogrs2009.org) about the pros and cons of rep

Re: [GRASS-dev] GRASS7 rasterlib broken?

2009-07-15 Thread Markus Metz
Glynn Clements wrote: > Markus Metz wrote: > > >>> Splitting libgis into libgis and libraster means splitting G_gisinit() >>> into G_gisinit() and Rast_init(). Obviously, if you split the function >>> in two, any calls to the function also need to be split. >>> >>> I'll look into doing one-shot

Re: [GRASS-dev] GRASS7 rasterlib broken?

2009-07-15 Thread Hamish
any opportunity here to kill off some more library-internal global variables? Hamish ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] GRASS7 rasterlib broken?

2009-07-15 Thread Glynn Clements
Glynn Clements wrote: > > >>> Anyway there are many modules which needs Rast_init() (or > > >>> Rast_init_all()). > > >>> > > >> Could it be done in the library to avoid the modification of all raster > > >> modules? > I'll look into doing one-shot initialisation within the raster > libr

Re: [GRASS-dev] GRASS7 rasterlib broken?

2009-07-15 Thread Glynn Clements
Markus Metz wrote: > > Splitting libgis into libgis and libraster means splitting G_gisinit() > > into G_gisinit() and Rast_init(). Obviously, if you split the function > > in two, any calls to the function also need to be split. > > > > I'll look into doing one-shot initialisation within the ras

Re: [GRASS-dev] GRASS7 rasterlib broken?

2009-07-15 Thread Markus Metz
Glynn Clements wrote: > Splitting libgis into libgis and libraster means splitting G_gisinit() > into G_gisinit() and Rast_init(). Obviously, if you split the function > in two, any calls to the function also need to be split. > > I'll look into doing one-shot initialisation within the raster > lib

Re: [GRASS-dev] GRASS7 rasterlib broken?

2009-07-15 Thread Glynn Clements
Markus Metz wrote: > >>> Anyway there are many modules which needs Rast_init() (or > >>> Rast_init_all()). > >>> > >> Could it be done in the library to avoid the modification of all raster > >> modules? > >> > > > > I am afraid that it's not possible (please correct me). The library

[GRASS-dev] Re: [GRASS GIS] #670: add support for alternative coordinates

2009-07-15 Thread GRASS GIS
#670: add support for alternative coordinates --+- Reporter: timmie | Owner: martinl Type: enhancement | Status: assigned Priority: normal

[GRASS-dev] Re: comparing r.cost and r.terracost [was: Re: [GRASS-user] affecting cat of closest feature as pixel value]

2009-07-15 Thread Moritz Lennert
On 15/07/09 15:40, Laura Toma wrote: Hi Moritz, Terracost runs in two modes: in memory (when numtiles=1), and in external memory, using streams (when numtiles>1). When run without a value for numtiles, it sets numtiles to the optimal value. In all your tests numtiles was set to 1. The

Re: [GRASS-dev] GRASS7 rasterlib broken?

2009-07-15 Thread Markus Metz
Martin Landa wrote: > Hi, > > 2009/7/15 Markus Neteler : > > [...] > > >>> Anyway there are many modules which needs Rast_init() (or >>> Rast_init_all()). >>> >> Could it be done in the library to avoid the modification of all raster >> modules? >> > > I am afraid that it's not poss

[GRASS-dev] Re: [GRASS GIS] #689: wxgui - georectify: group does not exist

2009-07-15 Thread GRASS GIS
#689: wxgui - georectify: group does not exist --+- Reporter: mlennert | Owner: grass-dev@lists.osgeo.org Type: defect | Status: new Priority: normal | Milestone

[GRASS-dev] [GRASS GIS] #689: wxgui - georectify: group not found

2009-07-15 Thread GRASS GIS
#689: wxgui - georectify: group not found --+- Reporter: mlennert | Owner: grass-dev@lists.osgeo.org Type: defect| Status: new Priority: normal| Mi

Re: [GRASS-dev] GRASS7 rasterlib broken?

2009-07-15 Thread Martin Landa
Hi, 2009/7/15 Markus Neteler : [...] >> Anyway there are many modules which needs Rast_init() (or >> Rast_init_all()). > > Could it be done in the library to avoid the modification of all raster > modules? I am afraid that it's not possible (please correct me). The library has been initialized

[GRASS-dev] Re: [GRASS GIS] #686: wxgui: georectify need to set region in XY location to extension of map to be able to see it

2009-07-15 Thread GRASS GIS
#686: wxgui: georectify need to set region in XY location to extension of map to be able to see it --+- Reporter: mlennert | Owner: grass-dev@lists.osgeo.org Type: defect | Status: new

[GRASS-dev] [GRASS GIS] #688: wxgui - georectify: after finishing editing a point, next point should be activated

2009-07-15 Thread GRASS GIS
#688: wxgui - georectify: after finishing editing a point, next point should be activated --+- Reporter: mlennert | Owner: grass-dev@lists.osgeo.org Type: enhancement | Status: new

[GRASS-dev] Re: [GRASS GIS] #686: wxgui: georectify need to set region in XY location to extension of map to be able to see it

2009-07-15 Thread GRASS GIS
#686: wxgui: georectify need to set region in XY location to extension of map to be able to see it --+- Reporter: mlennert | Owner: grass-dev@lists.osgeo.org Type: defect | Status: new

[GRASS-dev] [GRASS GIS] #687: wxgui - georectify: tab order in GCP editing window should be altered

2009-07-15 Thread GRASS GIS
#687: wxgui - georectify: tab order in GCP editing window should be altered --+- Reporter: mlennert | Owner: grass-dev@lists.osgeo.org Type: enhancement | Status: new P

[GRASS-dev] [GRASS GIS] #686: wxgui: georectify need to set region in XY location to extension of map to be able to see it

2009-07-15 Thread GRASS GIS
#686: wxgui: georectify need to set region in XY location to extension of map to be able to see it --+- Reporter: mlennert | Owner: grass-dev@lists.osgeo.org Type: defect| Status: new

Re: [GRASS-dev] GRASS7 rasterlib broken?

2009-07-15 Thread Markus Neteler
On Wed, Jul 15, 2009 at 3:17 PM, Martin Landa wrote: > Hi, > > 2009/7/15 Markus Metz : >>> very wild guess - probably because Rast__init() is not called anywhere? >>> >> I guess you probably know best about Rast__init() and when and where it >> is supposed to be called ;-) I've never heard of that

Re: [GRASS-dev] r.recode: behaviour at limits

2009-07-15 Thread Markus Neteler
On Wed, Jul 15, 2009 at 6:32 AM, Glynn Clements wrote: > > Martin Landa wrote: > >> >> I have tried but the script in tools/ is introducing >> >> ugly vertical white space in the variable definitions, e.g. > >> > I can't reproduce this, and grass_indent.sh passes -npro to indent >> > so it shouldn'

[GRASS-dev] Re: comparing r.cost and r.terracost [was: Re: [GRASS-user] affecting cat of closest feature as pixel value]

2009-07-15 Thread Laura Toma
Hi Moritz, Terracost runs in two modes: in memory (when numtiles=1), and in external memory, using streams (when numtiles>1). When run without a value for numtiles, it sets numtiles to the optimal value. In all your tests numtiles was set to 1. The algorithms in the 2 cases are dif

Re: [GRASS-dev] GRASS7 rasterlib broken?

2009-07-15 Thread Martin Landa
Hi, 2009/7/15 Markus Metz : >> very wild guess - probably because Rast__init() is not called anywhere? >> > I guess you probably know best about Rast__init() and when and where it > is supposed to be called ;-) I've never heard of that function before... well, I am really rasterlib newbie ;-) Hop

Re: [GRASS-dev] GRASS7 rasterlib broken?

2009-07-15 Thread Markus Metz
Martin Landa wrote: > Hi, > > 2009/7/15 Markus Metz : > >> g.region rast=mymap >> r.mapcalc "mymap.copy = mymap" >> >> Displaying both maps or r.univar gives vastly different results. >> This corrupted output is not restricted to r.mapcalc but seems to be >> true for all raster modules. >> >> gr

Re: [GRASS-dev] GRASS7 rasterlib broken?

2009-07-15 Thread Martin Landa
Hi, 2009/7/15 Markus Metz : > g.region rast=mymap > r.mapcalc "mymap.copy = mymap" > > Displaying both maps or r.univar gives vastly different results. > This corrupted output is not restricted to r.mapcalc but seems to be > true for all raster modules. > > grass7 updated today, no changes in my l

Re: [GRASS-dev] GRASS7 rasterlib broken?

2009-07-15 Thread Markus Neteler
On Wed, Jul 15, 2009 at 12:18 PM, Markus Metz wrote: > g.region rast=mymap > r.mapcalc "mymap.copy = mymap" > > Displaying both maps or r.univar gives vastly different results. > This corrupted output is not restricted to r.mapcalc but seems to be > true for all raster modules. > > grass7 updated t

[GRASS-dev] Re: comparing r.cost and r.terracost [was: Re: [GRASS-user] affecting cat of closest feature as pixel value]

2009-07-15 Thread Moritz Lennert
Hello Laura, On 15/07/09 00:01, Laura Toma wrote: Hi Markus, Moritz, I could reproduce the problem. It was happening because the cost of the source points were incorrectly assigned to be zero, instead of the actual cost of the points. Because of this, the immediate neighbors of the source

[GRASS-dev] GRASS7 rasterlib broken?

2009-07-15 Thread Markus Metz
g.region rast=mymap r.mapcalc "mymap.copy = mymap" Displaying both maps or r.univar gives vastly different results. This corrupted output is not restricted to r.mapcalc but seems to be true for all raster modules. grass7 updated today, no changes in my local copy, two different independent system

[GRASS-dev] Re: [GRASS GIS] #685: make htmldocs fails with "cannot stat `gisliblib.dox': No such file or directory"

2009-07-15 Thread GRASS GIS
#685: make htmldocs fails with "cannot stat `gisliblib.dox': No such file or directory" --+- Reporter: mlennert | Owner: grass-dev@lists.osgeo.org Type: defect | Status: new

[GRASS-dev] Re: [GRASS GIS] #685: make htmldocs fails with "cannot stat `gisliblib.dox': No such file or directory"

2009-07-15 Thread GRASS GIS
#685: make htmldocs fails with "cannot stat `gisliblib.dox': No such file or directory" --+- Reporter: mlennert | Owner: grass-dev@lists.osgeo.org Type: defect | Status: new

[GRASS-dev] Re: [GRASS GIS] #685: make htmldocs fails with "cannot stat `gisliblib.dox': No such file or directory"

2009-07-15 Thread GRASS GIS
#685: make htmldocs fails with "cannot stat `gisliblib.dox': No such file or directory" --+- Reporter: mlennert | Owner: grass-dev@lists.osgeo.org Type: defect | Status: new

[GRASS-dev] [GRASS GIS] #685: make htmldocs fails with "cannot stat `gisliblib.dox': No such file or directory"

2009-07-15 Thread GRASS GIS
#685: make htmldocs fails with "cannot stat `gisliblib.dox': No such file or directory" --+- Reporter: mlennert | Owner: grass-dev@lists.osgeo.org Type: defect| Status: