【发布时间】:2010-09-20 15:38:09
【问题描述】:
有人知道我如何解析具有多个地址的 csv 或 xml 文档,以获取它们的纬度和经度吗? 我在谈论 300 多个地址.. 提前非常感谢:)
【问题讨论】:
标签: xml google-maps csv geolocation geocoding
有人知道我如何解析具有多个地址的 csv 或 xml 文档,以获取它们的纬度和经度吗? 我在谈论 300 多个地址.. 提前非常感谢:)
【问题讨论】:
标签: xml google-maps csv geolocation geocoding
我建议使用大型映射 API 之一
来自解析文档的代码。
伪代码:
foreach(node in xmlfile)
{
//send the parsed address, city, state and postal code to the mapping api. Use returned data to set Lat/Long
}
【讨论】: