Android Question Need Data File Missing for 'Verso - Offline Reverse Geo' Library

Discussion in 'Android Questions' started by adrianfreitas, May 20, 2017 at 12:41 AM.

  1. adrianfreitas

    adrianfreitas Member Licensed User

    Hi guys!! I found the 'Verso' library and it can be useful to me in a new project... but the file 'offlineData.zip' that store the locations is not available anymore...
    I tried to download some data files from www.geonames.org and use it but it was a blind try and not works.

    >>> - Download the file offlineData.zip <<< (source is dropbox)

    Anyone still have it and could share it to me, please? Thanks!
     
  2. DonManfred

    DonManfred Expert Licensed User

    Go to http://download.geonames.org/export/dump/ and download the zip for the country you want to use. For ex de.zip.
    Rename this zip to offlineData.zip and place it in your Files folder of your project.
     
  3. adrianfreitas

    adrianfreitas Member Licensed User

    Hello DonManfred!
    Thank you for your help.
    I made what you said to do (downloaded BR.zip from link, renamed it to offlineData.zip, put in Files folder and sync the files to project), but the geo object always return null.
    I'm from Brazil, and I have tried a bunch of lat-lon pairs and always get Null.
    For example: verso.getGeoInfo(-22.9519, -43.2105) '<- Cristo Redentor, Rio de Janeiro
    And I tried both lines too:
    'Log($"Verso_geoinfo(${geo})"$)
    Log($"Verso_geoinfo()"$)
    There's no error, but both of them still returns nothing (object geo = Null)

    What I'm doing wrong?
     
Loading...