Skip to content

Dataset compatibility check should take operating system into account #4404

Open
@daniel-j-h

Description

@daniel-j-h

Every now and again (ref. 1) users try to pre-process on Linux and then move the files to Windows for routing or the other way around. This won't work since the .osrm.* files are more or less byte dumps for internal structures: these can and will change across compilers, stdlibs but especially across Linux and Windows where all hope is lost.

Our data compatibility check should take the operating system the data was generated on into account and compare it with the operating system currently running on. The fingerprint needs to store an enum value based on the operating system which we can then dump out. Note: the fingerprint's magic number needs to change implementing this feature, since fingerprints will be incompatible.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions