如何获得“城市"的纬度和经度?从ASP.NET中的IP地址 [英] How to get latitude and longitude of "city" from IP address in ASP.NET

查看:93
本文介绍了如何获得“城市"的纬度和经度?从ASP.NET中的IP地址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,
我正在开发一个Web应用程序,其中我想按IP地址使用访问者的纬度和经度.

我已经搜索了很多次,但仍然没有成功.

有谁知道网站名称,该网站名称可以为城市数据库提供纬度和经度...还是任何Web服务(API)提供程序...?

&我也想学习如何在我的Web应用程序中使用该Web服务..

(其中一些提供XML文件的输出,然后如何访问该数据?)

--thanx adv.
(尽快回复)

Hello,
I am developing a web application, in which i want to use latitude & longitude of visitors by IP address.

I''ve searched many times but still I''m not success.

do any one knows the website name, which can provide city database with latitude & longitude... or any web service (API) provider...?

& i also want to learn how to use that webservice in my web application..

(some of them provides out-put in XML file, then how to access that data?)

--thanx in adv.
(reply asap)

推荐答案




使用这个

[ ^ ]


您必须传递ip地址,然后您才能获得xml作为返回值..
Hi,


Use this

This[^]


you have to pass ip address and you will get a xml as return..


这篇关于如何获得“城市"的纬度和经度?从ASP.NET中的IP地址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆