How can I find the feature types of a CityGML file in the command line itself. Is there any command line argument to find the feature type of input file.
Page 1 / 1
There isn't an out of the box way to do this, but you could set up a workspace that lists all feature types.
There is a tool in the FME installation folder called AnalyzerTool.exe - this will tell you what feature types exist in a dataset:
Obviously that's not a command line command, but it might help. Also, I believe it's an example application written in C# whose code is provided (see C:\\apps\\FME2018.1\\fmeobjects\\samples\\CSharp). So if you wanted to make your own command line tool, that would make a good starting point. It even includes a workspace that reads/writes a schema.
Hope this helps.