Coding a weather app

Hello guys and girls, I come to you today with a problem.
I am in the process of developing, or trying to develop a weather app.
This isn't just any weather app however, this app has the capability to track thunderstorms in real time and in text format.
Sounds to good to be true? Well it isn't.
The South African weather service provides an API to track latest storm developments.
Sadly this app will only work exclusively in South Africa.

My reason for building this particular app?
It's simple, I want users to be prepared for any storm that might hit at there location.
Now here's the problem, the API returns a JSON file witch is fine, how ever I want to extract the latitude and longitude fields and combine them with the current location of the user that will be using the app, so that the app can tell them how far away storms are.
Is there any way in witch I can do this?
The platform I am trying to code for is android, since I don't have a Mack to code in SWIFT.

Anyhow, here is a little extract from the JSON file.

      {
        "properties": {
          "age": 2160,
          "cellTop": 8.5,
          "dbz": 50,
          "direction": 8.77707,
          "latitude": -28.5958,
          "longitude": 25.0536,
          "majorAxis": 11.0546,
          "minorAxis": 2.77942,
          "orientation": 175.296,
          "speed": 21.8885,
          "timestamp": "2018-01-04T16:12:00Z",
          "instance": 0,
          "distance": 0
        },

Note: Major and Minor axis's refer to the length and width of a storm in Kilometers(KM), as well as the speed, direction is in degrees, storm cell top is in Kilometers also and age is in seconds since last radar scan.

Any help would be appreciated.

_______________________________________________
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
  • ... AudioGames . net Forum — Off-topic room : Donavin . Liebgott via Audiogames-reflector
    • ... AudioGames . net Forum — Off-topic room : Hrvoje via Audiogames-reflector
    • ... AudioGames . net Forum — Off-topic room : ashleygrobler04 via Audiogames-reflector
    • ... AudioGames . net Forum — Off-topic room : Donavin . Liebgott via Audiogames-reflector
    • ... AudioGames . net Forum — Off-topic room : ashleygrobler04 via Audiogames-reflector
    • ... AudioGames . net Forum — Off-topic room : Donavin . Liebgott via Audiogames-reflector
    • ... AudioGames . net Forum — Off-topic room : Hrvoje via Audiogames-reflector

Reply via email to