Skip to content

ii) Level 5 DOS .dbf files should end in 0x1a, but .dbf files of many shapefiles do not. #466

Closed

Description

@JamesParrott
No description provided.

Activity

  1. JamesParrott commented on Nov 15, 2026

    @JamesParrott
    CollaboratorAuthor

    Do Shapefiles use some other spec than the Level 5 DOS .dbf sepc on wikipedia?

    Infamously, the Esri spec only states:

    For more information on the dBASE file format, visit the INPRISE Corp. Web site at
    www.inprise.com.

    (and):

    The dBASE file (.dbf) contains any desired feature attributes or attribute keys to which
    other tables can be joined. Its format is a standard DBF file used by many table-based
    applications in Windows™ and DOS. Any set of fields can be present in the table. There
    are three requirements, as follows:
    The file name must have the same prefix as the shape and index file. Its suffix must
    be .dbf. (See the example on page 2, in Naming Conventions.)
    The table must contain one record per shape feature.
    The record order must be the same as the order of shape features in the main (*.shp)
    file.
    The year value in the dBASE header must be the year since 1900

  2. JamesParrott commented on Nov 15, 2026

    @JamesParrott
    CollaboratorAuthor

    After correcting the check, the dbf files do end in 0x1a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions