API for calculating the distance between two US addresses?

It seems simple, but users do not have internet access.
The application will be hosted internally as an intranet site. Allows the app to make webservice calls on the Internet.
I tested and tried Mapquest.
However, all other providers seem to assume that users have access to the Internet, so their API is javascript based on src tags pointing to the Internet URL.

Any ideas?

+4
source share
4 answers

You can use Google for this purpose, even if you are not using JS. For example, in the Ruby world, there is GeoKit that can do this. You can take a look at its source to understand how this works.

+1
source

Have an intranet application that accepts two addresses and calls the web service also on your intranet, which redirects the request to the MapQuest web service.

The MapQuest service returns the distance to your web service, which returns it to your Intranet application.

0
source

Depending on how serious you are of this requirement, you can purchase Google Earth Enterprise, which runs in your own data center and provides access to data without the need for Internet access:

0
source

In response to rptHarry, it looks like you're looking for a comprehensive dataset with working algorithmic programming to interpret data for efficient road connections between points to be completely self-contained. Even if you had this, do you have the processing power to store / store all this data? Would you like how important this feature is? What cost would be acceptable for this benefit?

But if you are looking for options that are more likely more reasonable, more information will be helpful. Examples: Is there a specific list of possible addresses? How necessary is this? Is the zip code for a zip code accurate enough? How do you go crazy? (LOL) Like connecting to nuvy through a serial port to send and receive information through some kind of hack, is a "viable option"?

Yes, nothing is impossible for me, and I would go there.

0
source

Source: https://habr.com/ru/post/1307681/


All Articles