Sign In  |   Register  

Geocoded Tweeting

ellisgl | June 1, 2009 | Be first commenter

I’ve been thinking about a how to  geocode tweets and here’s what I’ve come up with.

1.) Get the location’s latitude and longitude (IE. 33.017262, -96.98494).

2.) Make sure you have 3 numbers before decimal point.  So we would left pad with a ’0′ and we would end up  with 033 and 096.

3.) Add the + and – to our result, so +033 and -096 would be our result

4.) Take the first 3 numbers after the decimal point and add it to the end of result, so we end up with +033017-096984.

4.)Take the first 3 to 6 numbers after the decimal point and add it to the end of result, so we end up with +033017-096984 if we used 3 or if we used 6 we would end up with +033017255-096984955

5.) Post a tweet with the hash tag of #geotwit, the result and the rest of what your tweet.

Here’s an example of a full tweet: #geotwit +033017-096984 http://twitpic.com/6eh1a Spotted this car Friday in Lewisville, TX.

Post a New Comment