Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Howto get home coords array by postcode



  • We have idea about game, where we need get coords of home by postcode.
    Is it impossimle in general with QtLocation API? We assume that device has map of given aria

    What is the basic algorytm for this may be?

    Thanks.



  • This is probably depending on which region you are looking at. For some parts in Western Europe (mostly German speaking countries) there something available "OpenGeoDB":http://wiki.openstreetmap.org/wiki/OpenGeoDB
    Possibly there something similar for other regions available as well.



  • what about this?

    QGeoSearchReply* QGeoSearchManager::geocode(const QGeoAddress &address,
    QGeoBoundingArea *bounds = 0);

    [quote author="koahnig" date="1324481610"]This is probably depending on which region you are looking at. For some parts in Western Europe (mostly German speaking countries) there something available "OpenGeoDB":http://wiki.openstreetmap.org/wiki/OpenGeoDB
    Possibly there something similar for other regions available as well. [/quote]



  • [quote author="vinnitu" date="1324486282"]what about this?

    QGeoSearchReply* QGeoSearchManager::geocode(const QGeoAddress &address,
    QGeoBoundingArea *bounds = 0);
    [/quote]

    That looks interesting. I was not aware of it. Thanks for pointing out.


Log in to reply