Skip to main content

Module for handling ocad-files

Project description

# OCAD

This is a python-modul which contains usefull fuctions when handling with ocad-files.

### Example

`python from ocad import ocad `

`python ocad.file_is_cs("OCAD12-File-Sample.ocd") `

False

`python ocad.file_is_map("OCAD12-File-Sample.ocd") `

True

`python ocad.file_is_ocad("OCAD12-File-Sample.ocd") `

True

`python ocad.file_version("OCAD12-File-Sample.ocd", format='short') `

‘12’

`python ocad.file_info("OCAD12-File-Sample.ocd") `

{‘epsg_code’: None,

‘epsg_name’: None, ‘georeferenced’: True, ‘note’: ‘map note’, ‘number_of_backgroundmaps’: 0, ‘number_of_classes’: 0, ‘number_of_colors’: 1, ‘number_of_courses’: 0, ‘number_of_spot-colors’: 0, ‘scale’: ‘10000.000000’, ‘typ’: ‘map’, ‘version_long’: ‘12.3.1’, ‘version_short’: ‘12’}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

ocad-0.0.1-py2.py3-none-any.whl (12.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file ocad-0.0.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for ocad-0.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c104edb1d6e991d8c7c1276039cdd6d2696c68971f9bc4e1cccd91da7890c8b4
MD5 356ab1c00359d6642ffd31a8f1bf98ce
BLAKE2b-256 c7128b19123c34321e0d11feac76ea165c2a684532aaf03a56f730d5a32baffe

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page