Feature Representation

The feature types for the BCF reader and writer are listed below. These are FME feature representation of the various XML and PNG files in a BCF dataset.

BCF File FME Feature Type
bcf.version Version
project.bcfp ProjectExtension
markup.bcf

Markup

Header

Topic

Comment

Viewpoints

viewpoint.bcfv

VisualizationInfo

Component

OrthogonalCamera

PerspectiveCamera

Line

ClippingPlane

Bitmaps

snapshot.png Snapshot

In addition to the generic FME feature attributes that FME Workbench adds to all features (see About Feature Type Attributes), this format adds the format-specific attributes described in this topic.

Attribute

Description

xml_topic_guid

Except for the Version and ProjectExtension, this attribute should be present in all of the BCF feature types. The attribute represents the topic GUID. In the BCF zip archive, it is the name of the topic directory.

xml_viewpoint_id

This attribute should be present in viewpoints and snapshot features types. A topic may have one or more viewpoints. The first, default, viewpoint in a topic is composed of a viewpoint.bcfv and a snapshot.png file. Any of the following values will route the the viewpoint and snapshot features to their default files:

  • Empty string
  • “viewpoint” or “viewpoint.bcfv”
  • “snapshot” or “snapshot.png”

Subsequent viewpoints and snapshot files must be identified by a unique GUID. The GUID determines the viewpoint and snapshot file names in the topic.

For example, if the xml_viewpoint_id for the viewpoint features and the Snapshot feature has the GUID value A7693B7D-CFA3-4355-8E0E-5B618F497C4E, then either, the features where read from, or will be written to the following viewpoint and snapshot files:

A7693B7D-CFA3-4355-8E0E-5B618F497C4E.bcfv

A7693B7D-CFA3-4355-8E0E-5B618F497C4E.png

Geometry

The geometry features produced by the BCF reader can be identified by the xml_type attribute. The valid values for this attribute are:

xml_type

Description

xml_no_geom

FME Feature with no geometry

xml_raster

PNG snapshot feature

No Geometry

xml_type: xml_no_geom

Every BCF feature type except for the Snapshot feature will have its xml_type set to xml_no_geom.

Raster

xml_type: xml_raster

These are the BCF Snapshot features.