📄 getmaprequest.html
字号:
WIDTH</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>WIDTH</B></PRE><DL><DD>Represents the WIDTH parameter<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.geotools.data.wms.request.GetMapRequest.WIDTH">Constant Field Values</A></DL></DL><HR><A NAME="HEIGHT"><!-- --></A><H3>HEIGHT</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>HEIGHT</B></PRE><DL><DD>Represents the HEIGHT parameter<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.geotools.data.wms.request.GetMapRequest.HEIGHT">Constant Field Values</A></DL></DL><HR><A NAME="FORMAT"><!-- --></A><H3>FORMAT</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>FORMAT</B></PRE><DL><DD>Represents the FORMAT parameter<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.geotools.data.wms.request.GetMapRequest.FORMAT">Constant Field Values</A></DL></DL><HR><A NAME="BBOX"><!-- --></A><H3>BBOX</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>BBOX</B></PRE><DL><DD>Represents the BBOX parameter<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.geotools.data.wms.request.GetMapRequest.BBOX">Constant Field Values</A></DL></DL><HR><A NAME="SRS"><!-- --></A><H3>SRS</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>SRS</B></PRE><DL><DD>Represents the SRS parameter<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.geotools.data.wms.request.GetMapRequest.SRS">Constant Field Values</A></DL></DL><HR><A NAME="LAYERS"><!-- --></A><H3>LAYERS</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>LAYERS</B></PRE><DL><DD>Represents the LAYERS parameter<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.geotools.data.wms.request.GetMapRequest.LAYERS">Constant Field Values</A></DL></DL><HR><A NAME="STYLES"><!-- --></A><H3>STYLES</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>STYLES</B></PRE><DL><DD>Represents the STYLES parameter<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.geotools.data.wms.request.GetMapRequest.STYLES">Constant Field Values</A></DL></DL><HR><A NAME="EXCEPTION_XML"><!-- --></A><H3>EXCEPTION_XML</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>EXCEPTION_XML</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.geotools.data.wms.request.GetMapRequest.EXCEPTION_XML">Constant Field Values</A></DL></DL><HR><A NAME="EXCEPTION_INIMAGE"><!-- --></A><H3>EXCEPTION_INIMAGE</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>EXCEPTION_INIMAGE</B></PRE><DL><DD>Represents the EXCEPTION_INIMAGE value<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.geotools.data.wms.request.GetMapRequest.EXCEPTION_INIMAGE">Constant Field Values</A></DL></DL><HR><A NAME="EXCEPTION_BLANK"><!-- --></A><H3>EXCEPTION_BLANK</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>EXCEPTION_BLANK</B></PRE><DL><DD>Represents the EXCEPTION_BLANK value<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.geotools.data.wms.request.GetMapRequest.EXCEPTION_BLANK">Constant Field Values</A></DL></DL><HR><A NAME="SLD"><!-- --></A><H3>SLD</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>SLD</B></PRE><DL><DD>Represents the SLD parameter<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.geotools.data.wms.request.GetMapRequest.SLD">Constant Field Values</A></DL></DL><HR><A NAME="SLD_BODY"><!-- --></A><H3>SLD_BODY</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>SLD_BODY</B></PRE><DL><DD>Represents the SLD_BODY parameter<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.geotools.data.wms.request.GetMapRequest.SLD_BODY">Constant Field Values</A></DL></DL><HR><A NAME="WFS"><!-- --></A><H3>WFS</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>WFS</B></PRE><DL><DD>Represents the WFS parameter mentioned briefly in 1.1.1<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.geotools.data.wms.request.GetMapRequest.WFS">Constant Field Values</A></DL></DL><HR><A NAME="REMOTE_OWS_TYPE"><!-- --></A><H3>REMOTE_OWS_TYPE</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>REMOTE_OWS_TYPE</B></PRE><DL><DD>Represents REMOTE_OWS_TYPE parameter<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.geotools.data.wms.request.GetMapRequest.REMOTE_OWS_TYPE">Constant Field Values</A></DL></DL><HR><A NAME="REMOVE_OWS_URL"><!-- --></A><H3>REMOVE_OWS_URL</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>REMOVE_OWS_URL</B></PRE><DL><DD>Represents REMOTE_OWS_URL parameter<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.geotools.data.wms.request.GetMapRequest.REMOVE_OWS_URL">Constant Field Values</A></DL></DL><HR><A NAME="REMOTE_OWS_WFS"><!-- --></A><H3>REMOTE_OWS_WFS</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>REMOTE_OWS_WFS</B></PRE><DL><DD><code>REMOTE_OWS_WFS</code> indicates WFS as a REMOTE_OWS_TYPE<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.geotools.data.wms.request.GetMapRequest.REMOTE_OWS_WFS">Constant Field Values</A></DL></DL><HR><A NAME="REMOTE_OWS_WCS"><!-- --></A><H3>REMOTE_OWS_WCS</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>REMOTE_OWS_WCS</B></PRE><DL><DD><code>REMOTE_OWS_WCS</code> indicates WCS as a REMOTE_OWS_TYPE<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.geotools.data.wms.request.GetMapRequest.REMOTE_OWS_WCS">Constant Field Values</A></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="setVersion(java.lang.String)"><!-- --></A><H3>setVersion</H3><PRE>public void <B>setVersion</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)</PRE><DL><DD>Sets the version number of the request.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>version</CODE> - A String indicting a WMS Version ("1.0.0", "1.1.0", "1.1.1", "1.3.0", etc.)</DL></DD></DL><HR><A NAME="addLayer(org.geotools.data.ows.Layer, org.opengis.layer.Style)"><!-- --></A><H3>addLayer</H3><PRE>public void <B>addLayer</B>(<A HREF="../../../../../org/geotools/data/ows/Layer.html" title="class in org.geotools.data.ows">Layer</A> layer, Style style)</PRE><DL><DD>Adds a Layer to the list of layers to be requested. This layer will be drawn below any previously added layers.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>layer</CODE> - the Layer to use<DD><CODE>style</CODE> - the style to use. If it is null, the default style is used.</DL></DD></DL><HR><A NAME="addLayer(java.lang.String, org.opengis.layer.Style)"><!-- --></A><H3>addLayer</H3><PRE>public void <B>addLayer</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)</PRE><DL><DD>Adds a Layer to the list of layers to be requested. This layer will be drawn below any previously added layers.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>layerName</CODE> - the Layer to use<DD><CODE>style</CODE> - the style to use. If it is null, the default style is used.</DL></DD></DL><HR><A NAME="addLayer(java.lang.String, java.lang.String)"><!-- --></A><H3>addLayer</H3><PRE>public void <B>addLayer</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)</PRE><DL><DD>Adds a Layer to the list of layers to be requested. This layer will be drawn below any previously added layers.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>layerName</CODE> - the name of the layer to use<DD><CODE>styleName</CODE> - the style to use to draw the layer, can also be NULL, "" or "default"</DL></DD></DL><HR><A NAME="addLayer(org.geotools.data.ows.Layer, java.lang.String)"><!-- --></A><H3>addLayer</H3><PRE>public void <B>addLayer</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)</PRE><DL><DD>Adds a Layer to the list of layers to be requested. This layer will be drawn below any previously added layers.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>layer</CODE> - the Layer to use<DD><CODE>styleName</CODE> - the style to use to draw the layer, can also be NULL, "" or "default"</DL></DD></DL><HR><A NAME="addLayer(org.geotools.data.ows.Layer)"><!-- --></A><H3>addLayer</H3><PRE>public void <B>addLayer</B>(<A HREF="../../../../../org/geotools/data/ows/Layer.html" title="class in org.geotools.data.ows">Layer</A> layer)</PRE><DL><DD>Adds a Layer to the list of layers to be requested. This layer will be drawn below any previously added layers. The style will be the default one.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>layer</CODE> - the Layer to use</DL></DD></DL><HR><A NAME="setSRS(java.lang.String)"><!-- --></A><H3>setSRS</H3><PRE>public void <B>setSRS</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)</PRE><DL><DD>From the Web Map Service Implementation Specification: "The required SRS parameter states which Spatial Reference System applies to the values in the BBOX parameter. The value of the SRS parameter shall be on of the values defined in the character data section of an <SRS> element defined or inherited by the requested layer. The same SRS applies to all layers in a single request. If the WMS has declared SRS=NONE for a Layer, then the Layer does not have a well-defined spatial reference system and should not be shown in conjunction with other layers. The client shall specify SRS as "none" in the GetMap request and the Server may issue a Service Exception otherwise."<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>srs</CODE> - A String indicating the Spatial Reference System to render the layers in.</DL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -