我是一名学生..现在正在尝试开发android代码..该代码可以向用户当前位置显示附近的医院位置..
我知道如何获取 kml 文件..并且知道我需要解析该文件..以获取不同的地标属性值..
但没能成功..
因此,如果我的任何朋友有关于如何解析 kml 文件以获取多个地标值的小指南、教程、代码、示例。请告诉我。
谢谢。
I am a Student..and right now trying to develop code for android..that shows nearby hospital locations to user's current location..
i know how to get kml file for that..and know that i need to parse that file..to get different Placemark attribute value..
but couldn't succeed ..
so if any of my friends have small guide,tutorial,code,example regarding how to parse the kml file for fetching value of multiple placemark..please please let me know..
Thank You.
发布评论
评论(1)
对 url 发起 html 查询,如下所示:
记下这些
,
您将收到一个kml。接下来您将需要一个 sax 解析器。这段代码足够棒了。仅将其用作参考。
fire a html query for a url like this :
note these
and
You will receive a kml. Next you will need a sax parser. This code is sufficiently awesome. Use it only as a reference.