[GRASS-dev] g.mlist as C implementation?

Glynn Clements glynn at gclements.plus.com
Thu Sep 13 11:23:21 EDT 2007


Maris Nartiss wrote:

> back to old discussions?
> http://grass.itc.it/pipermail/grass-dev/2007-January/028510.html
> 
> Just a idea - would it be possible to #IFDEF OS specific illegal chars
> for this function? Only problem for such approach could be tar'ing
> location/gisdbase and moving to other system (move *nix files with ":"
> to windows).

It would make more sense to prohibit the characters which are illegal
on Windows for all platforms.

> Or - for GRASS 7 - get rid of map_name==file_name at all. Assign some
> random file name (gr_0982193) and store map name in it's header
> (my!@*&^*!#(*^!*@&raster). Such approach could eliminate illegal map
> name problem at all. Drawback - no easy way how to tell which map is
> stored in which file w/o GRASS (it can be solved by providing some
> "table of contents" file).

I don't think that it's worth going that far. If we were going to do
that, we would have done it for vectors, which are limited to
alphanumerics and underscore due to SQL.

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




More information about the grass-dev mailing list