[GRASS-dev] slow $PROMPT_COMMAND

Glynn Clements glynn at gclements.plus.com
Fri Sep 26 11:08:15 EDT 2008


Markus Neteler wrote:

> > Hmm. We might want to allow the r.external support (i.e. linking
> > libgis against GDAL) to be enabled/disabled separately from the use of
> > GDAL by lib/proj and r.{in,out}.gdal.
> 
> Could the GRASS-GDAL-Plugin-autoload mechanism adapted
> somehow (of course that's the reverse direction)? The GRASS plugin
> is only loaded on demand. This would slow down the command using
> it but for r.external and r.{in,out}.gdal it might be irrelevant since
> usually performed only one time.

Loading GDAL dynamically shouldn't be too much of a problem; r.in.gdal
used to do this (gdalbridge.[ch]), although I wouldn't use that
specific code).

I'll look into it.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list