Class WmsGetFeatureInfoContext

java.lang.Object
com.luciad.formats.wms.WmsGetFeatureInfoContext
All Implemented Interfaces:
AutoCloseable

public final class WmsGetFeatureInfoContext extends Object implements AutoCloseable
Represents the information required to describe a WMS GetFeatureInfo request.

A WmsGetFeatureInfoContext encapsulates:

  • A WmsGetMapContext to describe for which corresponding GetMap request this GetFeatureInfo request is performed
  • X and Y coordinates describing the position within the GetMap extent
Since:
2026.1
  • Method Details

    • finalize

      protected void finalize()
      Overrides:
      finalize in class Object
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
    • getX

      public long getX()
      Returns the WMS X Coordinate for a GetFeatureInfo request.

      It determines the position within the GetMap's bounds where the feature info is requested. This coordinate is a pixel value within the GetMap's [0, width].

      Returns:
      the WMS X Coordinate for a GetFeatureInfo request.
    • getY

      public long getY()
      Returns the WMS Y Coordinate for a GetFeatureInfo request.

      It determines the position within the GetMap's bounds where the feature info is requested. This coordinate is a pixel value within the GetMap's [0, height].

      Returns:
      the WMS Y Coordinate for a GetFeatureInfo request.
    • getMapContext

      @NotNull public WmsGetMapContext getMapContext()
      Returns the GetMap context in which the GetFeatureInfo request is done.
      Returns:
      the GetMap context in which the GetFeatureInfo request is done.