![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/a/fa/afa7aa86-450e-445e-9133-167b3dab882f/afa7aa86-450e-445e-9133-167b3dab882f-bg40.png)
58 | Chapter 4 Enhanced Layer Functionality
6 To make the added SQL statement a pre-spatial query statement that will
run before the spatial query is executed, select the statement, and click the
Up button to reposition the statement above the spatial query.
7 Optionally, continue to add statements, selecting them individually and
clicking the Up or Down button to position a statement above or below
the spatial query as desired.
Note Only one spatial query statement — either the default or customized — is
allowed per layer. Also, regardless of their position, the results of pre- and post-
query SQL statements are ignored by the Autodesk MapGuide Server and are not
used during its internal processing of the spatial query.
Tracking Enhanced Layer Features
The ITEM trace log parameter now has additional information that you can
use to track the enhanced layer features, including geometry functions,
custom spatial queries, filter adjustments, and both pre- or post- SQL state-
ments.
Database access trace log parameters are available in this version of Autodesk
MapGuide, as they were in the previous version. For more information about
these parameters, see the Autodesk MapGuide Help topic, “Customizing the
Access Log.” Click the Help Contents tab to find this topic, or search for
“Customizing” in the index.