Question

Feature Types

  • 19 September 2018
  • 2 replies
  • 1 view

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.


2 replies

Userlevel 5
Badge +25

There isn't an out of the box way to do this, but you could set up a workspace that lists all feature types.

Userlevel 4
Badge +25

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.

Reply