| java.lang.Object org.vfny.geoserver.wms.responses.map.kml.KMLUtils
KMLUtils | public class KMLUtils (Code) | | Some convenience methods used by the kml transformers.
author: Justin Deoliveira, The Open Planning Project, jdeolive@openplans.orgWMSRequests |
Method Summary | |
public static Attributes | attributes(String[] nameValuePairs) Creates sax attributes from an array of key value pairs. | public static String | getLegendGraphicUrl(WMSMapContext mapContext, MapLayer mapLayer, String[] kvp) Encodes the url for a GetLegendGraphic request from a map context + map layer. | public static String | getMapUrl(WMSMapContext mapContext, MapLayer mapLayer, Envelope bbox, String[] kvp, boolean tile) Encodes the url of a GetMap request from a map context + map layer.
If the mapLayer argument is null , the request is
made including all layers in the mapContexT.
If the bbox argument is null . | public static String | getMapUrl(WMSMapContext mapContext, MapLayer mapLayer, boolean tile) Encodes the url of a GetMap request from a map context + map layer. |
attributes | public static Attributes attributes(String[] nameValuePairs)(Code) | | Creates sax attributes from an array of key value pairs.
Parameters: nameValuePairs - Alternating key value pair array. |
getLegendGraphicUrl | public static String getLegendGraphicUrl(WMSMapContext mapContext, MapLayer mapLayer, String[] kvp)(Code) | | Encodes the url for a GetLegendGraphic request from a map context + map layer.
Parameters: mapContext - The map context. Parameters: mapLayer - The map layer. Parameters: kvp - Additional or overidding kvp parameters, may be null A map containing all the key value pairs for a GetLegendGraphic request.WMSRequests.getGetLegendGraphicUrl(WMSMapContextMapLayerString[]) |
getMapUrl | public static String getMapUrl(WMSMapContext mapContext, MapLayer mapLayer, Envelope bbox, String[] kvp, boolean tile)(Code) | | Encodes the url of a GetMap request from a map context + map layer.
If the mapLayer argument is null , the request is
made including all layers in the mapContexT.
If the bbox argument is null .
WMSMapContext.getAreaOfInterest is used for the bbox parameter.
Parameters: mapContext - The map context. Parameters: mapLayer - The Map layer, may be null . Parameters: bbox - The bounding box of the request, may be null . Parameters: kvp - Additional or overidding kvp parameters, may be null Parameters: tile - Flag controlling wether the request should be made against tile cache The full url for a getMap request.WMSRequests.getGetMapUrl(WMSMapContextMapLayerEnvelopeString[]) |
getMapUrl | public static String getMapUrl(WMSMapContext mapContext, MapLayer mapLayer, boolean tile)(Code) | | Encodes the url of a GetMap request from a map context + map layer.
If the mapLayer argument is null , the request is
made including all layers in the mapContexT.
Parameters: mapContext - The map context. Parameters: mapLayer - The Map layer, may be null Parameters: kvp - Additional or overidding kvp parameters, may be null Parameters: tile - Flag controlling wether the request should be made against tile cache The full url for a getMap request.WMSRequests.getGetMapUrl(WMSMapContextMapLayerEnvelopeString[]) |
|
|