[GRASS-dev] bugs in r.shaded.relief and r.fillnulls

Glynn Clements glynn at gclements.plus.com
Thu Jul 26 17:34:36 EDT 2007


Brad Douglas wrote:

> > Also I noticed that r.fillnulls doesn't allow input/output filenames
> > to have "-" or "."
> 
> This is because there is an intermediate vector step.  We don't allow
> "-" or "." in vector file names because it breaks SQL compatibility ("-"
> could be allowed, though.  I don't know what the reasoning behind that
> one is).

The "-" character isn't valid in SQL table/column names. Trying to use
a column named "foo-bar" would be interpreted as the result of
subtracting column "bar" from column "foo".

The only characters allowed in table/column names are letters, digits,
and underscore.

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




More information about the grass-dev mailing list