In Streamer track for term and geolocation

streaming
python
tweepy

#1

For streamer i’m using a custom app with Tweepy. I’m trying to make an application that detects terms related to crimes here in my city. For this I used the track the most common terms that refer to crime reports on Twitter, but I need to filter through the data to be collected in my city and not in the country.

Reading the documentation I realized that the format used for the coordinates is this “-123.044,36.846, -121.591,38.352”. Obviously not the format in which I find on Google Maps, since putting the coordinates of the Google Maps application error.

How do I get the coordinates of my town in this format? If you do not mind to help me.

My code line -> sapi.filter(track=[‘roubo,assassinato,assalto’])