Geolicious / geotweet

collects tweets for qgis by area or keywords
GNU General Public License v2.0
15 stars 2 forks source link

geotweet

collects tweets for qgis by area or keywords.

Prerequisites

After insallation of tweepy:

cd .qgis2/python/plugins
git clone https://github.com/Geolicious/geotweet.git

You can also download and install it from the plugin-toolbar in QGIS. Furthermore you will need 4 keys from Twitter by creating an app in your Twitter account

Usage

The plugin allows either selecting by location (defined by a shapefile) or with keywords. A combined search is not possible. You can also define the number of geo_enabled tweets you would like to have. Twitter offers two location parameters: place and location. The first one can be defined by the user by selecting a place for his tweet. This can be a whole country (e.g. Canada) or a city (e.g. Edmonton). The user can be at a total different location. If you select "user location" you only collect tweets with a "correct" user location as defined by the current device. Be warned: only 1% of all tweets seem to be "true" geo-enabled.

The whole collection of tweets freezes the QGIS application at the moment when the search for geo_enabled tweets takes to long! But it is still collecting and checking for geo coordinates.

You can also select to store the gathered stream. This txt file will be stored in your temp folder by default.

Version_changes

+2015/05/18 0.8.7 removed unnecessary print line +2015/05/18 0.8.6 fixed issue with tweets with no place +2015/05/18 0.8.4 fixed issue with writing raw tweets to file under windows +2015/05/18 0.8.3 fixed issue with missing dependency urllib and zipfile in case you don't have tweepy installed +2015/05/18 0.8.2 fixed issue with missing dependency +2015/05/17 0.8.1 fix for location filter, minor changes in metadata. +2015/05/17 0.8c added some more information about prerequisites, add messagebar for blank tokens +2015/05/17 0.8 first release

License

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/