OCAD
Dan Tobias (Talk | contribs) |
Dan Tobias (Talk | contribs) (→‎Identification) |
||
Line 8: | Line 8: | ||
== Identification == | == Identification == | ||
− | Files start with the bytes <code>AD 0C</code> (hex), which represent a 16-bit integer <code>0CAD</code> (hex) in [[Endianness|little-endian]] form, spelling out the name of the software. (It's equivalent to the less interesting 3245 in decimal.) The specs don't specifically mention the endianness, so it's possible that implementations on system architectures with big-endian system-level order might start files with <code>0C AD</code> and produce files not necessarily compatible with other systems, though it does not appear that such implementations actually exist. | + | Files start with the bytes <code>AD 0C</code> (hex), which represent a 16-bit integer <code>0CAD</code> (hex) in [[Endianness|little-endian]] form, spelling out the name of the software. (It's equivalent to the less interesting 3245 in decimal.) The specs don't specifically mention the endianness, so it's possible that implementations on system architectures with big-endian system-level order might start files with <code>0C AD</code> and produce files not necessarily compatible with other systems, though it does not appear that such implementations actually exist. If they did, then one could use the presence of <code>AD 0C</code> or <code>0C AD</code> at the beginning of a file as a [[Byte Order Mark]] equivalent to distinguish them. |
The following byte is 0 for a normal map, 1 for a course setting project, 2 for a file saved in Server. | The following byte is 0 for a normal map, 1 for a course setting project, 2 for a file saved in Server. |
Latest revision as of 14:03, 7 July 2020
OCAD (Orienteering Computer Aided Design) is a software system for cartography (map making) with particular functionality for use connected to the sport of orienteering, which involves direction-finding. The software was created in Switzerland and released in 17 languages. It is sold on a subscription basis.
Contents |
[edit] Identification
Files start with the bytes AD 0C
(hex), which represent a 16-bit integer 0CAD
(hex) in little-endian form, spelling out the name of the software. (It's equivalent to the less interesting 3245 in decimal.) The specs don't specifically mention the endianness, so it's possible that implementations on system architectures with big-endian system-level order might start files with 0C AD
and produce files not necessarily compatible with other systems, though it does not appear that such implementations actually exist. If they did, then one could use the presence of AD 0C
or 0C AD
at the beginning of a file as a Byte Order Mark equivalent to distinguish them.
The following byte is 0 for a normal map, 1 for a course setting project, 2 for a file saved in Server.
[edit] Format description
- OCAD 12 File Format
- OCAD 11 File Format
- OCAD 10 File Format
- OCAD 9 File Format
- OCAD 6/7/8 File Format
[edit] Sample files
The free viewer (downloadable below) includes some samples, which can be found in a directory within the installed program directory, such as C:\Program Files\OCAD\OCAD 2018 Viewer\Samples
.