Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Calculating Distance or Shipping from a Zip?

Calculating Distance or Shipping from a Zip?

Scheduled Pinned Locked Moved Web Development
question
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    joan_fl
    wrote on last edited by
    #1

    Anyone have good examples of calculating distance or shipping costs given two zip codes? TIA, Joan

    P 1 Reply Last reply
    0
    • J joan_fl

      Anyone have good examples of calculating distance or shipping costs given two zip codes? TIA, Joan

      P Offline
      P Offline
      perlmunger
      wrote on last edited by
      #2

      If you have any experience with web services, there are several free ones out there that'll do the job. Take a look at this service: http://www.discoverdance.co.uk/zipquery/zipcodeservice.asmx You can just create a web reference to your project that points to this URL above and you'll get the objects you need to calcuate the distance between two zip codes. There are some other web services out there that will tell you shipping rates for all major competitors (fedex, ups, dhl, etc.), but they cost money. I built a sample web application in C# that uses the zip code distance service I referenced above. If you want it, I can email it to you. Let me know. Good luck. -Matt p.s. Here is a list of a bunch of web services available online: http://www.xmethods.com/ve2/Directory.po;jsessionid=3fRQzLqk6mW3ya-eBjfcU0Rp(QhxieSRM) ------------------------------------------ The 3 great virtues of a programmer: Laziness, Impatience, and Hubris. --Larry Wall

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups