thoughts scribbles images from silicon plateau
RSS icon Home icon
  • Tweet and share your location

    Posted on April 25th, 2009 jebu 5 comments

    Last week I had put up MyBooth, where you could go to for figuring out your polling booth. Essentially this is a service built on top of Twitter messages. You send out a tweet with the GPS co-ordinates and tags for that location to @tweetaloc, in the following format

    @tweetaloc <message> (:<location tag>:)* L:<lat>,<lon>:

    The lat, long is reverse geo-coded from geonames.org to figure out the country code, state code and nearest place name, all of these and the tags that you provided are tagged on the location and available for search on MyBooth. Currently the interface does not allow you to search in a country other than India, will fix that up shortly.

    Behind the scenes is some old fashioned perl and php and Amazon SimpleDB for data storage. Uses Net::Twitter and Geo::GeoNames to poll twitter for messages and lookup geonames for the location data. A simple php page pulls the data out and feeds to Google Maps API as a geo-rss feed. Thats it nothing much there.

    The itch behind this was the inability to find some place which gave out the exact location of where I could go and cast my vote. Addresses in India are ad-hoc and locating a place with just the address in hand is not easy. Online map services do not figure out the address for this reason and the only thing that can work here is crowd sourcing, like what wikimapia.org allows people to do. But then on the road putting things into wikimapia :) , so thats where this thing fits in, use any twitter client from your GPS enabled device and send a tweet out and this takes care of the rest.

    Couple of things that I might add in to this

    • search by twitter-id and tags, so you can search for @jebui‘s office
    • search for tags around a given location, for things like polling booths within 5kms of my current loc
    • query via twitter


    • http://www.cheapbootsforsale.us ugg boots

      “Well , the view of the passage is totally correct ,your details air jordan 19 is really reasonable and you guy give us valuable informative post, I totally agree the standpoint of upstairs. I often surfing on this forum when I m free and I find there are so much good information we can learn in this forum!

    • http://www.cheapbootsforsale.us ugg boots

      “Well , the view of the passage is totally correct ,your details air jordan 19 is really reasonable and you guy give us valuable informative post, I totally agree the standpoint of upstairs. I often surfing on this forum when I m free and I find there are so much good information we can learn in this forum!

    • http://www.bootoutletstore.co.uk uggs outlet

      Mark S. is definitely on the right track. If you want to get a professional looking email address, Id recommend buying your name domain name, like or
      ajf 8
      If its common it might be difficult to get, however, be creative and you can usually find something.

    • http://www.moncler-down-jackets.com nike air force shoes

      This article comes on and on, moncler jackets successful, without any beautification ingredient, but have the very strong power. Especially make the detailed elaboration at the first view,louis vuitton outlet caused the human to look easily to have the sympathetic chord, I also very approved author's viewpoint. Approves! Louis vuitton bags

    • http://www.discount-air-jordan.com air jordan shoes

      The post of content is very interesting and exciting. I learned a lot from here.The content from simple to complex, so all of you can come in . No matter you want to see what can be found.By the way ,there are some websites is also very wonderful,you can go and see.such as ajf 6