Bug report #9753

New Shapefile: allow only column names of max 10 chars

Added by Jonathan Moules over 6 years ago. Updated over 6 years ago.

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:
  1. Disallow more than 10 characters.
  2. Advise the user of the 10 char limit
  3. Visually feedback to the user that they've hit the 10 char limit.

Associated revisions

Revision 88bbe384
Added by Jürgen Fischer over 6 years ago

new vector layer: limit attribute name length of shape files to 10 (fixes #9753)

History

#1 Updated by Jürgen Fischer over 6 years ago

  • Category set to Vectors

#2 Updated by Giovanni Manghi over 6 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 6 years ago

  • Category changed from Labelling to GUI

#4 Updated by Jürgen Fischer over 6 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF