Closed gnaazr95 closed 3 months ago
After looking into it a little, it seems like the database that Ichnaea utilizes in its own service is IP-based (meaning I need to have the IP Address of the cell to get the latitude and longitude). I'm assuming that there is no option for another database that I could use with Ichnaea that would require me to input data about the cell (cell ID, LAC, MNC, MCC, etc.) and would give me the latitude and longitude (I'm only given this information in my application, not the IP Address). I know Mozilla has the MLS-full-cell-export....csv.gz files; would I be able to pair Ichnaea with those?
I think there are two underlying needs here:
The second is covered by issue #503 .
We should document how to test out a local development environment. Maybe this overlaps with #827 especially if that system test has manual parts.
I'm going to toss this in the "new infra" milestone, because we want to work on both of those things for that milestone.
When calling the Geolocate API generally all one has to do is: https://location.services.mozilla.com/v1/geolocate?key=test and then POST a JSON body such as:
How can I do something similar when I have my own Development Version of the service? I set up the service and am able to see expected output when running curl -i http://localhost:8000/__heartbeat__ & curl -H "X-Forwarded-For: 81.2.69.192" \ http://localhost:8000/v1/geolocate?key=test.
How would I set up/run a request to get data using the development version of the service similar to how it works with the Geolocate API? I couldn't find much about it on the documentation or other online sources.
Thanks for reading!