Package com.luciad.formats.wms
Class WmsGetFeatureInfoContext
java.lang.Object
com.luciad.formats.wms.WmsGetFeatureInfoContext
- All Implemented Interfaces:
AutoCloseable
Represents the information required to describe a
WMS GetFeatureInfo request.
A WmsGetFeatureInfoContext encapsulates:
- A
WmsGetMapContextto 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 Summary
Modifier and TypeMethodDescriptionvoidclose()protected voidfinalize()Returns the GetMap context in which the GetFeatureInfo request is done.longgetX()Returns the WMS XCoordinatefor a GetFeatureInfo request.longgetY()Returns the WMS YCoordinatefor a GetFeatureInfo request.
-
Method Details
-
finalize
protected void finalize() -
close
public void close()- Specified by:
closein interfaceAutoCloseable
-
getX
public long getX()Returns the WMS XCoordinatefor 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
Coordinatefor a GetFeatureInfo request.
-
getY
public long getY()Returns the WMS YCoordinatefor 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
Coordinatefor a GetFeatureInfo request.
-
getMapContext
Returns the GetMap context in which the GetFeatureInfo request is done.- Returns:
- the GetMap context in which the GetFeatureInfo request is done.
-