Web应用程序的简单地理数据源

时间:2022-08-20 16:54:00

For a web app I'm working on, I need to know the lat/lon of about 300 US cities. I also need to know the lat/lon for every US zip code.

对于我正在研究的网络应用程序,我需要知道大约300个美国城市的纬度/经度。我还需要知道每个美国邮政编码的纬度/经度。

Does anyone know of a free source to get this information?

有谁知道获取此信息的免费来源?

3 个解决方案

#1


2  

Freebase will likely be able to help you. Here is New York and it has Lat/Long.

Freebase可能会帮助您。这是纽约,它有Lat / Long。

The Wal-Mart Expansion video used Freebase to get it's data, and it sounds like you're doing something similar.

沃尔玛扩展视频使用Freebase获取数据,听起来你正在做类似的事情。

#2


1  

Take a look at Ben Fry's Zip Code Visualizer. This is part of his book Visualizing Data.

看看Ben Fry的Zip Code Visualizer。这是他的“可视化数据”一书的一部分。

#3


1  

There is an online database at Geocoder.us. And a simple perl module (we added a soap service to this so we could simply access it from any language, and the longest part of the development process was downloading database (it's about 4 GB).) The geocoing database is available from the US census bureau, a good article on getting this setup can be found here.

Geocoder.us有一个在线数据库。还有一个简单的perl模块(我们为此添加了一个soap服务,因此我们可以简单地从任何语言访问它,并且开发过程中最长的部分是下载数据库(大约4 GB)。)地理数据库可以从美国获得。人口普查局,这里有一篇关于获得此设置的好文章。

#1


2  

Freebase will likely be able to help you. Here is New York and it has Lat/Long.

Freebase可能会帮助您。这是纽约,它有Lat / Long。

The Wal-Mart Expansion video used Freebase to get it's data, and it sounds like you're doing something similar.

沃尔玛扩展视频使用Freebase获取数据,听起来你正在做类似的事情。

#2


1  

Take a look at Ben Fry's Zip Code Visualizer. This is part of his book Visualizing Data.

看看Ben Fry的Zip Code Visualizer。这是他的“可视化数据”一书的一部分。

#3


1  

There is an online database at Geocoder.us. And a simple perl module (we added a soap service to this so we could simply access it from any language, and the longest part of the development process was downloading database (it's about 4 GB).) The geocoing database is available from the US census bureau, a good article on getting this setup can be found here.

Geocoder.us有一个在线数据库。还有一个简单的perl模块(我们为此添加了一个soap服务,因此我们可以简单地从任何语言访问它,并且开发过程中最长的部分是下载数据库(大约4 GB)。)地理数据库可以从美国获得。人口普查局,这里有一篇关于获得此设置的好文章。