Results 1 to 4 of 4

GeoCoding - Find the closest point

Threaded View

  1. #1
    Registered User
    Join Date
    09-25-2012
    Location
    Florida, United States
    MS-Off Ver
    Excel 2007
    Posts
    18

    GeoCoding - Find the closest point

    Hello All,

    As the title states, I have 2 lists with several points, list 1 has ~200k coordinates (Lat/Long), and list 2 has about 2,400 coordinates. The idea is to step through each of the 200k coordinates and find which of the 2,400 coordinates is closest.

    Currently I've been trying it in a spreadsheet, but since I'm using 32bit it goes kaput on me.

    Any ideas?

    The formula for calculating distance between 2 GPS points is as follows:
    =131332796.6*(ACOS((COS(lat1)*COS(long1)*COS(lat2)*COS(long2)+COS(lat1)*SIN(long1)*COS(lat2)*SIN(long2)+SIN(lat1)*SIN(lat2)))/360)
    Taken from here: http://www.ehow.com/how_7695232_conv...ates-feet.html

    Attached is a small sample of how I've been doing it the brute force method.
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Using the Google Geocoding API in Excel
    By russkris in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-12-2014, 01:17 AM
  2. Geofencing Lat / Longs (Finding Closest Point) in Excel
    By mattkunkle in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-19-2013, 02:05 PM
  3. [SOLVED] How to find the a value closest to a given value
    By BNCOXUK in forum Excel General
    Replies: 2
    Last Post: 02-15-2013, 06:12 AM
  4. Index/Match to find Starting Point of Average, Ending Point of Average Variable
    By tgentry in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-09-2012, 01:04 AM
  5. Reverse Geocoding Excel Help (see attachment)
    By zsemago in forum Excel General
    Replies: 1
    Last Post: 02-28-2012, 03:40 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1