Skip to content

Incorrect header of shx file #118

@Rulexec

Description

@Rulexec

Currently .shx file uses the same header as .shp. They should be the same, except file length field.

So, some tools cannot read it correctly:

$ ogrinfo test.shp
ERROR 4: Failed to read all values for 3 records in .shx file.
ERROR 4: Failed to read all values for 3 records in .shx file.
FAILURE:
Unable to open datasource `test.shp' with the following drivers.

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