The LuciadCPillar API offers a raster model base class. It’s impossible to implement this base class directly, but you can create instances of it in a couple of ways:
-
By using a model decoder. Model decoders can create a raster model, for example by decoding files encoded in a certain format, or by using a standard that uses HTTP. These are examples of model decoders:
-
GdalModelDecoder
: to decode GeoTIFF data -
GeoPackageModelDecoder
: to decode GeoPackage raster data -
WmsModelDecoder
: to decode data using the OGC WMS protocol -
WmtsModelDecoder
: to decode data using the OGC WMTS protocol
-
-
By using a raster model builder. When there is no model decoder available for your raster data, or when you want to add a non-referenced image to the map, you can use one of these model builders:
-
MultilevelTiledRasterModelBuilder
: allows you to define several detail levels, and a tiling grid for each level. You can also configure a data retriever that can return the actual data for each of the tiles. -
QuadTreeRasterModelBuilder
: similar toMultilevelTiledRasterModelBuilder
, but it allows you to define a quad tree raster structure more easily.
-
These tutorials show how you can provide your own raster data:
This tutorial shows you how to query height data from an elevation model:
How to retrieve elevation data using a
RasterModelHeightProvider
This tutorial shows you how to provide custom attribution for your multi-level tiled raster model or quad tree raster model:
How to provide attribution data using a
IMultilevelTiledAttributionProvider