【发布时间】:2009-11-18 17:49:57
【问题描述】:
我从我的 SQL 查询(名称、描述、纬度、经度)中获取我的信息,但我无法将其转换为 GeoRSS 的正确格式,以便我的虚拟地球地图可以使用它。 FOR XML AUTO 并没有给我我想要的东西,我似乎找不到任何关于如何将 SQL 查询的输出提取到 GeoRSS 的示例。
这是我正在寻找的 GeoRSS 格式的示例:
<channel>
<title>Reported Road Hazards</title>
<link/>
<description>Road hazards reported to the city</description>
<item>
<title>Traffic Light</title>
<description>Traffic light on north west corner out</description>
<geo:lat>43.64887</geo:lat>
<geo:long>-79.385362</geo:long>
</item>
</channel>
【问题讨论】:
标签: sql xml virtual-earth