Writing Single Geometry features to Smallworld v4
From fmepedia
| This page contains an example FME Workspace created by an fmepedia user. See the attached files list at the foot of this page for the zip file containing this workspace. |
From: Safe Software training materials
Workspace
The attached workspace takes data from an AutoCAD dataset (railways.dwg) and adds it to the Cambridge database in Smallworld.
Screenshot
Points to Note
1) A user attribute "centre_line" has been defined in the destination feature type. This attribute matches the geometry name in Smallworld. The type of the attribute (as defined in FME) is sworld_chain, which signifies the geometry type - in this case a Smallworld chain feature.
2) The format list attribute sword_geometry{}.sworld_name has been exposed, and a single element in the list exposed, sword_geometry{0}.sworld_name - This attribute defines the Smallworld geometry name...
3) See how the Smallworld geometry name is set to "centre_line" - which is the name of the Smallworld geometry.
