|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.data.wms.WMSUtils
public class WMSUtils
Provides miscellaneous utility methods for use with WMSs.
Constructor Summary | |
---|---|
WMSUtils()
|
Method Summary | |
---|---|
static java.util.Set |
findCommonEPSGs(java.util.List layers)
Given a list of type Layer, return all EPSG codes that is supported by all of the layers. |
static Layer[] |
getNamedLayers(WMSCapabilities capabilities)
Utility method to return each layer that has a name. |
static java.util.Set |
getQueryableLayers(WMSCapabilities capabilities)
|
static java.util.Set |
getSRSs(WMSCapabilities capabilities)
|
static java.lang.String |
matchEPSG(org.opengis.referencing.crs.CoordinateReferenceSystem crs,
java.util.Set codes)
Given a CRS and a Set of type String consisting of EPSG CRS codes (such as "EPSG:4326"), it will check the transform that exists between each EPSG code's CRS and the given CRS. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WMSUtils()
Method Detail |
---|
public static Layer[] getNamedLayers(WMSCapabilities capabilities)
public static java.util.Set getQueryableLayers(WMSCapabilities capabilities)
public static java.util.Set getSRSs(WMSCapabilities capabilities)
public static java.util.Set findCommonEPSGs(java.util.List layers)
layers
- A List of type Layer
public static java.lang.String matchEPSG(org.opengis.referencing.crs.CoordinateReferenceSystem crs, java.util.Set codes)
crs
- a CRS that is to be compared to each EPSG code in codescodes
- a Set of type String containing EPSG codes
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |