OGC 07-147r2
Copyright © 2007, 2008 Open Geospatial Consortium, Inc. All Rights Reserved.
107
11.2.3 Content
11.2.3.1 kml:altitude
11.2.3.1.1 Description
Specifies the distance above the terrain in meters. It shall be interpreted according to
kml:altitudeMode
. Only
kml:altitudeMode
clampToGround or absolute values shall be
encoded for
kml:GroundOverlay
. A
kml:GroundOverlay
element shall contain the
kml:Icon
and
kml:LatLonBox
child elements outside of an update context, that is when not a descendant of
kml:Update
.
11.2.3.1.2 Content
Type: xsd:double Default Value:
0.0
11.2.3.2 kml:altitudeModeGroup
See 9.16 kml:altitudeModeGroup and 9.17 kml:altitudeMode.
11.2.3.3 kml:LatLonBox
Specifies a bounding box for the overlay. See 11.3 kml:LatLonBox.
11.2.3.4 kml:GroundOverlaySimpleExtensionGroup
See 6.6.3.1 Simple Element Substitution.
11.2.3.5 kml:GroundOverlayObjectExtensionGroup
See 6.6.3.2 Complex Element Substitution.
OGC 07-147r2
108
Copyright © 2007, 2008 Open Geospatial Consortium, Inc. All Rights Reserved.
11.2.4 Example
?xml version=1.0 encoding=UTF-8? kml xmlns=http:www.opengis.netkml2.2
GroundOverlay nameGroundOverlay.kmlname
color7fffffffcolor drawOrder1drawOrder
Icon hrefhttp:www.google.comintlenimageslogo.gifhref
refreshModeonIntervalrefreshMode refreshInterval86400refreshInterval
viewBoundScale0.75viewBoundScale Icon
LatLonBox north37.83234north
south37.832122south east-122.373033east
west-122.373724west rotation45rotation
LatLonBox GroundOverlay
kml
11.3 kml:LatLonBox
11.3.1 Structure
kml:LatLonBox id=ID [0..1]
targetId=NCName [0..1] kml:ObjectSimpleExtensionGroup ... kml:ObjectSimpleExtensionGroup [0..]
kml:north ... kml:north [0..1] kml:south ... kml:south [0..1]
kml:east ... kml:east [0..1] kml:west ... kml:west [0..1]
kml:AbstractLatLonBoxSimpleExtensionGroup ... kml:AbstractLatLonBoxSimpleExtensionGroup [0..]
kml:AbstractLatLonBoxObjectExtensionGroup ... kml:AbstractLatLonBoxObjectExtensionGroup [0..]
kml:rotation ... kml:rotation [0..1] kml:LatLonBoxSimpleExtensionGroup ... kml:LatLonBoxSimpleExtensionGroup
[0..] kml:LatLonBoxObjectExtensionGroup ... kml:LatLonBoxObjectExtensionGroup
[0..] kml:LatLonBox
11.3.2 Description
This element can be used wherever the following element is referenced:
• kml:AbstractObjectGroup
OGC 07-147r2
Copyright © 2007, 2008 Open Geospatial Consortium, Inc. All Rights Reserved.
109 Specifies the extent of a 2D bounding box.
kml:north
,
kml:south
,
kml:east
, and
kml:west
shall be specified.
11.3.3 Content
11.3.3.1 kml:rotation
11.3.3.1.1 Description
Specifies a rotation of the overlay about its center, in decimal degrees. Values can be ±180, with 0 being North. Rotations are specified in a counterclockwise direction.
11.3.3.1.2 Content
Type: kml:angle180Type
Default Value: 0.0
11.3.3.2 kml:LatLonBoxSimpleExtensionGroup
See 6.6.3.1 Simple Element Substitution.
11.3.3.3 kml:LatLonBoxObjectExtensionGroup
See 6.6.3.2 Complex Element Substitution.