Does anyone know why in ESRI help website (1, 2), it states that the field length if not specified will default to 255. However when I manually create a shapefile the max character is only 254. Why is there this difference of 1 character?
Asked
Active
Viewed 730 times
1 Answers
4
The maximum length of a text field in a shapefile is 254 due to the underlying dBASE format limitations.
From ESRI - "Geoprocessing considerations for shapefile output ":
Attribute limitations
Geodatabase data type dBASE field type dBASE field width (number of characters) ... Text Character 254
From dBASE:
DBASE Limits
Description Limit Size of character fields 254
user2856
- 65,736
- 6
- 115
- 196
-
https://support.esri.com/en/technical-article/000012081 and https://safe.menlosecurity.com/https://support.esri.com/en/technical-article/000012089 You may access this 2 websites, it states that max character is 255? Anyway thanks for replying! – terrty Jan 20 '21 at 01:55
-
1https://support.esri.com/en/technical-article/000012081 and https://support.esri.com/en/technical-article/000012089 do not specifically refer to shapefiles. – user2856 Jan 20 '21 at 02:00