A Luciad Tile Service (LTS) allows you to efficiently serve elevation data, because it offers that data in a hierarchical tile structure, called a coverage. Because an LTS service serves only LuciadFusion coverages, though, you must pre-process the elevation data ninto such a coverage first.
In the scenario, we use a folder with DHM files as an example for the elevation data, but it also applies if you have elevation data in a format such as DTED, ETOPO, and DEM. We are going to set up the folder containing elevation files as a data root for LuciadFusion Studio, create a product with the data, create an LTS service containing the product, and serve it after it has been pre-processed.
Setting up the data root
To set up the data root, go to SETTINGS > DATA ROOTS > ADD DATA ROOT, and select the folder with the DHM files.
LuciadFusion starts the crawling process, and adds all the DHM files to the DATA tab.
Creating the product
An LTS service offers one coverage for each product it contains, so we need to create a product with the DHM elevation files first. Combining multiple individual elevation data files in a single product allows you to serve this data as a single coverage through an LTS service. If you want to offer multiple coverages, you should create a product for each coverage you want to offer.
If you already created a LuciadFusion coverage of your data with the Data Connectivity Manager (DCM) and added that coverage to LuciadFusion Studio, you must only create a product containing that coverage. Products containing a LuciadFusion coverage do not require any pre-processing. Keep in mind that you can only create a product containing exactly one LuciadFusion coverage if you plan to serve it in an LTS service. |
To create the product:
-
Select all the DHM files of your data set by holding SHIFT and clicking each DHM file on the DATA screen.
-
Click CREATE PRODUCT.
-
Give a meaningful name and title to the product. The product name will also be used as the name for the coverage when it is added to an LTS service.
-
Click CREATE PRODUCT.
The product has been created.
You can now create an LTS service with the product to start serving the elevation data in the product.
Setting up an LTS service
As mentioned earlier, an LTS service serves a coverage for each product that it contains. A product in an LTS service must contain either a single LuciadFusion coverage, or one or more elevation data files. A product containing a LuciadFusion coverage can be served directly in an LTS service. On the other hand, products containing elevation data are automatically pre-processed into a LuciadFusion coverage when you use them to create an LTS service, or when you add them to an LTS service. This is the case for the product with DHM data.
To create an LTS service for the product with DHM data:
-
Go to the products page by clicking on the PRODUCTS tab.
-
Select the product with DHM data.
-
Click CREATE SERVICE.
-
Enter a service title and name in the Create service dialog, and select the LTS service type.
-
Leave the Start service? check box selected, and click CREATE SERVICE.
At this point, LuciadFusion Studio starts generating a Fusion coverage. While it is taking care of this pre-processing job, your new service will have the PENDING status.
The pre-processing may take a while if you loaded a large elevation data set. To track the status of the pre-processing job, you can go to the JOBS screen. It shows the running pre-processing job in the lower half of the screen. You can click the job entry for more details.
As soon as the pre-processing job is done, the LTS service status switches from PENDING to RUNNING.
If there is overlapping data in a product, the data might be re-ordered during pre-processing, and the resulting LuciadFusion coverage may store the data in in a different order than the original order in the product. LuciadFusion will order the data according to pixel density and other properties so that more detailed data is used in higher levels of the coverage. |
LTS service pre-processing failure.
If any data other than elevation data is added to a product in an LTS service, the pre-processing step will fail. Currently, you can pre-process only elevation data into a LuciadFusion coverage. If you want to create a coverage with other data, you need to use the Data Connectivity Manager. See the Data Connectivity Manager User’s Guide for more information. |
Connect to an LTS service
Once you have set up the LTS service, you can connect to it from LuciadLightspeed, Lucy and LuciadRIA to load and visualize the elevation data.