Paths

SpatialWare also holds geometric features called paths.

A path is a compound spatial object containing one or more of the following: spatialware_line, spatialware_arc, spatialware_ellipse, or spatialware_curve. Paths that are contiguous will be stroked and output as a single line. If a path is not contiguous, all components of paths that are read from SpatialWare are output in separate features. Each feature that was a component of a path will have the following special attributes on them, assisting in aggregating or re-combining the Spatial in the mapping file if necessary.

Attribute Name

Contents

spatialware_path_id

An integer ID given to all members of the same path. All members of different paths will have different IDs; all members within the same path will share this ID.

spatialware_path_order_id

This integer ID specifies what place in the path order the feature occupied. This value will be zero for the first feature in a path.

spatialware_path_centroid_x

The entire path’s centroid X location.

spatialware_path_centroid_y

The entire path’s centroid Y location.

spatialware_path_centroid_z

The entire path’s centroid Z location.

spatialware_path_is_closed

YES if the path is closed. NO if otherwise.