Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IFCTool: Discussion: mapping of properties #11

Open
Adrian62D opened this issue Jul 5, 2022 · 0 comments
Open

IFCTool: Discussion: mapping of properties #11

Adrian62D opened this issue Jul 5, 2022 · 0 comments

Comments

@Adrian62D
Copy link

Adrian62D commented Jul 5, 2022

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:

  • The tool expects a valid ifcJSON-4 file as inputfile
  • The tool optionally expects a valid select-transform template as mappingfile
  • The tool provides a valid ifcJSON-4 file as outputfile

Remarks:
Reconsider/evaluate if is select-transform is the proper library for the job.

@OlegMoshkovich OlegMoshkovich changed the title Discussion: mapping of properties IFCTool: Discussion: mapping of properties Aug 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: IFC Tool
Development

No branches or pull requests

1 participant