Skip to content

Instantly share code, notes, and snippets.

View KhaledTaymour's full-sized avatar
🧑‍🎨

Khaled Taymour KhaledTaymour

🧑‍🎨
View GitHub Profile

Shapefile Constraints in Arcobjects c#

While dealing with shapefiles, there are some constraints you’ve to put into considerations.

Field Naming:

  1. Can be up to 10 characters long or less.
  2. Should only contain characters a–z, 0–9, and underscores.
  3. Do not use spaces, hyphens, parentheses, brackets, and other special characters, such as $, %, and #.
  4. Avoid using field names that contain words that are typically considered reserved keywords. These are typically data, day, month, (table), text, user, when, (where), year, and zone.