Bug report #9753
New Shapefile: allow only column names of max 10 chars
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | GUI | ||
Affected QGIS version: | master | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 18301 |
Description
When creating a new Shapefile (New -> New Shapefile Layer), the New attribute box allows any length attribute to be entered.
However shapefiles can only have a length of 10 characters.
So one or more of the below should be done:
However shapefiles can only have a length of 10 characters.
So one or more of the below should be done:
- Disallow more than 10 characters.
- Advise the user of the 10 char limit
- Visually feedback to the user that they've hit the 10 char limit.
Associated revisions
new vector layer: limit attribute name length of shape files to 10 (fixes #9753)
History
#1 Updated by Jürgen Fischer over 10 years ago
- Category set to Vectors
#2 Updated by Giovanni Manghi over 10 years ago
- Category changed from Vectors to Labelling
- Subject changed from New Shapefile - allows any length of attribute name to New Shapefile: allow only column names of max 10 chars
#3 Updated by Giovanni Manghi over 10 years ago
- Category changed from Labelling to GUI
#4 Updated by Jürgen Fischer over 10 years ago
- Status changed from Open to Closed
Fixed in changeset 88bbe384dc7f473c84fb55c97bfdff3e0cb83315.