Class EarthMapPlanService
java.lang.Object
org.deltava.service.WebService
org.deltava.service.acars.GoogleEarthService
org.deltava.service.acars.EarthMapPlanService
A Web Service to display ACARS flight plan data in Google Earth.
- Since:
- 1.0
- Version:
- 11.1
- Author:
- Luke
-
Field Summary
Fields inherited from class GoogleEarthService
COLORS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintexecute(ServiceContext ctx) Executes the Web Service, writing ACARS flight data in KML format.Methods inherited from class GoogleEarthService
createAircraft, createAirport, createAirspace, createFlightRoute, createPositionData, createProgressModifier and TypeMethodDescriptionprotected static ElementcreateAircraft(String name, RouteEntry entry) Helper method to generate an aircraft Placemark element.protected static ElementcreateAirport(Airport a, String desc) Helper method to generate an airport Placemark element.protected static ElementcreateAirspace(Airspace a, boolean isVisible) Renders an Airspace boundary into Google Earth KML.protected static ElementcreateFlightRoute(String name, Collection<NavigationDataBean> waypoints, boolean isVisible) Renders the flight plan to Google Earth KML.protected static ElementcreatePositionData(Collection<RouteEntry> positions, boolean isVisible) Helper method to generate flight position data as a KML Folder element.protected static ElementcreateProgress(Collection<RouteEntry> positions, GoogleEarthColor routeColor) Helper method to render flight progress as a KML Placemark / LineString element.Methods inherited from class WebService
error, error, error, isLogged, isSecureModifier and TypeMethodDescriptionprotected static ServiceExceptionCreates a ServiceException.protected static ServiceExceptionCreates a ServiceException.protected static ServiceExceptionCreates a ServiceException.booleanisLogged()Returns whether this web service calls are logged.booleanisSecure()Returns whether this web service requires authentication.
-
Constructor Details
-
EarthMapPlanService
public EarthMapPlanService()
-
-
Method Details
-
execute
Executes the Web Service, writing ACARS flight data in KML format.- Specified by:
executein classWebService- Parameters:
ctx- the Web Service Context- Returns:
- the HTTP status code
- Throws:
ServiceException- if an error occurs
-