Class EarthMapService
java.lang.Object
org.deltava.service.WebService
org.deltava.service.acars.GoogleEarthService
org.deltava.service.acars.EarthMapService
A Web Service to render the ACARS Map 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.final booleanisLogged()Returns whether this web service calls are logged.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, isSecureModifier and TypeMethodDescriptionprotected static ServiceExceptionCreates a ServiceException.protected static ServiceExceptionCreates a ServiceException.protected static ServiceExceptionCreates a ServiceException.booleanisSecure()Returns whether this web service requires authentication.
-
Constructor Details
-
EarthMapService
public EarthMapService()
-
-
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
-
isLogged
public final boolean isLogged()Description copied from class:WebServiceReturns whether this web service calls are logged. High volume services like the Map/ServInfo route services will not be logged.- Overrides:
isLoggedin classWebService- Returns:
- TRUE if invocation logging should be performed by the servlet, otherwise FALSE
-