[GRASS-user] Import vector: illegal filename

Glynn Clements glynn at gclements.plus.com
Sun Jul 31 14:03:34 EDT 2011


deagon wrote:

> Here is a link to a previous discussion about the following error message:
> "Illegal filename.  Character not allowed."
> 
> http://osgeo-org.1803224.n2.nabble.com/List-of-illegal-characters-for-filenames-td5669950.html#a5671015
> http://osgeo-org.1803224.n2.nabble.com/List-of-illegal-characters-for-filenames-td5669950.html#a5671015 
> 
> Do these rules also apply to field names in attribute tables?

Database column and table names are limited by the SQL standard, as
well as the particular database back-end.

> I ask b/c I
> get an error with the following filenames, which appear to conform with the
> rules (as underscores are permitted):
> 
> My input vector layer = "Forest_District"
> My output vector map = "Forest_District"
> 
> I have yet to succeed in opening a single shapefile in GRASS.

I believe that the DBF driver limits column names to 10 characters. I
don't know whether that also applies to table names.

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


More information about the grass-user mailing list