You need to:

  • Annotate an ILcdModelDecoder as @LcdService so that LuciadFusion can decode your data. To make sure that LuciadFusion recognizes your data correctly, configure the following properties in the TLcdModelMetadata of your model:

    • The data category. It is crucial in determining which service can publish your data format, and can by used by end users to filter and look up datasets.

    • The MIME type and supported files of the entry point. Configuring this can improve data crawling speed. The information is needed when the dataset needs to be made available as a whole, by a file server for example.

    • The data series information. It helps LuciadFusion figure out the relation between an aggregate dataset and the individual datasets of the children.

  • Optionally, annotate an ILcdGXYLayerFactory as @LcdService if you want to have full control over the visualization.

    Registering a layer factory is optional because default layer factories are available for vector and raster data. In addition, the layer factory is only used by the WMS and WMTS services, because the WFS and WCS deliver raw, unstyled data.

More information on how to implement an ILcdModelDecoder and ILcdGXYLayerFactory can be found in the LuciadLightspeed documentation.

The Support a custom vector format and Support a custom raster format LuciadLightspeed tutorials illustrate the creation of a custom ILcdModelDecoder.

The Visualizing vector data and Visualizing raster data pages document how to visualize data with an ILcdGXYLayerFactory.