Spatial Units of Measure (SQL Anywhere)

Sybase SQL Anywhere (v12 and higher) supports spatial units of measure, which define the units in which geographic coordinates are measured, and how these units are converted to radians or meters. PowerDesigner models spatial units of measure as extended objects with a stereotype of <<SpatialUnitOf Measure>>.

Creating a Spatial Unit of Measure

You can create a spatial unit of measure in any of the following ways:

  • Select Model > Spatial Units of Measure to access the List of Spatial Units of Measure, and click the Add a Row tool.

  • Right-click the model (or a package) in the Browser, and select New > Spatial Unit of Measure.

Spatial Unit of Measure Properties

You can modify an object's properties from its property sheet. To open a spatial unit of measure property sheet, double-click its diagram symbol or its Browser entry in the Spatial Units of Measure folder.

The following extended attributes are available on the General tab:

Name

Description

Type

Specifies the kind of unit. Linear units are used for distances and angular units are used for angles.

Scripting name: Type

Conversion factor

Specifies how to convert the defined units to the base unit of measure (radians or meters).

Scripting name: ConversionFactor