|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.data.wms.WebMapServer.LayerInfo
public class WebMapServer.LayerInfo
Quickly describe a layer.
Method Summary | |
---|---|
ReferencedEnvelope |
getBounds()
Bounding box of the resource (in the native CRS), envelope isNull otherwise. |
org.opengis.referencing.crs.CoordinateReferenceSystem |
getCRS()
Returns the CRS of the resource if known. |
java.lang.String |
getDescription()
Resource's description or abstract. |
javax.swing.Icon |
getIcon()
|
java.util.Set<java.lang.String> |
getKeywords()
Keywords associated with this resource |
java.lang.String |
getName()
Name of the resource with the context of its service. |
java.net.URI |
getSchema()
A URI used to identify the resource type. |
java.lang.String |
getTitle()
Resource's title. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public ReferencedEnvelope getBounds()
ResourceInfo
You can transform this envelope to Lat Long with a single line:
info.getBounds().transform( DefaultGeographicCRS.WGS84, true );
Here are several other options for LatLong:
getBounds
in interface ResourceInfo
public org.opengis.referencing.crs.CoordinateReferenceSystem getCRS()
ResourceInfo
Known Mappings:
getCRS
in interface ResourceInfo
null
if unknown.public java.lang.String getDescription()
ResourceInfo
Known Mappings:
getDescription
in interface ResourceInfo
null
if unavailablepublic javax.swing.Icon getIcon()
public java.util.Set<java.lang.String> getKeywords()
ResourceInfo
Known Mappings:
getKeywords
in interface ResourceInfo
null
unavailable.public java.lang.String getName()
ResourceInfo
Known Mappings:
getName
in interface ResourceInfo
public java.net.URI getSchema()
ResourceInfo
Known Mappings:
getSchema
in interface ResourceInfo
public java.lang.String getTitle()
ResourceInfo
The title is human readable text representing the resource, in the current locale if available.
getTitle
in interface ResourceInfo
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |