添加 KML 重叠
KML 文件包含可添加到 IBM® Intelligent Operations Center 图上的功能部件的层和集合。如果您有 XML 格式的数据,那么无需要求数据源,可以使用 KML 模式将功能部件添加到地图。您可以将 KML 重叠添加到基本地图。
开始之前
- 位置标记
- 线和路径
- 多边形
- 多个几何形状
- 样式
- 地面重叠
- 屏幕重叠
- 网络链接
关于此任务
过程
结果
下一步做什么
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns=" http://www.opengis.net/kml/2.2 ">
<Document>
<name>Round Rock Sample</name>
<Style id="polygon">
<LineStyle>
<color>50F04614</color>
<width>4</width>
</LineStyle>
</Style>
<Placemark>
<name>Round Rock Sample Polygon</name>
<visibility>1</visibility>
<styleUrl>#polygon</styleUrl>
<MultiGeometry>
<Polygon>
<outerBoundaryIs>
<LinearRing>
<coordinates>
-97.6866313, 30.5165826, 0
-97.6827689, 30.5036419, 0
-97.6549598, 30.5118503, 0
-97.6561614, 30.5153996, 0
-97.6556464, 30.5174699, 0
-97.6599380, 30.5168785, 0
-97.6770183, 30.5186529, 0
-97.6866313, 30.5165826, 0
</coordinates>
</LinearRing>
</outerBoundaryIs>
</Polygon>
<Polygon>
<outerBoundaryIs>
<LinearRing>
<coordinates>
-97.6772756, 30.4927705, 0
-97.6772756, 30.4927705, 0
-97.6731558, 30.4812321, 0
-97.6395960, 30.4886287, 0
-97.6422567, 30.4960247, 0
-97.6605387, 30.4960986, 0
-97.6674051, 30.4957288, 0
-97.6772756, 30.4927705, 0
</coordinates>
</LinearRing>
</outerBoundaryIs>
</Polygon>
<MultiGeometry>
</Placemark>
</Document>
</kml>
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2">
<Placemark>
<name>Round Rock Sample Stadium</name>
<description>
Round Rock Sample
</description>
<Point>
<coordinates>-97.695392, 30.507252,0</coordinates>
</Point>
</Placemark>
</kml>