• Home
  • Software
  • Industries
  • Application Areas
  • Academic
  • Training
  • Support
  • User Community
Free Trial Buy JMP International About Us Contact News and Events Blog Resource Center
  • JMP FAQs
  • System Requirements
  • Alphabetical List of Features
  • Downloads
    • JMP Software Updates
    • JMP Genomics Software Updates
    • JMP Documentation
    • Sample Six Sigma Menu
      (JMP 6.x)
      *
    • Sample Six Sigma Menu
      (JMP 5.x)
      *
    • List of JMP Downloads (Requiring SAS Profile Registration)*
  • Knowledge Base
  • Books and JMP
  • Report a Problem
  • JMP Administrators
  • Find Your Serial Number or Site ID
  • Why Register JMP?
  • Register JMP

*On SAS Download site

Distance Between 2 Locations

Distance Between 2 Locations  
Download Details
Download
License: Freeware
Size: 496 KB
Type: ZIP Archive

Description: This script accepts two United States Postal Service ZIP codes and computes the linear (great circle) distance between the two locations. Of course, this assumes that the code is for a real location and registered with the United States Census Bureau. A simple custom report presents the original ZIP codes and the spherical coordinates for both locations. It also presents the distance in miles. Note the associated data table contains only codes for the United States of America.

Instructions: Store the script and the data table files together in the same directory. Open the script and run it. Provide the ZIP code for both locations and click the OK button. If either of the ZIP codes is missing, then the script stops and reports the error in the Log window. Otherwise, it finishes with a custom report containing your answer.

Requirements: ZIP Codes.jmp (included)

Note: No support shall be provided for any JMP scripting language code furnished on this site.
 
SAS | JMP is a business unit of SAS. SAS Campus Drive, Building S, Cary, NC, 27513 • Phone: 1.919.677.8000
© 2008 SAS Institute, Cary, NC, USA. All Rights Reserved. Terms of Use • Privacy Policy