Package com.luciad.wmts.server
Interface ILcdWMTSGXYLayerFactory
public interface ILcdWMTSGXYLayerFactory
Creates GXY layers for data requested through a WMTS service.
This interface identifies two use cases for the layer creation:
- Requests for layers that are backed by a LuciadFusion product without a style
are delegated to
createGXYLayer(ILcdModel, TLcdWMTSLayer, String, TLcdWMTSRequestContext)
. - Requests for layers that are backed by a LuciadFusion product with a style
are delegated to
createGXYLayer(ILcdModel, TLcdWMTSLayer, TLcdSLDFeatureTypeStyle[], TLcdWMTSRequestContext)
, including the style as an array ofTLcdSLDFeatureTypeStyle
instances.
@LcdService
annotation.- Since:
- 2022.1
-
Method Summary
Modifier and TypeMethodDescriptioncreateGXYLayer
(ILcdModel aModel, TLcdWMTSLayer aWMTSLayer, TLcdSLDFeatureTypeStyle[] aFeatureTypeStyles, TLcdWMTSRequestContext aRequestContext) This method creates anILcdGXYLayer
for the given WMTS layer and SLD feature type styles.createGXYLayer
(ILcdModel aModel, TLcdWMTSLayer aWMTSLayer, String aStyleId, TLcdWMTSRequestContext aRequestContext) This method creates anILcdGXYLayer
for the given WMTS layer and style identifier.
-
Method Details
-
createGXYLayer
ILcdGXYLayer createGXYLayer(ILcdModel aModel, TLcdWMTSLayer aWMTSLayer, String aStyleId, TLcdWMTSRequestContext aRequestContext) throws IOException This method creates anILcdGXYLayer
for the given WMTS layer and style identifier.- Parameters:
aModel
- the model to be wrapped into aILcdGXYLayer
.aWMTSLayer
- the WMTS layer for which this is done.aStyleId
- the id of the style to be used. The value may be null.aRequestContext
- the request context associated with this operation.- Returns:
- an
ILcdGXYLayer
for the given WMTS layer ornull
if no layer can be created. - Throws:
IOException
-
createGXYLayer
ILcdGXYLayer createGXYLayer(ILcdModel aModel, TLcdWMTSLayer aWMTSLayer, TLcdSLDFeatureTypeStyle[] aFeatureTypeStyles, TLcdWMTSRequestContext aRequestContext) throws IOException This method creates anILcdGXYLayer
for the given WMTS layer and SLD feature type styles.- Parameters:
aModel
- the model to be wrapped into aILcdGXYLayer
.aWMTSLayer
- the WMTS layer for which this is done.aFeatureTypeStyles
- the SLD feature type style(s) to be used.aRequestContext
- the request context associated with this operation.- Returns:
- an
ILcdGXYLayer
for the given WMTS layer ornull
if no layer can be created. - Throws:
IOException
-