This article describes a sample that plugs a custom service type into the LuciadFusion Platform. The service type offers two services:

  • Height service. This service provides the height for a requested location.

  • Line of Sight service. This service provides a visibility calculation from a person’s point of view based on a digital terrain model.

The main class samples.fusion.platform.tea.FusionServerSampleTea is the entry point for this application.

The API of these height services is documented within the service type itself. After creating a TEA (Terrain Elevation Analysis) service, you can access the documentation at http://localhost:8081/samples/fusion/tea/{serviceName}/apidoc/index.html.

There is a corresponding sample client application within the LuciadRIA product making use of this service.

This sample is available in LuciadFusion Advanced and LuciadFusion Pro.