/city-name-to-lat-long

Hack LatLong.net to allow you to input an array of search queries and export long/lat data

Primary LanguageJavaScriptMIT LicenseMIT

Automate the grabbing of coords from latlong.net from the javascript console.

Instructions

  1. Open LatLong.net
  2. Copy and paste index.js in the the javascript console.
  3. Once the script is loaded, you can pass an array of strings to locationNameToCoords();
    • i.e. locationNameToCoords(['Kansas City, Missouri', 'San Fran'])
    • Utilizes Google's location API fuzzy search.