openbmap / radiocells-scanner-android

WLAN and cell tower scanner for Radiocells.org
https://www.radiocells.org
Other
57 stars 25 forks source link

Sync wifi catalog locally doesn't work #116

Open jw243 opened 8 years ago

jw243 commented 8 years ago

I have logged some wifi data using radiobeacon app version 0.8.8. I uploaded these data to radiocells.org, which worked very well. Within a few hours, my data appeared online, and if I now use the online mode in the openbmapnlp backend, my location is found and shown correctly.

However, I tried to sync my data locally with the local wifi catalog, but that does not seem to work. When I switch to offline mode afterwards, openbmapnlp backend does not find my location.

I am using the same offline database for the radiobeacon app and the openbmapnlp backend. It is located in /storage/emulated/0/Android/data/org.openbmap/files. I have changed the path in the openbmapnlp backend accordingly. I have tried it with the database I downloaded directly using the download functionality within the backend, as well with the database I downloaded manually from the radiocells.org website and copied into the corresponding folder. Unfortunately, I was not able to download the database from within the radiobeacon app, as the download would always fail.

Any idea, why the local sync does not work?

AreYouLoco commented 8 years ago

I think its syncing only new networks collected with radio beacon to your bigger db that you downloaded.

For me its works i collected some networks and then after syncing it was showing bigger number in numbers of known AP.

I am quite sure it works. At least for me.

On February 14, 2016 6:54:52 PM GMT+01:00, jw243 notifications@github.com wrote:

I have logged some wifi data using radiobeacon app version 0.8.8. I uploaded these data to radiocells.org, which worked very well. Within a few hours, my data appeared online, and if I now use the online mode in the openbmapnlp backend, my location is found and shown correctly.

However, I tried to sync my data locally with the local wifi catalog, but that does not seem to work. When I switch to offline mode afterwards, openbmapnlp backend does not find my location.

I am using the same offline database for the radiobeacon app and the openbmapnlp backend. It is located in /storage/emulated/0/Android/data/org.openbmap/files. I have changed the path in the openbmapnlp backend accordingly. I have tried it with the database I downloaded directly using the download functionality within the backend, as well with the database I downloaded manually from the radiocells.org website and copied into the corresponding folder. Unfortunately, I was not able to download the database from within the radiobeacon app, as the download would always fail.

Any idea, why the local sync does not work?


Reply to this email directly or view it on GitHub: https://github.com/wish7code/openbmap/issues/116

wish7code commented 8 years ago

Let's keep an eye on this: I know there have been some issues recently, when our database hit the 1GB limit. In this case, our server truncated and thus damaged the downloads. Nevertheless this was healed a couple of days ago by changing the server configuration..

jw243 commented 8 years ago

The download from within the radiobeacon app still fails shortly before the end. I have tried the app from D-Droid as well as from Google Drive. Has this something to do with the truncation problem?

Is there actually a difference between the databases downloaded from within the radiobeacon app and from within openbmapnlp backend? Only from openbmapnlp, the download works.

jw243 commented 8 years ago

If the database was indeed truncated during download, wouldn't that lead to a failed download, which I experience when trying to download from within the radiobeacon app? How does that relate to the local sync of data not working, i.e. the addition of collected data to the local database?