[GRASS-stats] Speedup of readVECT6() with plugin

Hamish hamish_b at yahoo.com
Sun Jun 1 22:41:16 EDT 2008


Roger:
> > the raster version is basic (uses data resolution not window
> > resolution, and only handles one raster at a time without categories).

Markus: 
> AFAIK the plugin delivers only *original* raster resolution
> and extent (that's why r.out.gdal was written in C to replace
> a former plugin based shell script).
> So, unless the plugin is changed here it might not be that
> useful for raster data *if* the GRASS behaviour of respecting raster
> settings during export should be maintained.

maybe the solution is just adding another line somewhere that does like
if( wind.region != map.region )
  r.mapcalc "tmp.R.outputmap.$$ = $inputmap"
else
  g.copy "$inputmap,tmp.R.outputmap.$$"

?

Or do the commands have to come from the R side, so no GRASS module commands can be used? Or else teach the user to do that cropping/resampling first (which is not a very nice solution IMO).


Hamish



      



More information about the grass-stats mailing list