Package com.luciad.wms.client.model
Class TLcdWMSDataSource
java.lang.Object
com.luciad.wms.client.model.TLcdWMSDataSource
- All Implemented Interfaces:
ILcdDataSource
Data source representation for a WMS, with one or more layers.
The WMS data source requires as a minimum:
- The URI location of the WMS.
- One or more layers or a Styled Layer Descriptor.
- Since:
- 2017.0
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA builder to createTLcdWMSDataSourceinstances.static final classRepresentation of a WMS layer. -
Method Summary
Modifier and TypeMethodDescriptionReturns abuilderpre-initialized with the values of this instance.booleanReturns a string description of the data source.Returns the format that should be used when decoding the WMS layer.Returns the list of WMS layers to load.Returns the Styled Layer Descriptor.Returns the Styled Layer Descriptor as string representation.getURI()Returns the URI of the WMS server.inthashCode()booleanReturns true if the bounding box coordinates should be inverted in case the world reference of the request is EPSG:4326 and the WMS version is 1.3.0.booleanReturns if the WMS is request to return an image with a transparent background.static TLcdWMSDataSource.BuilderReturns abuilderto create new instances.toString()
-
Method Details
-
getDescription
Description copied from interface:ILcdDataSourceReturns a string description of the data source. This will typically be used in a GUI, or in error and warning messages.- Specified by:
getDescriptionin interfaceILcdDataSource- Returns:
- a String describing the data source.
-
newBuilder
Returns abuilderto create new instances.- Returns:
- A builder.
-
asBuilder
Returns abuilderpre-initialized with the values of this instance.- Returns:
- A builder initialized to copy this object.
-
getURI
Returns the URI of the WMS server.- Returns:
- The URI of the WMS server.
-
getLayers
Returns the list of WMS layers to load. The layers are ordered from bottom to top.- Returns:
- the list of WMS layers to load.
-
getFormat
Returns the format that should be used when decoding the WMS layer.A
nullreturn value indicates the format should be auto-detected.- Returns:
- The format to use, possibly
null.
-
getSLDStyledLayerDescriptor
Returns the Styled Layer Descriptor. May benull.- Returns:
- the Styled Layer Descriptor. May be
null. - Since:
- 2023.1
-
getStyledLayerDescriptor
Returns the Styled Layer Descriptor as string representation. May benull.- Returns:
- the Styled Layer Descriptor as string representation. May be
null.
-
isTransparent
public boolean isTransparent()Returns if the WMS is request to return an image with a transparent background.- Returns:
- if the WMS is request to return an image with a transparent background.
- See Also:
-
isInvertXYForEPSG4326
public boolean isInvertXYForEPSG4326()Returns true if the bounding box coordinates should be inverted in case the world reference of the request is EPSG:4326 and the WMS version is 1.3.0. This means that instead of x=lon and y=lat, x=lat and y=lon will be used.- Returns:
- True if coordinates are inverted for EPSG:4326.
- See Also:
-
toString
-
equals
-
hashCode
public int hashCode()
-