1
我从我的SQL查询(名称,描述,纬度,经度)中获取我的信息,但我有问题将其转换为GeoRSS的正确格式,以便它可以被我的虚拟地球地图。 FOR XML AUTO并没有给我想要的东西,我似乎也找不到任何如何将SQL查询的输出提取到GeoRSS的例子。将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>