📄 getmaprequest.html
字号:
<TD><CODE><B><A HREF="../../../../../org/geotools/data/wms/request/GetMapRequest.html#SRS">SRS</A></B></CODE><BR> Represents the SRS parameter</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/wms/request/GetMapRequest.html#STYLES">STYLES</A></B></CODE><BR> Represents the STYLES parameter</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/wms/request/GetMapRequest.html#TIME">TIME</A></B></CODE><BR> Represents the TIME parameter</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/wms/request/GetMapRequest.html#TRANSPARENT">TRANSPARENT</A></B></CODE><BR> Represents the TRANSPARENT parameter</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/wms/request/GetMapRequest.html#WFS">WFS</A></B></CODE><BR> Represents the WFS parameter mentioned briefly in 1.1.1</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/wms/request/GetMapRequest.html#WIDTH">WIDTH</A></B></CODE><BR> Represents the WIDTH parameter</TD></TR></TABLE> <A NAME="fields_inherited_from_class_Request"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Fields inherited from interface <A HREF="../../../../../org/geotools/data/ows/Request.html" title="interface in org.geotools.data.ows">Request</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../../org/geotools/data/ows/Request.html#REQUEST">REQUEST</A>, <A HREF="../../../../../org/geotools/data/ows/Request.html#SERVICE">SERVICE</A>, <A HREF="../../../../../org/geotools/data/ows/Request.html#VERSION">VERSION</A>, <A HREF="../../../../../org/geotools/data/ows/Request.html#WMTVER">WMTVER</A></CODE></TD></TR></TABLE> <!-- ======== CONSTRUCTOR SUMMARY ======== --><!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Method Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/wms/request/GetMapRequest.html#addLayer(org.geotools.data.ows.Layer)">addLayer</A></B>(<A HREF="../../../../../org/geotools/data/ows/Layer.html" title="class in org.geotools.data.ows">Layer</A> layer)</CODE><BR> Adds a Layer to the list of layers to be requested. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/wms/request/GetMapRequest.html#addLayer(org.geotools.data.ows.Layer, java.lang.String)">addLayer</A></B>(<A HREF="../../../../../org/geotools/data/ows/Layer.html" title="class in org.geotools.data.ows">Layer</A> layer, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> styleName)</CODE><BR> Adds a Layer to the list of layers to be requested. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/wms/request/GetMapRequest.html#addLayer(org.geotools.data.ows.Layer, org.opengis.layer.Style)">addLayer</A></B>(<A HREF="../../../../../org/geotools/data/ows/Layer.html" title="class in org.geotools.data.ows">Layer</A> layer, Style style)</CODE><BR> Adds a Layer to the list of layers to be requested. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/wms/request/GetMapRequest.html#addLayer(java.lang.String, java.lang.String)">addLayer</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> layerName, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> styleName)</CODE><BR> Adds a Layer to the list of layers to be requested. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/wms/request/GetMapRequest.html#addLayer(java.lang.String, org.opengis.layer.Style)">addLayer</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> layerName, Style style)</CODE><BR> Adds a Layer to the list of layers to be requested. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/wms/request/GetMapRequest.html#setBBox(org.geotools.data.ows.CRSEnvelope)">setBBox</A></B>(<A HREF="../../../../../org/geotools/data/ows/CRSEnvelope.html" title="class in org.geotools.data.ows">CRSEnvelope</A> box)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/wms/request/GetMapRequest.html#setBBox(java.lang.String)">setBBox</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> bbox)</CODE><BR> From the Web Map Service Implementation Specification: "The required BBOX parameter allows a Client to request a particular Bounding Box. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/wms/request/GetMapRequest.html#setBGColour(java.lang.String)">setBGColour</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> bgColour)</CODE><BR> Specifies the colour, in hexidecimal format, to be used as the background of the map. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/wms/request/GetMapRequest.html#setDimensions(int, int)">setDimensions</A></B>(int width, int height)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/wms/request/GetMapRequest.html#setDimensions(java.lang.String, java.lang.String)">setDimensions</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> width, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> height)</CODE><BR> From the Web Map Service Implementation Specification: "The required WIDTH and HEIGHT parameters specify the size in integer pixels of the map image to be produced. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/wms/request/GetMapRequest.html#setElevation(java.lang.String)">setElevation</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> elevation)</CODE><BR> See the Web Map Server Implementation Specification 1.1.1, Annex C, in particular section C.4</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/wms/request/GetMapRequest.html#setExceptions(java.lang.String)">setExceptions</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> exceptions)</CODE><BR> The exceptions type specifies what format the server should return exceptions in. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/wms/request/GetMapRequest.html#setFormat(java.lang.String)">setFormat</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> format)</CODE><BR> From the Web Map Service Implementation Specification: "The required FORMAT parameter states the desired format of the response to an operation. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/wms/request/GetMapRequest.html#setProperties(java.util.Properties)">setProperties</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Properties.html" title="class or interface in java.util">Properties</A> p)</CODE><BR> create a request using a properties file to save time</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/wms/request/GetMapRequest.html#setSampleDimensionValue(java.lang.String, java.lang.String)">setSampleDimensionValue</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> name, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> value)</CODE><BR> See the Web Map Server Implementation Specification 1.1.1, Annex C, in particular section C.4.2 Example use: <code>request.setSampleDimensionValue("DIM_WAVELENGTH", "4000");</code> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/wms/request/GetMapRequest.html#setSRS(java.lang.String)">setSRS</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> srs)</CODE><BR> From the Web Map Service Implementation Specification: "The required SRS parameter states which Spatial Reference System applies to the values in the BBOX parameter. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/wms/request/GetMapRequest.html#setTime(java.lang.String)">setTime</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> time)</CODE><BR> See the Web Map Server Implementation Specification 1.1.1, Annexes B and C</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/wms/request/GetMapRequest.html#setTransparent(boolean)">setTransparent</A></B>(boolean transparent)</CODE><BR> From the Web Map Service Implementation Specification: "The optional TRANSPARENT parameter specifies whether the map background is to be made transparent or not. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/wms/request/GetMapRequest.html#setVendorSpecificParameter(java.lang.String, java.lang.String)">setVendorSpecificParameter</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> name, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> value)</CODE><BR> Used to implement vendor specific parameters. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/wms/request/GetMapRequest.html#setVersion(java.lang.String)">setVersion</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> version)</CODE><BR> Sets the version number of the request.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_Request"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface <A HREF="../../../../../org/geotools/data/ows/Request.html" title="interface in org.geotools.data.ows">Request</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../../org/geotools/data/ows/Request.html#createResponse(java.lang.String, java.io.InputStream)">createResponse</A>, <A HREF="../../../../../org/geotools/data/ows/Request.html#getFinalURL()">getFinalURL</A>, <A HREF="../../../../../org/geotools/data/ows/Request.html#getPostContentType()">getPostContentType</A>, <A HREF="../../../../../org/geotools/data/ows/Request.html#getProperties()">getProperties</A>, <A HREF="../../../../../org/geotools/data/ows/Request.html#performPostOutput(java.io.OutputStream)">performPostOutput</A>, <A HREF="../../../../../org/geotools/data/ows/Request.html#requiresPost()">requiresPost</A>, <A HREF="../../../../../org/geotools/data/ows/Request.html#setProperty(java.lang.String, java.lang.String)">setProperty</A></CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="ELEVATION"><!-- --></A><H3>ELEVATION</H3><PRE>public static final <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>ELEVATION</B></PRE><DL><DD>Represents the ELEVATION parameter<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.geotools.data.wms.request.GetMapRequest.ELEVATION">Constant Field Values</A></DL></DL><HR><A NAME="TIME"><!-- --></A><H3>TIME</H3><PRE>public static final <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>TIME</B></PRE><DL><DD>Represents the TIME parameter<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.geotools.data.wms.request.GetMapRequest.TIME">Constant Field Values</A></DL></DL><HR><A NAME="EXCEPTIONS"><!-- --></A><H3>EXCEPTIONS</H3><PRE>public static final <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>EXCEPTIONS</B></PRE><DL><DD>Represents the EXCEPTIONS parameter<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.geotools.data.wms.request.GetMapRequest.EXCEPTIONS">Constant Field Values</A></DL></DL><HR><A NAME="BGCOLOR"><!-- --></A><H3>BGCOLOR</H3><PRE>public static final <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>BGCOLOR</B></PRE><DL><DD>Represents the BGCOLOR parameter<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.geotools.data.wms.request.GetMapRequest.BGCOLOR">Constant Field Values</A></DL></DL><HR><A NAME="TRANSPARENT"><!-- --></A><H3>TRANSPARENT</H3><PRE>public static final <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>TRANSPARENT</B></PRE><DL><DD>Represents the TRANSPARENT parameter<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.geotools.data.wms.request.GetMapRequest.TRANSPARENT">Constant Field Values</A></DL></DL><HR><A NAME="WIDTH"><!-- --></A><H3>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -