Skip to main content
Rollback to Revision 2
Source Link
aldo_tapia
  • 13.8k
  • 5
  • 32
  • 58

Field name restrictions inside a shapefile are determined by dBase limitations. There are four single rules:

  1. Up to 10 character max.
  2. First character in field name must start with a letter.
  3. Field names are unique.
  4. And, from [Understanding DBF Essentials][1]Understanding DBF Essentials

(...) they can contain any combination of the letters A through Z, the digits 0 through 9, the colon (:) (in dBASE II field names only), and the underscore (_).

ESRI Shapefile works with dBase III+.


I tried to export fields names with colon at the beginning, middle and end with GDAL. All colons where changed to underline, like:

:Field to _Field

Fie:ld to Fie_ld

Field: to Field_ [1]: http://www.okstate.edu/sas/v7/sashtml/books/acespc/z0214453.htm

Field name restrictions inside a shapefile are determined by dBase limitations. There are four single rules:

  1. Up to 10 character max.
  2. First character in field name must start with a letter.
  3. Field names are unique.
  4. And, from [Understanding DBF Essentials][1]

(...) they can contain any combination of the letters A through Z, the digits 0 through 9, the colon (:) (in dBASE II field names only), and the underscore (_).

ESRI Shapefile works with dBase III+.


I tried to export fields names with colon at the beginning, middle and end with GDAL. All colons where changed to underline, like:

:Field to _Field

Fie:ld to Fie_ld

Field: to Field_ [1]: http://www.okstate.edu/sas/v7/sashtml/books/acespc/z0214453.htm

Field name restrictions inside a shapefile are determined by dBase limitations. There are four single rules:

  1. Up to 10 character max.
  2. First character in field name must start with a letter.
  3. Field names are unique.
  4. And, from Understanding DBF Essentials

(...) they can contain any combination of the letters A through Z, the digits 0 through 9, the colon (:) (in dBASE II field names only), and the underscore (_).

ESRI Shapefile works with dBase III+.

deleted 32 characters in body
Source Link
PolyGeo
  • 65.4k
  • 29
  • 114
  • 345

Field name restrictions inside a shapefile are determined by dBase limitations. There are four single rules:

  1. Up to 10 character max.
  2. First character in field name must start with a letter.
  3. Field names are unique.
  4. And, from [Understanding DBF Essentials][1]

(...) they can contain any combination of the letters A through Z, the digits 0 through 9, the colon (:) (in dBASE II field names only), and the underscore (_).

ESRI Shapefile works with dBase III+.


EDIT

I tried to export fields names with colon at the beginning, middle and end with GDAL. All colons where changed to underline, like:

:Field to _Field

Fie:ld to Fie_ld

Field: to Field_ [1]: http://www.okstate.edu/sas/v7/sashtml/books/acespc/z0214453.htm

Field name restrictions inside a shapefile are determined by dBase limitations. There are four single rules:

  1. Up to 10 character max.
  2. First character in field name must start with a letter.
  3. Field names are unique.
  4. And, from [Understanding DBF Essentials][1]

(...) they can contain any combination of the letters A through Z, the digits 0 through 9, the colon (:) (in dBASE II field names only), and the underscore (_).

ESRI Shapefile works with dBase III+.


EDIT

I tried to export fields names with colon at the beginning, middle and end with GDAL. All colons where changed to underline, like:

:Field to _Field

Fie:ld to Fie_ld

Field: to Field_ [1]: http://www.okstate.edu/sas/v7/sashtml/books/acespc/z0214453.htm

Field name restrictions inside a shapefile are determined by dBase limitations. There are four single rules:

  1. Up to 10 character max.
  2. First character in field name must start with a letter.
  3. Field names are unique.
  4. And, from [Understanding DBF Essentials][1]

(...) they can contain any combination of the letters A through Z, the digits 0 through 9, the colon (:) (in dBASE II field names only), and the underscore (_).

ESRI Shapefile works with dBase III+.


I tried to export fields names with colon at the beginning, middle and end with GDAL. All colons where changed to underline, like:

:Field to _Field

Fie:ld to Fie_ld

Field: to Field_ [1]: http://www.okstate.edu/sas/v7/sashtml/books/acespc/z0214453.htm

Improved explanation
Source Link
aldo_tapia
  • 13.8k
  • 5
  • 32
  • 58

Field name restrictions inside a shapefile are determined by dBase limitations. There are four single rules:

  1. Up to 10 character max.
  2. First character in field name must start with a letter.
  3. Field names are unique.
  4. And, from Understanding DBF Essentials[Understanding DBF Essentials][1]

(...) they can contain any combination of the letters A through Z, the digits 0 through 9, the colon (:) (in dBASE II field names only), and the underscore (_).

ESRI Shapefile works with dBase III+.


EDIT

I tried to export fields names with colon at the beginning, middle and end with GDAL. All colons where changed to underline, like:

:Field to _Field

Fie:ld to Fie_ld

Field: to Field_ [1]: http://www.okstate.edu/sas/v7/sashtml/books/acespc/z0214453.htm

Field name restrictions inside a shapefile are determined by dBase limitations. There are four single rules:

  1. Up to 10 character max.
  2. First character in field name must start with a letter.
  3. Field names are unique.
  4. And, from Understanding DBF Essentials

(...) they can contain any combination of the letters A through Z, the digits 0 through 9, the colon (:) (in dBASE II field names only), and the underscore (_).

ESRI Shapefile works with dBase III+.

Field name restrictions inside a shapefile are determined by dBase limitations. There are four single rules:

  1. Up to 10 character max.
  2. First character in field name must start with a letter.
  3. Field names are unique.
  4. And, from [Understanding DBF Essentials][1]

(...) they can contain any combination of the letters A through Z, the digits 0 through 9, the colon (:) (in dBASE II field names only), and the underscore (_).

ESRI Shapefile works with dBase III+.


EDIT

I tried to export fields names with colon at the beginning, middle and end with GDAL. All colons where changed to underline, like:

:Field to _Field

Fie:ld to Fie_ld

Field: to Field_ [1]: http://www.okstate.edu/sas/v7/sashtml/books/acespc/z0214453.htm

deleted 5 characters in body
Source Link
aldo_tapia
  • 13.8k
  • 5
  • 32
  • 58
Loading
Source Link
aldo_tapia
  • 13.8k
  • 5
  • 32
  • 58
Loading