Comments (4)
So ærialbot is by default just using Twitter's own reverse geocoding API – the request is sent in the Tweeter.get_location
function (line 696 as of 50ec0b3) which returns a tuple of (full_name, country)
. You could supposedly subclass the Tweeter
class and reimplement Tweeter.get_location
to query DAWA instead of Twitter, but it might be simpler to replace the function call in line 892 with your DAWA querying logic.
(And make sure to provide me with a link to your bot if you don't mind – I've spent many childhood summers in Denmark, so I'm definitely interested!)
from aerialbot.
I've hacked something together, that seem to work. I'll play around with it a bit more, and see if I can generalize it to an option in the inifile that allows for selection between different geocoders. It's tweeting as https://twitter.com/DanskKvadrat Right now a square kilometer, but I think I might increase the area a bit, to avoid too much farmland.
from aerialbot.
Sounds good!
I might increase the area a bit, to avoid too much farmland.
Yeah, this was surprising to me too – it's even more farmland in the US. Out of the hundreds of test images I generated for @americasquared, only four or five were of (sub)urban areas.
from aerialbot.
Closing this issue since your bot has been up and running with your custom reverse geocoder for quite a while.
from aerialbot.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aerialbot.