Class TLcdOGCWMSCommandDispatcherFactory


public class TLcdOGCWMSCommandDispatcherFactory extends ALcdOGCWMSCommandDispatcherFactory
This factory class creates a default command dispatcher following the OGC WMS specification. This class provides sensible default settings for data formats supported within the Luciad product suite.

Required implementations are picked up through the TLcdServiceLoader for the following interfaces:

You can replace them by making your own implementation and annotating it with a higher priority than the default ones (see LcdService).

This class is a good candidate for making extensions and customizations. Overriding the method ALcdOGCWMSCommandDispatcherFactory.createWMSCapabilitiesProvider(jakarta.servlet.ServletConfig, com.luciad.wms.server.ILcdModelProvider, com.luciad.wms.server.TLcdWMSCommandDispatcherContext, com.luciad.wms.server.TLcdOGCWMSCommandDispatcher) allows to return a capabilities provider from your own configuration source and to ensure to always keep it up-to-date whenever the configuration changes.

Please also have a look at the class documentation of ALcdOGCWMSCommandDispatcherFactory.

Since:
2017.0
  • Constructor Details

    • TLcdOGCWMSCommandDispatcherFactory

      public TLcdOGCWMSCommandDispatcherFactory()
  • Method Details

    • createWMSGXYViewFactory

      protected TLcdWMSGXYViewFactory createWMSGXYViewFactory(jakarta.servlet.ServletConfig aServletConfig)
      Creates an TLcdWMSGXYViewFactory that is used to create and configure views in the WMS to render requested maps.

      Returns an extension of TLcdWMSGXYViewFactory that configures a view label painter on each view (map request) to achieve label decluttering and to avoid labels being painted over the view border; the latter avoids truncated label behavior when query the WMS with a tiled approach.

      Overrides:
      createWMSGXYViewFactory in class ALcdOGCWMSCommandDispatcherFactory
      Parameters:
      aServletConfig - the servlet configuration parameters.
      Returns:
      an TLcdWMSGXYViewFactory that is used to create and configure views in the WMS to render requested maps.