Skip to content.
CCB > CCBSIGS > ShapeToolLibraryProgram > ExtractAttributes > ExtractAttributesUserGuide1x0

ExtractAttributes Usage Guide

Synopsis

ExtractAttributes is an application program that extracts the data attributes of a Shape file and, optionally, saves them into a separate text data file.

Note: A Ucf file containing per-vertex Data Attributes is often colloquially referred to as a "4D Ucf"

Operational Details

Each file listed on the command line is examined to determine if it contains a data attribute. If found, the data attribute values are printed to the console output as a table. The first line of the table is the name of the Ucf attribute, as specified by the comments supported by the ShapeTools Ucf parser. If no attribute name is found, the default attribute name assigned by the ShapeTools library (ucfData0) is used.

If no data attribute is found no output is printed.

When multiple files are listed on the commmand line the output for each is concatenated to the output stream in the right-to-left order in which the data files are listed. {-version | -help | file0.ucf , file1.ucf, ..., fileN.ucf}

Command Line Arguments and Syntax

Argument Required Default Description Notes
-help no off prints a usage message to standard output  
-version no off prints program version number to standard output Current version is 1.0.0d0

Examples

The first input file in these examples is named first.ucf The second input shape file is named "second"

The ouput file in these examples is named output

The program file in these examples is named Extract4DUcfAttributes.jar

Extract the data attribute from two ucf files named "1.ucf" and 2.ucf and save into a file name attr.txt

Use this command : *java -jar Extract4DUcfAttributes.jar 1.ucf 2.ucf > attr.txt *