Welcome, Guest
Username: Password: Remember me

TOPIC: web request not using lat/lon min max

web request not using lat/lon min max 11 months 2 weeks ago #965

Hello and thanks for any help in understanding this strange behavior.

I am developing an app using Unity, making OpenSky queries via the REST API. I am receiving different data when I am on OSX vs iOS. When I made a web request from the desktop (OSX) version using correct Lat/Lon min/max the data is returned as expected with only a few state vectors. However, when I make the identical request from an iOS device, somehow the min/max are ignored and I am returned the entire active State vector list, often between 5k-7k records. I am at a loss as to how to troubleshoot this, as I have confirmed that the URL is something like the following going out on both platforms.

https://UserName:PWord@opensky-network.org/api/states/all?lamin=32.021&lomin=-127.979&lamax=43.221&lomax=-116.779

Does anyone have an idea why all states are being returned and the min/max are being ignored on iOS?

Thanks!
The administrator has disabled public write access.

web request not using lat/lon min max 11 months 2 weeks ago #966

  • strohmeier
  • strohmeier's Avatar
  • Online
  • Administrator
  • Posts: 162
  • Thank you received: 39
Can't reproduce that, the URL gives me around 100+ states at the moment on my iPhone and macOS, both on Firefox.
The administrator has disabled public write access.
The following user(s) said Thank You: AVIARLabs

web request not using lat/lon min max 11 months 2 weeks ago #967

Yes that’s for me as well. I wonder if I can ask the server admin what they are seeing on the server side. Perhaps the request is being truncated when it’s coming from within the Unity app and not from a standard browser.??
Last Edit: 11 months 2 weeks ago by AVIARLabs.
The administrator has disabled public write access.

web request not using lat/lon min max 11 months 2 weeks ago #968

[SOLVED] - Problem solved by upgrading internal components and plugins of Unity. All is working good now, and was never an API issue.
The administrator has disabled public write access.
Powered by Kunena Forum
This website uses cookies to offer you the best experience of our services. By using this website you agree to our privacy policy!