Helium314 / Local-NLP-Backend

Yet another network location backend for the UnifiedNLP/microG project
GNU General Public License v3.0
64 stars 4 forks source link

Cannot import MLS #10

Closed Chris56 closed 1 year ago

Chris56 commented 1 year ago

1.2.4 from f-droid: I downloaded Mozillas full cell exports csv file from here: https://location.services.mozilla.com/downloads The import skips every entry.

Helium314 commented 1 year ago

You're right, this happens when no MCC filter is set, despite the text saying "Leave blank to import all". Will be fixed in the next version.

Chris56 commented 1 year ago

As you seem to be working on it, one idea: Perhaps it is possible to offer the possibility to only stating the initial digit. Like in my case: I will be travelling around Europe, thus I would like to import all 2xx countries. P.S.: Is there a way to tell which of several the microg backends produces which result?

Helium314 commented 1 year ago

I added this now, so every x will count for 0-9. Though it might get removed later... the UI could really use an upgrade, and then the MCC selection then may be replaced by a country selector, similar to the local GSM backend. (if I ever find time for this)

Is there a way to tell which of several the microg backends produces which result?

You can use logcat and filter for LocationFuser, but this does not provide any information if a location is "older than other provider".

Chris56 commented 1 year ago

In case the UI switches to countries, I would propose to also offer Europe (all of), Asia and so on. That will be the equivalent to ?xx MCC filter. Thanks for you work!

Sapiosenses commented 1 year ago

P.S.: Is there a way to tell which of several the microg backends produces which result?

Modern versions of microG show each backend's current estimated location (if you want a street address you will need the Nominatum backend also installed) at the bottom of each UNLP backend's page in the microG utility under "Location Modules".