Git Product home page Git Product logo

Comments (4)

doersino avatar doersino commented on May 27, 2024

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.

Wegge avatar Wegge commented on May 27, 2024

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.

doersino avatar doersino commented on May 27, 2024

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.

doersino avatar doersino commented on May 27, 2024

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.