Copied from a draft spec we have. I guess it would make more sense to aim for a separate tool to cover mapping instead of merging this into ifctool. Nevertheless I am recording this here since it is a related topic.
Also I believe the tool should not be a generic "json mapping" tool but should be specific to ifcjson so that we can have specific parameters geared towards this use case.
ifcjsonmapper
Implement a command-line tool that provides the functionality described below.
Copied from a draft spec we have. I guess it would make more sense to aim for a separate tool to cover mapping instead of merging this into ifctool. Nevertheless I am recording this here since it is a related topic.
Also I believe the tool should not be a generic "json mapping" tool but should be specific to ifcjson so that we can have specific parameters geared towards this use case.
ifcjsonmapper
Implement a command-line tool that provides the functionality described below.
ifcjsonmapper <inputfile> <outputfile> [--mapping <mappingfile>]
Example:
ifcjsonmapper input.json output.json --mapping mapping.json
Behavior:
Remarks: Reconsider/evaluate if is select-transform is the proper library for the job.