Provides interoperability between Vulcan and OMF
Project description
maptekomf.vulcan
Provides support for inter-operability with the OMF format and Maptek Vulcan.
The sister package maptekomf.maptek provides support for inter-operability with the Open Mining Format (OMF) and Maptek applications built on a shared underlying infrastructure (which Maptek Vulcan is not built on).
Supported application versions
- Maptek Vulcan 2021.4 and later
Older versions such as Maptek Vulcan 2020 and 2021.x may work but they have not been tested.
Implementation defined behaviour
This OMF importer/exporter implementation has the following behaviour that may be different to how other implementations, scripts and applications handle a given OMF project file. This is done in places where the OMF specification does not specify how such cases should be handled, especially in cases where data can't be represented natively in the data format.
Naming
The names of objects in an OMF project are not required to be unique. The names of objects in a given folder in a Vulcan project need be unique as they are often stored on the file system.
As a result during import if a duplicate name is detected a numerical suffix will be added.
Point colouring
Maptek Vulcan's point and line sets have the concept of a per-point colour.
If the colours are not all the same when exporting, then they will be written
as an attribute of type omf.ColorData
on the object called "point colours".
When importing, the "point colours" attribute will be recognised and read in as a colour array. Vulcan does not support an arbitrary number of colour array attributes, it only allows one set of colours for the points.
Cell visibility
Vulcan's grids have the concept of visibility (or a grid mask), as a way to hide cells that are not relevant. For example, they may fall outside the data range (i.e. the area that was measured/recorded). This is achieved by saving it as an attribute for vertices called "visibility" in OMF and recognising the attribute in the importer.
Limitations
- Per-facet attributes are not supported in Vulcan's data types.
- Per-vertex attributes are not supported in Vulcan's data types.
- Grids in Vulcan do not support texturing. This means textures for gridded surfaces in an OMF file won't be imported.
Future work
- Import and export for block models. Support may be added on request; however the plan is to wait until this package is updated to use omf-2.0.
- Upgrade omf package from 1.0 to 2.0.
- Support importing/exporting textured surfaces.
- Support SCD (Colour map/legend) files and colour maps in general.
Distribution
This project is typically distributed as a Python wheel through PyPi. However, other mechanisms exist.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for maptekomf_vulcan-1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0617804511144793aa7ea44bda8d475723df993ab62256e67b5a10f3733e207 |
|
MD5 | 72748af24a1953632ff27963e319fd80 |
|
BLAKE2b-256 | e46ff7a54d7313a264b4fd91a71e01322b10edc45fb0a9ff73a468ad7092f1aa |