Autodesk MapGuide SDL Feature Representation

In addition to the generic FME feature attributes that FME Workbench adds to all features (see About Feature Attributes), special FME feature attributes direct the SDL writer as it renders the feature into the image.

The most important of these is the sdl_type attribute, which controls the overall interpretation of the feature.

The correct values for sdl_type are sdl_line, sdl_point, and sdl_polygon.

The attributes common to each are listed in the following table:

Attribute Name

Contents

sdl_url

Specifies a URL for the line, polygon or point.

Required: No

Default: Empty string

sdl_name

Specifies an internal name for the line, polygon or point.

Required: No

Defaults:

  • Point features: Marker
  • Line features: Line
  • Polygon features: Empty string

sdl_id

Specifies an ID for the line, polygon or point.

Required: No

Defaults:

  • Point features: 0000
  • Line features: 0000
  • Polygon features: Empty string

The parameters specified for each of these values are described below.

Lines

sdl_type: sdl_line

The SDL writer outputs a line object containing the points as specified in the input file. Also, the SDL writer outputs a URL, a name, and an ID number associated with the line object as attributes.

Points

sdl_type: sdl_point

The SDL writer will output a point object containing the points as specified in the input file. Also, the SDL writer will output a URL, a name, and an ID number associated with the point object as attributes.

Polygons

sdl_type: sdl_polygon

The SDL writer outputs a polygon object containing the points as specified in the input file. Also, the SDL writer outputs a URL, a name, and an ID number associated with the polygon object as attributes.