开源地理位置LIB? [英] Open Source Geographic Location LIBs?

查看:110
本文介绍了开源地理位置LIB?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

IP2Location数据库有限:0.0.0.0到99.255.255.255,如果我正确读取
,则排除:


100.255.255.255到255.255.255.255


MindMax太棒了!但是,它只提供国家和城市查询。


这两个问题都是专有的二进制格式

(DAT),不包括任何人做出具体的改变,即更正。


任何人都知道任何开源地理位置LIB?


如何详细说明:


*国家代码

*国家代码(3)(如美国而非美国,或GBR而非GB)

*国家

*地区

*(州)名称

*城市

*邮政编码

*纬度

*经度

* dma代码

*区号


注意关于*条目。我已经为标有星号的每个

项目提供了重要信息(显然是在公共领域

知识,IP2Location和MindMax之间积累的)。


所以,如果有人需要这些作为起点...


否则,一般情况下,任何人都可以向我指出* any *
$ b的详细来源$ b以上信息?


-

-失去

删除多余的单词以通过电子邮件回复。不要给我发电子邮件。我是开玩笑的。不,我不是。

IP2Location has limited databases: 0.0.0.0 to 99.255.255.255, which if I
read correctly excludes:

100.255.255.255 through 255.255.255.255

MindMax is awesome! However, it only offers Country and City lookups.

The problem with both of these however is a proprietary binary format
(DAT), which excludes anyone from making specific changes, i.e. corrections.

Anyone know of any open-source geo-location LIBs?

How about any detailed:

*country codes
*country codes (3) (as in USA instead of US, or GBR instead of GB)
*country
*region
*(state) name
*city
*postal code
*latitude
*longitude
*dma code
*area code

Note about * entries. I have significant information already for each
item marked with an asterick (obviously amassed between public domain
knowledge, IP2Location, and MindMax).

So if anyone needed those as a starting point...

Otherwise, in general, can anyone point me to detailed sources of *any*
of the above information?

--
-Lost
Remove the extra words to reply by e-mail. Don''t e-mail me. I am
kidding. No I am not.

推荐答案

-Lost写道:
-Lost wrote:

MindMax太棒了!但是,它仅提供国家和城市查找。
MindMax is awesome! However, it only offers Country and City lookups.



任何更具体的内容都会非常容易出错。事实是,IP

地址经常被重新分配;或者一个组织将保留一块IP地址,但在地理位置上移动。这是奇迹般的

,MaxMind设法让他们的数据库保持最新状态,因为他们需要b



这些信息没有任何体面的开放数据库。我想,这是因为MaxMind的免费产品质量足以让人们免费投入大量的工作。

需要开发一个免费提供的竞争对手。


-

Toby A Inkster BSc(荣誉)ARCS

[极客HTML / SQL / Perl / PHP / Python / Apache / Linux]

[操作系统:Linux 2.6.12-12mdksmp,最多102天,20:23。]
<在demiblog中的
网址
http://tobyinkster.co.uk/blog/2007/05/31/demiblog-urls/


6月6日,9: 24点,-Lost< maventheextrawo ... @ techie.comwrote:
On Jun 6, 9:24 am, -Lost <maventheextrawo...@techie.comwrote:

IP2Location数据库有限:0.0.0.0到99.255.255.255,如果我是/>
正确阅读不包括:


100.255.255.255到255.255.255.255


MindMax太棒了!但是,它只提供国家和城市查询。


这两个问题都是专有的二进制格式

(DAT),不包括任何人进行具体更改,即更正。


任何人都知道任何开源地理位置LIB?


如何详细说明:
IP2Location has limited databases: 0.0.0.0 to 99.255.255.255, which if I
read correctly excludes:

100.255.255.255 through 255.255.255.255

MindMax is awesome! However, it only offers Country and City lookups.

The problem with both of these however is a proprietary binary format
(DAT), which excludes anyone from making specific changes, i.e. corrections.

Anyone know of any open-source geo-location LIBs?

How about any detailed:



< snip>


通过whois轻松找到国家; AFAIK,这是所有IP DB所做的
。但是,为了找到确切的城市,商业数据库

似乎雇用人来过滤数据。还有City to

经度/纬度免费DB'可用;所以获得这些信息相对容易

。 FWIW:

1.获取IP到国家信息的步骤

< news:ab ****************** ********@posting.google。 com>

< http://groups.google.com/group/comp.lang.php/msg/992732449830364d>

2. whois in php

< news:cc ******** @ odah37.prod.google.com>

< http://groups.google.com/group/comp .lang.php / msg / cfcace0ece554ed6>


-

<?php echo''只是另一个PHP圣徒''; ?>

电子邮件:rrjanbiah-at-Y!com博客: http ://rajeshanbiah.blogspot.com/

<snip>

Finding out the country from is easy with whois; AFAIK, this is
what all the IP DBs do. But, to findout the exact city, commercial DBs
seem to employ people to filter the data. There are also City to
longitude/latitude free DB''s available; so it would be relatively easy
to get that info. FWIW:
1. Steps to get IP to country info
<news:ab**************************@posting.google. com>
<http://groups.google.com/group/comp.lang.php/msg/992732449830364d>
2. whois in php
<news:cc********@odah37.prod.google.com>
<http://groups.google.com/group/comp.lang.php/msg/cfcace0ece554ed6>

--
<?php echo ''Just another PHP saint''; ?>
Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/


Toby A Inkster写道:
Toby A Inkster wrote:

-Lost写道:
-Lost wrote:

> MindMax太棒了!但是,它仅提供国家和城市查找。
>MindMax is awesome! However, it only offers Country and City lookups.



任何更具体的内容都会非常容易出错。事实是,IP

地址经常被重新分配;或者一个组织将保留一块IP地址,但在地理位置上移动。 MaxMind设法将他们的数据库保持为最新状态,这是奇迹般的。



Anything more specific would be very error-prone. The fact is, IP
addresses are often being re-assigned; or an organisation will keep
a block of IP addresses, but move geographically. It''s miraculous
that MaxMind manages to keep their databases as up-to-date as they
do.



嗯,我确信当我们谈论纬度,经济学,美元,经济学家,等等时,它会发挥作用。仅与国家打交道的后果很少。我不确定这个城市,可能会落入你提到的

陷阱。


这些项目是否具体为什么你说更具体的东西呢? $>
容易出错?


或者还有其他原因吗?我很好奇。


其实。在您看来,除了国家查询之外还有什么可以信任的?b $ b?即使是小规模实施(如你所提到的那样,不是b $ b更具体)?

Well, I am sure this comes into play when we talk about latitude,
longitude, ISP, et cetera. Dealing only with the country is of little
consequence. I am not sure about city though, that may fall into the
trap you mention.

Were those items specifically why you say anything more specific would
be error-prone?

Or were there other reasons? I am curious.

In fact. In your opinion is there anything aside from country lookups
that can be trusted? Even if implemented on a small scale (as in not
"more specific" as you mentioned)?


有没有这个信息的任何体面的开放数据库。我想,这是因为MaxMind的免费产品质量足以让人们免费投入大量的工作。

将用于开发一个可自由使用的竞争对手。
There aren''t any decent open databases of this information. I imagine that
this is because MaxMind''s free offerings are of sufficient quality to
deter anyone from bothering to invest the significant amount of work it
would take to develop a freely-available competitor.



我猜测那件事。我想知道在一个开源企业创造一个具有可比价值的任务是多么艰巨?


特别是如果在一个人的免费中完成的话时间,因为这就是我要提供的所有这些项目。


如果您认为,嗯,这不是很明亮。 MaxMind的产品

目前非常出色。


我说,真的!但是人们不能编辑二进制发行版和

标记错误或添加。


感谢您的时间Inkster先生。

-

-Lost

删除多余的单词以通过电子邮件回复。不要给我发电子邮件。我是开玩笑的。不,我不是。

I surmised that very thing. I wonder how daunting of a task creating
something of comparable worth in an open-source venture would be?

Especially if done in one''s free time, as that is all I have to offer to
such a project.

In case you think, "Well, that is not very bright. MaxMind''s offerings
are outstanding currently."

To that I say, "True! But one cannot edit a binary distribution and
mark errors or additions."

Thanks for your time Mr. Inkster.

--
-Lost
Remove the extra words to reply by e-mail. Don''t e-mail me. I am
kidding. No I am not.


这篇关于开源地理位置LIB?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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