Autodesk 15606-011408-9320 User Guide - Page 39

Reports, User-Updatable Map Resources

Page 39 highlights

Reports You can design customized reports for your map. A report is an HTML page generated by a script you create using a third-party tool like ColdFusion by Allaire Corporation or Microsoft Active Server Pages (ASP). Report scripts combine database queries and HTML tags to dynamically generate pages on the server. These pages are then sent to the browser as standard HTML. Because the design of the HTML page is specified as part of the report script, the author of the report controls the way the page displays in the browser. In an Autodesk MapGuide Application, the report typically provides information about the selected map features or about a point the user specifies, depending on the settings the map author specified in the MWF. In some cases, database resources might be queried directly, bypassing the MWF completely. When a user views the report, Autodesk MapGuide Server sends the feature or point information to the report script, which extracts the appropriate content from a database and then displays an HTML page with the results in your web browser. Examples of reports might be demographic data for the specified layers or the latitude/longitude coordinate of the specified point. For more extensive information about reports, refer to the Autodesk MapGuide Developer's Guide. User-Updatable Map Resources You can create server applications that give users the ability to update map resources from their browsers. These resources can be database map layers, attribute data associated with a feature, or even the SDFs themselves. Updating a database from the browser uses the same mechanisms as reports use. For example, you could create a "crime watch" application. The application would include an HTML form where users could add map points representing crime incidents, as well as attribute data describing details of the incidents. Subsequent users could use the form to add their own comments to the database. In another example, you could create a redlining tool for surveyors. Using this tool, workers in the field could add polylines representing lot lines to the SDF files so that the changes would be visible to anyone else viewing the map. For more information, refer to the Autodesk MapGuide Developer's Guide. Application Development Components | 39

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190

Application Development Components
|
39
Reports
You can design customized
reports
for your map. A report is an HTML page
generated by a script you create using a third-party tool like ColdFusion by
Allaire Corporation or Microsoft Active Server Pages (ASP). Report scripts
combine database queries and HTML tags to dynamically generate pages on
the server. These pages are then sent to the browser as standard HTML.
Because the design of the HTML page is specified as part of the report script,
the author of the report controls the way the page displays in the browser.
In an Autodesk MapGuide Application, the report typically provides infor-
mation about the selected map features or about a point the user specifies,
depending on the settings the map author specified in the MWF. In some
cases, database resources might be queried directly, bypassing the MWF
completely. When a user views the report, Autodesk MapGuide Server sends
the feature or point information to the report script, which extracts the
appropriate content from a database and then displays an HTML page with
the results in your web browser. Examples of reports might be demographic
data for the specified layers or the latitude/longitude coordinate of the spec-
ified point. For more extensive information about reports, refer to the
Autodesk MapGuide Developer
s Guide
.
User-Updatable Map Resources
You can create server applications that give users the ability to update map
resources from their browsers. These resources can be database map layers,
attribute data associated with a feature, or even the SDFs themselves.
Updating a database from the browser uses the same mechanisms as reports
use.
For example, you could create a
crime watch
application. The application
would include an HTML form where users could add map points repre-
senting crime incidents, as well as attribute data describing details of the inci-
dents. Subsequent users could use the form to add their own comments to
the database. In another example, you could create a redlining tool for
surveyors. Using this tool, workers in the field could add polylines repre-
senting lot lines to the SDF files so that the changes would be visible to
anyone else viewing the map. For more information, refer to the
Autodesk
MapGuide Developer
s Guide
.