开发者

Question on Google Maps integration

I am working on a webapplication where I need to deliver products to houses in my country.

All the street names and neighborhoods are present in Google maps. I want to know if there is any way to get all the street data(street name, region) from Google maps into one single file to load in my database.

This way people can easily find there street with the auto-suggest options Javascript has. And then I can calculate the cost, trough distance, the people have to pay.

Or is there another way to use the Google maps data in my web application.

PS. sorry for this not being a programming question. If someone knows a开发者_如何学Pythonnother place on StackExchange where I can get this question better answered this post can be relocated.


Getting everything in a database is not something Google is going to give you. It's taken them a lot of effort to build it and they want some return.

You do have the option of working with GeoNames where you can either download the database or use a webservice.

Alternatively, you could access Google's database using the Google Geocoding API.

I would recommend working with the Google version as it is much more likely to be up to date.


If you are looking for a way to calculate driving distance from one address to another so you could calculate costs, then I recommend you check out this article. Actually, I'm going to do exactly that on my current project. The problem is that we do not have specific addressing system in my country, so I'll have to use approximate estimations (within an area of the address that is...).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜