Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

When creating a new Column, the default value for the length of the name is 10. Using the Field Calculator via the Model Builder, I want to include the names of regional areas into the columns which has more than 10 characters.

Can the length of the Output Field Name be increased?

share|improve this question
    
If the attribute size is the most important thing, and not the shapefile, look at saving your data into a spatial database, such as Spatialite. –  Ryan Garnett May 19 at 13:53
    
@RyanGarnett, thanks for the advice. The attribute size was more for an aesthetic purpose than anything else. –  Joseph May 19 at 15:06
2  
I have had that issues too. You may want to look at setting an alias. You can do this in the Properties window in QGIS, under the Fields tab. You can set the Alias, and that change will be reflected in the attribute table. –  Ryan Garnett May 19 at 15:12
    
@RyanGarnett, BRILLIANT! Thank you very much! –  Joseph May 19 at 15:18
    
Glad I could help. –  Ryan Garnett May 19 at 15:18

1 Answer 1

up vote 5 down vote accepted

If the output file is a shapefile, it is not possible due to the restrictions of the shapefile definition:

http://www.gdal.org/ogr/drv_shapefile.html

Attribute names can only be up to 10 characters long

share|improve this answer
    
many thanks for your quick reply. –  Joseph May 19 at 11:07

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.