Groups
Groups
Sign in
Groups
Groups
谷歌地图 API 论坛
Conversations
About
Send feedback
Help
中文地址解析问题
20 views
Skip to first unread message
针还 宋
unread,
Nov 12, 2009, 1:51:32 AM
11/12/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to 谷歌地图 API 论坛
您好!
之前用JAVA写过HTTP方式解析中文地址的代码,过一段时间后不知道是代码改动的问题还是记错了,原本是可以直接进行中文地址解析的,可现
在怎么也不行。
比如下面链接,在地址栏输入后只返回602错误,但把中文改成拼音就行。
http://ditu.google.cn/maps/geo?q=广州市广州东站&output=csv&key=abcdefg
不知道问题出在哪里?还请高人指教一下。
xiaoxi
unread,
Nov 13, 2009, 1:54:43 AM
11/13/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to 谷歌地图 API 论坛
刚试了一下,没有问题啊。
结果 : 200,4,23.1496235,113.3248866
地图南
unread,
Nov 22, 2009, 10:36:07 PM
11/22/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to 谷歌地图 API 论坛
我也是返回602,不知楼上是怎么弄的。
李白,字一日
unread,
Nov 23, 2009, 4:43:19 AM
11/23/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to 谷歌地图 API 论坛
http://ditu.google.cn/maps/geo?q=%E5%B9%BF%E5%B7%9E%E5%B8%82%E5%B9%BF%E5%B7%9E%E4%B8%9C%E7%AB%99&output=csv&key=abcdefg
按这个格式来查看就可以了.
文字的编码需要是UTF-8,
然后通过URLEncode来编码.
返回的串作为q的查询值向google请求就可以了.
cynthia wang
unread,
Nov 23, 2009, 5:13:44 AM
11/23/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to 谷歌地图 API 论坛
我也遇到过这个问题,貌似上次就是你帮我回答的。
Reply all
Reply to author
Forward
0 new messages