A SERVICE OF

logo

Creating a Layer from a Theme | 13
In the illustration on the previous page, the drawing file
PROJECT_THEME.DWG has the WAT ER_DATA.DWG drawing attached to it.
The PROJECT_THEME.DWG drawing file is also linked to a database that
contains information about the pipes that make up the city’s water system.
A theme has been created to show the different pipe diameters. When the
theme is executed, it reads the data from the database and redraws the thick-
ness of the polylines in the drawing according to the diameter of the pipes.
The theme also has a legend, which was placed manually in the drawing after
the theme was created.
Creating a Layer from a Theme
Follow these steps to create a new layer from a theme in Autodesk MapGuide.
To create a new layer from a theme
1 In Autodesk MapGuide Author, right-click Map Layers and then click
New Layer
Autodesk DWG.
2 On the General tab, enter a name for the new layer.
3 Click the Data Sources tab, and make sure that the map server agent path
is pointing to the correct location.
4 Click the Data Source Browse button, and select a DWG data source.
5 Click the Autodesk DWG Browse button, and select a DWG file.
6 Optionally, select a key table and key column if you want to associate
table data with the geometry on this layer. For more information, see the
topic “About DWG Data Sources” in the Autodesk MapGuide Help.
7 For Filter Type, select Theme.
8 Click the Theme Name Browse button, and select a theme.