In LuciadRIA, the model represents the link between the server that provides the data and the map that shows the data in a layer. The purpose of LuciadRIA models is to store and manage geospatial data, while LuciadRIA views and layers take care of the visualization.
LuciadRIA distinguishes between:
RasterTileSetModelinstances. These models are capable of downloading multi-leveled, tiled raster data to the browser, so that they can be visualized on a map.
RasterImageModelinstances. These models also download raster data to the browser for visualization, but the raster data consists of images of arbitrary sizes and scales instead of tilesets.
FeatureModelinstances. These models are capable of exchanging vector features between the browser and the server.
More specialized implementations of these classes are available to connect with certain data sources, for example to connect to a WMS or WFS server. Consult the documentation related to those data formats for more information.
All model data must be geospatially referenced, so that the location of the data can be determined. Otherwise, you cannot display the data on a map.
You must configure the model’s
CoordinateReference at model construction time.
Depending on the nature of the model, you may need to configure the
In other cases, the
CoordinateReference is determined automatically from the available data by model utilities or factories.
For more information about geospatial references, see the model references documentation.
A model can be associated with additional information about the model data, or metadata.
The model metadata is represented by the class
ModelDescriptor in the API.
The source of the data
The data type
A name that can be used to label the data in the view
You can retrieve the model descriptor from the model through the