I would like to read map files created by OCAD (.ocd). The file format specification is open and available on the web page, but it's binary and complex.
Is there an open source library that can be used for reading these .ocd files?
I would like to read map files created by OCAD (.ocd). The file format specification is open and available on the web page, but it's binary and complex.
Is there an open source library that can be used for reading these .ocd files?
If you want to migrate from OCAD to some free & open-source software then, I highly recommend you useOpenOrienteering Mapper (OOMapper for short) - cartographic desktop publishing software for creating and printing maps (distributed with symbol sets for orienteering maps, but other symbol sets could be created in easy way directly in OOMapper).
OpenOrienteering Mapper's site - http://www.openorienteering.org/apps/mapper/
As advantage of migrating on OOMapper from OCAD:
At this point OpenOrienteering Mapper is free & open-source alternative to OCAD. So, if you already has some own created maps in .ocd
(OCAD) or .dxf
format you could easy open this map for editing in OOMapper too!
No, best I can tell the format has no open source parsers. The software itself does support exporting to AI and SVG files, which may be the best bet. Reverse engineering a format such as this is difficult, as it is an intermingling of symbols, raster and vector contents.
I am working on a number of JavaScript modules to read and work with OCAD files: extract the geometries and other data, export data to various formats liked SVG, PNG, GeoJSON and QGIS. Styling can also be extracted into Mapbox Style Spec.
This is a constant work in progress, but if you're a developer I think you can find it useful:
As of now, there is an OCAD viewer available from http://ocad.com/en/downloads/ocad-viewer This will allow you to open and view .ocd files.