Java Problem QUERY of area ,, not is the same


#1

Hello i try to use the same picture to flightware but the data not is the same , help? how i can obtain all flights ?? in this area

public static InFlightStruct getplanes(String lat1, String lat2, String lon1, String lon2) {
InFlightStruct flight9 = null ;
FlightXML2 locator = new FlightXML2();
FlightXML2Soap df4 = locator.getFlightXML2Soap();
SearchBirdseyeInFlightRequest req0 = new SearchBirdseyeInFlightRequest();

  req0.setQuery("{range lat 36.897669 40.897669} {range lon -79.03655 -75.03655}");
    req0.setHowMany(30);
    try {
        //  Thread.sleep(1000);
        flight9 = df4.searchBirdseyeInFlight(req0).getSearchBirdseyeInFlightResult();

    } catch (Exception e) {
        System.out.println("no  Data");
    }

    return flight9;
}

drive.google.com/file/d/0B8TkH4 … sp=sharing


#2

Since you are requesting only 30 results, if there are more than 30 flights in the specified range then it is not guaranteed which 30 you will receive (and may potentially different 30 each time you reload).

Also keep in mind that the lat/lon range filtering is considering only the most recent position of that flight, not all past positions of a flight.

Is that what you are asking?


#3

the problem is that the query results do not match the results that it is flightware page, ilera aircraft appears to make no sense (as in the picture so that)


#4

I don’t understand what your image is attempting to show as being incorrect. FlightXML uses the same data backend that is used for the maps on our website (though our maps do not use FlightXML as the interface).

Also, if you are simply trying to make an airport traffic display, you might want to consider a free trial of our FlightAware TV product: flightaware.com/commercial/tv/