The Kml Handbook: Geographic Visualization for the Web 0321525590, 9780321525598

"The way the information is presented appeals to teachers, hobbyists, web designers--anyone looking for a way to en

261 77 12MB

English Pages 339 [366] Year 2008;2009

Report DMCA / Copyright

DOWNLOAD PDF FILE

Table of contents :
Contents......Page 8
Foreword......Page 14
Preface......Page 16
Chapter 1 A Quick Tour......Page 22
KML: An International Standard......Page 23
Is the KML Specification Complete?......Page 24
Tell Your Story with KML......Page 25
Sky in KML......Page 29
“Hello, Earth”......Page 30
Viewing the Examples in This Book......Page 31
Structure of a KML File......Page 32
What’s Next?......Page 34
Chapter 2 Placemarks and Balloons......Page 36
X Marks the Spot......Page 37
Customizing Your KML Presentation......Page 38
Default Balloon......Page 39
Adding Text......Page 40
Example......Page 42
Simple Balloon Template......Page 43
Changing the Background Color......Page 45
Omitting Driving Directions......Page 49
Adding a Custom Icon......Page 50
Advanced Balloon Template......Page 51
Specifying a Viewpoint......Page 52
LookAt Element......Page 53
Troubleshooting......Page 55
Flying to a Placemark in Google Earth......Page 56
Feature Anchors......Page 59
Syntax for ......Page 60
Packaging Up KML Files into KMZ Archives......Page 61
Recommended File Structure......Page 62
Examples......Page 63
What’s Next?......Page 64
Chapter 3 Geometry......Page 66
Coordinates: A Closer Look......Page 67
Longitude......Page 68
Line Strings......Page 69
Tessellating a Line String......Page 71
Extruding a Line String......Page 72
Google Maps......Page 74
LineStyle......Page 75
Polygons......Page 76
Simple Polygon......Page 77
PolyStyle......Page 79
Polygons with Holes......Page 80
MultiGeometry......Page 83
Models......Page 85
Orientation......Page 87
Resource Map......Page 89
What’s Next?......Page 91
Chapter 4 Styles and Icons......Page 92
Travels through Literature......Page 93
Building Blocks for Styles......Page 94
Element Tree for Styles......Page 95
LineStyle......Page 96
PolyStyle......Page 98
IconStyle......Page 100
LabelStyle......Page 106
BalloonStyle......Page 108
ListStyle......Page 112
Documents......Page 117
How to Specify a Style URL......Page 118
Overriding Style Values......Page 119
Style Maps for Rollover Behavior......Page 121
The Power of the Point......Page 122
Simple Example......Page 123
Advanced Example: Additional Ways to Use a Style Map......Page 125
What’s Next?......Page 128
Chapter 5 Overlays......Page 130
What Is an Overlay?......Page 131
Tools for Creating Overlays......Page 133
Basic Concepts......Page 134
Syntax for ......Page 135
Color and Transparency for Overlays......Page 136
Another Way to Specify the Viewpoint: Camera......Page 137
Syntax for ......Page 138
Initial Position of the Camera......Page 139
Syntax for ......Page 144
LatLonBox......Page 145
Altitude and Altitude Mode......Page 146
Example of a GroundOverlay......Page 147
Screen Overlay......Page 149
Specifying X/Y Units for Image Overlays and Icons......Page 150
Example of a Simple Screen Overlay......Page 152
Example of a Screen Overlay with ......Page 153
Syntax for ......Page 154
Basics: Shape and Point......Page 155
Field of View......Page 156
Advanced: Image Pyramids for Gigapixel Images......Page 158
Example of a PhotoOverlay......Page 163
What’s Next?......Page 164
Chapter 6 Network Links......Page 166
Chapter Overview......Page 167
What Is a Network Link?......Page 168
Network Links: Local and Remote......Page 169
Client/Server Basics......Page 170
Setting Up a Server......Page 172
Absolute versus Relative File References......Page 173
Syntax for ......Page 174
Simple Network Link Example......Page 178
Refresh Based on the User’s View......Page 180
Advanced Example: Puff Volcanic Ash Tracking Model......Page 181
Sending Information from Client-Side to Server-Side......Page 185
Sending Information about the Current View......Page 186
Sending Additional Data to the Server with ......Page 187
Example of View-Based Refresh......Page 188
Network Link Controls......Page 192
Syntax for ......Page 193
Example of Server Overrides......Page 195
What’s Next?......Page 197
Chapter 7 Dynamic KML......Page 198
Identifiers......Page 199
Fragment URIs......Page 200
Updating KML......Page 201
General Outline of the Update Mechanism......Page 202
Syntax for Child of ......Page 203
Creating an Element Using ......Page 204
Changing an Element Using ......Page 207
Deleting an Element Using ......Page 209
Advanced Update Example with Script......Page 211
Specifying the Time......Page 216
UTC (Coordinated Universal Time)......Page 219
Syntax for ......Page 220
Time Stamps and GPS Data......Page 221
Example of Time Stamp with GPS Data......Page 222
Example of Time Stamp with Animated Placemark Data......Page 225
Time Spans and Ground Overlays......Page 229
Example of Time Span with Ground Overlay......Page 230
What’s Next?......Page 232
Chapter 8 Dealing with Large Data Sets......Page 234
Chapter Overview......Page 235
Key Concepts......Page 236
Bounding Box for Regions......Page 237
Level of Detail (LOD) Range......Page 238
Fade Range......Page 241
Detailed Description of the Element......Page 242
Super-Overlays......Page 243
Syntax for ......Page 244
Example of GroundOverlay with Region......Page 246
Region for a 3D Model......Page 248
Region for a 2D Overlay at Altitude......Page 250
Case Study: Simplifying a Data Set......Page 251
Super-Overlays......Page 256
Simple Example of a Region-Based NetworkLink......Page 257
Preparing Your Data for a Super-Overlay......Page 259
Swiss Transit Example......Page 265
Extended Data......Page 266
Which Approach Should You Use?......Page 267
Adding Untyped Name/Value Pairs......Page 268
Entity Replacement for Extended Data Elements......Page 271
Adding Typed Data to a Feature......Page 273
Example Using Entity Replacement......Page 278
What’s Next?......Page 280
Appendix A: KML Reference......Page 282
Appendix B: Sky Data in KML......Page 342
B......Page 352
D......Page 353
H......Page 354
L......Page 355
N......Page 356
R......Page 357
S......Page 358
V......Page 359
Z......Page 360

The Kml Handbook: Geographic Visualization for the Web
 0321525590, 9780321525598

  • 0 0 0
  • Like this paper and download? You can publish your own PDF file online for free in a few minutes! Sign Up
File loading please wait...
Recommend Papers