OGC 07-147r2
84
Copyright © 2007, 2008 Open Geospatial Consortium, Inc. All Rights Reserved.
10.7.3.4 kml:coordinates
10.7.3.4.1 Description
Two or more coordinate tuples.
10.7.3.4.2 Content
Type: kml:coordinatesType
Default Value: none
10.7.3.5 kml:LineStringSimpleExtensionGroup
See 6.6.3.1 Simple Element Substitution.
10.7.3.6 kml:LineStringObjectExtensionGroup
See 6.6.3.2 Complex Element Substitution.
OGC 07-147r2
Copyright © 2007, 2008 Open Geospatial Consortium, Inc. All Rights Reserved.
85
10.7.4 Example
kml xmlns=http:www.opengis.netkml2.2 Document
nameLineString.kmlname open1open
LookAt longitude-122.36415longitude
latitude37.824553latitude altitude0altitude
range150range tilt50tilt
heading0heading LookAt
Placemark nameunextrudedname
LineString extrude0extrude
tessellate1tessellate coordinates
-122.364383,37.824664,0 -122.364152,37.824322,0 coordinates
LineString Placemark
Placemark nameextrudedname
LineString
extrude1extrude tessellate1tessellate
altitudeModerelativeToGroundaltitudeMode coordinates
-122.364167,37.824787,50 -122.363917,37.824423,50 coordinates
LineString
Placemark Document
kml
10.8 kml:Polygon
10.8.1 Structure
kml:Polygon id=ID [0..1]
targetId=NCName [0..1] kml:ObjectSimpleExtensionGroup ... kml:ObjectSimpleExtensionGroup [0..]
kml:AbstractGeometrySimpleExtensionGroup ... kml:AbstractGeometrySimpleExtensionGroup [0..]
kml:AbstractGeometryObjectExtensionGroup ... kml:AbstractGeometryObjectExtensionGroup [0..]
kml:extrude ... kml:extrude [0..1] kml:tessellate ... kml:tessellate [0..1]
kml:altitudeModeGroup ... kml:altitudeModeGroup [0..1] kml:outerBoundaryIs ... kml:outerBoundaryIs [0..1]
kml:innerBoundaryIs ... kml:innerBoundaryIs [0..] kml:PolygonSimpleExtensionGroup ... kml:PolygonSimpleExtensionGroup [0..]
kml:PolygonObjectExtensionGroup ... kml:PolygonObjectExtensionGroup [0..]
OGC 07-147r2
86
Copyright © 2007, 2008 Open Geospatial Consortium, Inc. All Rights Reserved.
kml:Polygon
10.8.2 Description
This element can be used wherever the following element is referenced:
• kml:AbstractGeometryGroup
A
kml:Polygon
shall have an outer boundary ring outside of an update context, that is when not a descendant of
kml:Update
. It may have 0 or more inner boundary rings. Each ring is defined by a
kml:LinearRing
. It is advised that the rings not cross each other.
10.8.3 Content
10.8.3.1 kml:extrude
10.8.3.1.1 Description
Specifies whether to connect the
kml:Polygon
to the ground when displayed in the geographic view.
When a
kml:Polygon
is extruded, each boundary point is extended to the terrain toward the earths center of mass, which gives the appearance of a building or a box.
Only the
kml:Polygon
boundary is extruded, not the
kml:Polygon
interior for example, a rectangle turns into a box with five faces.
See 10.4 kml:extrude.
10.8.3.2 kml:tessellate
See 10.6 kml:tessellate.
10.8.3.3 kml:altitudeModeGroup
See 9.16 kml:altitudeModeGroup and 9.17 kml:altitudeMode.
10.8.3.4 kml:outerBoundaryIs
Specifies the exterior boundary of the
kml:Polygon
defined by a
kml:LinearRing
element. See 10.5 kml:LinearRing.