Class TLcdWMSGML31GetFeatureInfoEncoder
java.lang.Object
com.luciad.wms.server.viewencoder.TLcdWMSGML31GetFeatureInfoEncoder
- All Implemented Interfaces:
ILcdWMSGetFeatureInfoRequestEncoder
@LcdService(service=ILcdWMSGetFeatureInfoRequestEncoder.class,
priority=20000)
public class TLcdWMSGML31GetFeatureInfoEncoder
extends Object
implements ILcdWMSGetFeatureInfoRequestEncoder
Feature info encoder that encodes the features as GML 3.1.1.
The following models are not supported and will be skipped, resulting in an empty GetFeatureInfo response:
- GML 2 or GML 3.2 models, since they can't be transformed to GML 3.1.1.
ILcdDataObjectmodels that already depend on GML (for example: ASTERIX file format), since they can't be transformed to GML 3.1.1
- Since:
- 2026.1
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidencode(ILcdGXYLayerSubsetList aSelectionSublist, OutputStream aOutputStream, ILcdGXYView aGXYView, TLcdWMSRequestContext aWMSRequestContext) Encodes the given selection in theTLcdGXYLayerSubsetListfrom a givenILcdGXYViewand sends it to the givenOutputStream.Returns the content MIME type of the encoder.
-
Constructor Details
-
TLcdWMSGML31GetFeatureInfoEncoder
public TLcdWMSGML31GetFeatureInfoEncoder()
-
-
Method Details
-
getContentType
Description copied from interface:ILcdWMSGetFeatureInfoRequestEncoderReturns the content MIME type of the encoder.- Specified by:
getContentTypein interfaceILcdWMSGetFeatureInfoRequestEncoder- Returns:
- the MIME-type as
String.
-
encode
public void encode(ILcdGXYLayerSubsetList aSelectionSublist, OutputStream aOutputStream, ILcdGXYView aGXYView, TLcdWMSRequestContext aWMSRequestContext) throws jakarta.servlet.ServletException Description copied from interface:ILcdWMSGetFeatureInfoRequestEncoderEncodes the given selection in theTLcdGXYLayerSubsetListfrom a givenILcdGXYViewand sends it to the givenOutputStream.- Specified by:
encodein interfaceILcdWMSGetFeatureInfoRequestEncoder- Parameters:
aSelectionSublist- aTLcdGXYLayerSubsetListcontaining the selection to be encoded.aOutputStream- theOutputStreamto write the output to.aGXYView- theILcdGXYViewin which the elements are selected .aWMSRequestContext- a container for the original request and other related request parameters.- Throws:
jakarta.servlet.ServletException- for writing and sending exceptions.
-