Data or styles can be added to LuciadFusion using an HTTP(S) URL if the following conditions are met:

  • That data or style can be accessed without requiring authentication.

  • LuciadFusion needs to have a model decoder that can decode the data that implements the ILcdInputStreamFactoryCapable interface. Note that the model decoders for GeoTIFF, SHP, NetCDF, BUFR and DGN Native files will need to download the data before they can decode it.

Studio web application

To add the HTTP(S) data using the LuciadFusion Studio web application:

  • Navigate to the DATA page

  • Click on the ADD DATA button

  • Enter the URL of the data in the File path field

  • Click on the ADD DATA button

If LuciadFusion is able to access and decode the data located at the URL, the data will appear in the list of data on the page.

Styles can be added in a similar way by clicking the ADD STYLE button on the STYLES page.

Studio REST API

To add the HTTP(S) data using the LuciadFusion Studio REST API, use the POST /api/data endpoint and provide the URL of the data as the filePath property. Similarly, to add an HTTP(S) style, use the POST /api/styles endpoint and provide the URL of the style as the filePath property.