1

This project is fairly simple yet, complicated.

  • 50+ addresses are present
  • User will input or import addresses
  • Script must take addresses and provide non-optimized(or optimized [fastest/shortest]) direction between each address
  • Script must be able to map directions on map and provide information such as total distance, proximate time.
  • On side note script must validate address if it's valid or not. If not then tell user to fix it.

So far the company was using a desktop application for tracking, routing, directions, etc.

Now they want a web version.

I was thinking about using microsoft's bing service or google's maps.

Which do you think would suit better?

4
  • This will be used for kinda commercial purposes Commented May 2, 2011 at 6:00
  • Also the addresses will be stored in database. I know address is a private information and sending such to google or just anywhere in internet is no no. But I have been told to do so anyway. Commented May 2, 2011 at 6:01
  • commercial purposes is fine, it just technically, according to Google's terms, needs to be publicly accessible. Sending addresses as such is okay IMO, as long as you don't send any private information (like names) with it. (I accidentally deleted my first comment) Commented May 2, 2011 at 6:05
  • An address is only private information if it can be linked to an individual isn't it?. Gmaps already does directions/routing/estimated time - though this happens in JS and is not available via the API as far as I can can recall - it also has greater familiarity amongst users. Using Gmaps v3 no API key is required, and it is mobile (browser) ready. Commented May 2, 2011 at 9:07

1 Answer 1

1

For address validation you could use Google's Geocoding API. It's not a perfect solution as it allows for addresses that might be partially wrong. An example is a user typing in 3002 Such and Such Street when 3002 doesn't actually exist.

Also, if the link doesn't have to be internal then you can provide a link to Google maps with the format http://maps.google.com/maps?saddr=[STARTING ADDRESS]&daddr=[DESTINATION ADDRESS]

I'd imagine there is also a way to handle directions with the Maps API but I'm not sure.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.