Autodesk 15606-011408-9300 Developer Guide - Page 171
SDF Component Toolkit Applications, Updating SDF Files—an ASP Example, Updating SDF Files
UPC - 606121429548
View all Autodesk 15606-011408-9300 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 171 highlights
SDF Component Toolkit Applications This section presents example applications using the SDF Component Toolkit: one Active Server Page (ASP) example and threeVisual Basic (VB) examples. The SDF Component Toolkit is a set of COM objects for reading and writing Spatial Data Files (SDFs), as well as their supporting Spatial Index Files (SIFs) and Key Index Files (KIFs). The spatial data displayed in Autodesk MapGuide maps (map features such as roads, countries, buildings, and so on) is contained in SDFs. SDF data is indexed in SIFs and KIFs. You can access SDF Component Toolkit objects in development environments such as C++, Visual Basic, VBA, VBScript, Java, JScript, ASP, CGI, and ColdFusion. For more information about the SDF Component Toolkit, refer to the SDF Component Toolkit Help, a help file (SDFCOMTK.HLP) located in the \Help directory in your SDF Component Toolkit directory. Updating SDF Files-an ASP Example You can use the SDF Component Toolkit to create server-side applications that read and modify existing SDF files. These applications can interact with client-side scripts, allowing for dynamic updates based on user input. For example, you could create an application that lets users add polygon lot lines or points of interest to a map from their browser. You can use the SDF Component Toolkit to add points, polylines, or polygons to an SDF file when the user clicks the map. Note that Autodesk MapGuide contains a similar functionality called redlining. This means that users can add features to the map without using the SDF Component Toolkit (see "Custom Redlining Application" on page 136). However, the difference between the redlining functionality and the example in this section is that redlining changes are saved to the MWF on the user's computer, whereas the example in this section updates the data source for the map. With redlining, only the user sees the changes unless that MWF is then posted to the server. With the following SDF example, any map that uses the SDF file as its data source will display the new points. SDF Component Toolkit Applications | 171