Hi
I want to know if there is a GRASS GIS wiki with a list of illegal characters to be used in raster/vector names?
Is there?
Thanks
Franz
Hi
I want to know if there is a GRASS GIS wiki with a list of illegal characters to be used in raster/vector names?
Is there?
Thanks
Franz
Franz Schiller wrote:
I want to know if there is a GRASS GIS wiki with a list of illegal
characters to be used in raster/vector names?
Is there?
For rasters, the restrictions can be found in the source code for
G_legal_filename():
http://trac.osgeo.org/grass/browser/grass/trunk/lib/gis/legal_name.c#L33
Specifically, any of the characters:
/ " \ ' @ , = *
plus space (32), DEL (127), control characters (0-31) and 8-bit
characters (128-255).
Furthermore, the characters:
\ / : * ? " < > |
aren't allowed in filenames on Windows, so you can't use those if you
want portability.
The same restrictions apply to names of locations and mapsets.
Currently, vector map names must be valid as an SQL table name,
meaning that it can only contain letters, digits and underscore, and
may not be an SQL keyword.
--
Glynn Clements <glynn@gclements.plus.com>