📄 rastersymbolizer.html
字号:
The OverlapBehavior element tells a system how to behave when multiple raster images in a layer overlap each other, for example with satellite-image scenes. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../org/geotools/styling/ShadedRelief.html" title="interface in org.geotools.styling">ShadedRelief</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/styling/RasterSymbolizer.html#getShadedRelief()">getShadedRelief</A></B>()</CODE><BR> The ShadedRelief element selects the application of relief shading (or ?</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/styling/RasterSymbolizer.html#setChannelSelection(org.geotools.styling.ChannelSelection)">setChannelSelection</A></B>(<A HREF="../../../org/geotools/styling/ChannelSelection.html" title="interface in org.geotools.styling">ChannelSelection</A> channel)</CODE><BR> The ChannelSelection element specifies the false-color channel selection for a multi-spectral raster source (such as a multi-band satellite-imagery source). </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/styling/RasterSymbolizer.html#setColorMap(org.geotools.styling.ColorMap)">setColorMap</A></B>(<A HREF="../../../org/geotools/styling/ColorMap.html" title="interface in org.geotools.styling">ColorMap</A> colorMap)</CODE><BR> The ColorMap element defines either the colors of a palette-type raster source or the mapping of fixed-numeric pixel values to colors. </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/styling/RasterSymbolizer.html#setContrastEnhancement(org.geotools.styling.ContrastEnhancement)">setContrastEnhancement</A></B>(<A HREF="../../../org/geotools/styling/ContrastEnhancement.html" title="interface in org.geotools.styling">ContrastEnhancement</A> ce)</CODE><BR> The ContrastEnhancement element defines contrast enhancement for a channel of a false-color image or for a color image. </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/styling/RasterSymbolizer.html#setGeometryPropertyName(java.lang.String)">setGeometryPropertyName</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> geometryPropertyName)</CODE><BR> The interpretation of Geometry is system-dependent, as raster data may be organized differently from feature data, though omitting this element selects the default raster-data source. </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/styling/RasterSymbolizer.html#setImageOutline(org.geotools.styling.Symbolizer)">setImageOutline</A></B>(<A HREF="../../../org/geotools/styling/Symbolizer.html" title="interface in org.geotools.styling">Symbolizer</A> symbolizer)</CODE><BR> The ImageOutline element specifies that individual source rasters in a multi-raster set (such as a set of satellite-image scenes) should be outlined with either a LineStringSymbol or PolygonSymbol. </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/styling/RasterSymbolizer.html#setOpacity(org.geotools.filter.Expression)">setOpacity</A></B>(<A HREF="../../../org/geotools/filter/Expression.html" title="interface in org.geotools.filter">Expression</A> opacity)</CODE><BR> sets the opacity for the coverage, it has the usual meaning.</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/styling/RasterSymbolizer.html#setOverlap(org.geotools.filter.Expression)">setOverlap</A></B>(<A HREF="../../../org/geotools/filter/Expression.html" title="interface in org.geotools.filter">Expression</A> overlap)</CODE><BR> The OverlapBehavior element tells a system how to behave when multiple raster images in a layer overlap each other, for example with satellite-image scenes. </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/styling/RasterSymbolizer.html#setShadedRelief(org.geotools.styling.ShadedRelief)">setShadedRelief</A></B>(<A HREF="../../../org/geotools/styling/ShadedRelief.html" title="interface in org.geotools.styling">ShadedRelief</A> relief)</CODE><BR> The ShadedRelief element selects the application of relief shading (or ?</TD></TR></TABLE> <A NAME="methods_inherited_from_class_Symbolizer"><!-- --></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/styling/Symbolizer.html" title="interface in org.geotools.styling">Symbolizer</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../org/geotools/styling/Symbolizer.html#accept(org.geotools.styling.StyleVisitor)">accept</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_GTComponent"><!-- --></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/event/GTComponent.html" title="interface in org.geotools.event">GTComponent</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../org/geotools/event/GTComponent.html#changed(org.geotools.event.GTDelta)">changed</A>, <A HREF="../../../org/geotools/event/GTComponent.html#getNote()">getNote</A>, <A HREF="../../../org/geotools/event/GTComponent.html#getParent()">getParent</A>, <A HREF="../../../org/geotools/event/GTComponent.html#removed(org.geotools.event.GTDelta)">removed</A>, <A HREF="../../../org/geotools/event/GTComponent.html#setNote(org.geotools.event.GTNote)">setNote</A></CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><!-- ========= 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="setGeometryPropertyName(java.lang.String)"><!-- --></A><H3>setGeometryPropertyName</H3><PRE>public void <B>setGeometryPropertyName</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> geometryPropertyName)</PRE><DL><DD>The interpretation of Geometry is system-dependent, as raster data may be organized differently from feature data, though omitting this element selects the default raster-data source. Geometry-type transformations are also system-dependent and it is assumed that this capability will be little used.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>geometryPropertyName</CODE> - the name of the Geometry</DL></DD></DL><HR><A NAME="getGeometryPropertyName()"><!-- --></A><H3>getGeometryPropertyName</H3><PRE>public <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>getGeometryPropertyName</B>()</PRE><DL><DD>The interpretation of Geometry is system-dependent, as raster data may be organized differently from feature data, though omitting this element selects the default raster-data source. Geometry-type transformations are also system-dependent and it is assumed that this capability will be little used.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the name of the geometry</DL></DD></DL><HR><A NAME="setOpacity(org.geotools.filter.Expression)"><!-- --></A><H3>setOpacity</H3><PRE>public void <B>setOpacity</B>(<A HREF="../../../org/geotools/filter/Expression.html" title="interface in org.geotools.filter">Expression</A> opacity)</PRE><DL><DD>sets the opacity for the coverage, it has the usual meaning.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>opacity</CODE> - An expression which evaluates to the the opacity (0-1)</DL></DD></DL><HR><A NAME="getOpacity()"><!-- --></A><H3>getOpacity</H3><PRE>public <A HREF="../../../org/geotools/filter/Expression.html" title="interface in org.geotools.filter">Expression</A> <B>getOpacity</B>()</PRE><DL><DD>fetch the expresion which evaluates to the opacity fo rthis coverage<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The expression</DL></DD></DL><HR><A NAME="setChannelSelection(org.geotools.styling.ChannelSelection)"><!-- --></A><H3>setChannelSelection</H3><PRE>public void <B>setChannelSelection</B>(<A HREF="../../../org/geotools/styling/ChannelSelection.html" title="interface in org.geotools.styling">ChannelSelection</A> channel)</PRE><DL><DD>The ChannelSelection element specifies the false-color channel selection for a multi-spectral raster source (such as a multi-band satellite-imagery source). Either a channel may be selected to display in each of red, green, and blue, or a single channel may be selected to display in grayscale. (The spelling ?gray? is used since it seems to be more common on the Web than ?grey? by a ratio of about 3:1.) Contrast enhancement may be applied to each channel in isolation. Channels are identified by a system and data-dependent character identifier. Commonly, channels will be labelled as ?1?, ?2?, etc.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>channel</CODE> - the channel selected</DL></DD></DL><HR><A NAME="getChannelSelection()"><!-- --></A><H3>getChannelSelection</H3><PRE>public <A HREF="../../../org/geotools/styling/ChannelSelection.html" title="interface in org.geotools.styling">ChannelSelection</A> <B>getChannelSelection</B>()</PRE><DL><DD>The ChannelSelection element specifies the false-color channel selection for a multi-spectral raster source (such as a multi-band satellite-imagery source). Either a channel may be selected to display in each of red, green, and blue, or a single channel may be selected to display in grayscale. (The spelling ?gray? is used since it seems to be more common on the Web than ?grey? by a ratio of about 3:1.) Contrast enhancement may be applied to each channel in isolation. Channels are identified by a system and data-dependent character identifier. Commonly, channels will be labelled as ?1?, ?2?, etc.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the ChannelSelection object set or null if none is available.</DL></DD></DL><HR><A NAME="setOverlap(org.geotools.filter.Expression)"><!-- --></A><H3>setOverlap</H3><PRE>public void <B>setOverlap</B>(<A HREF="../../../org/geotools/filter/Expression.html" title="interface in org.geotools.filter">Expression</A> overlap)</PRE><DL><DD>The OverlapBehavior element tells a system how to behave when multiple raster images in a layer overlap each other, for example with satellite-image scenes. LATEST_ON_TOP and EARLIEST_ON_TOP refer to the time the scene was captured. AVERAGE means to average multiple scenes together. This can produce blurry results if the source images are not perfectly aligned in their geo-referencing. RANDOM means to select an image (or piece thereof) randomly and place it on top. This can produce crisper results than AVERAGE potentially more efficiently than LATEST_ON_TOP or EARLIEST_ON_TOP. The default behaviour is system-dependent.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>overlap</CODE> - the expression which evaluates to LATEST_ON_TOP, EARLIEST_ON_TOP, AVERAGE or RANDOM</DL></DD></DL><HR><A NAME="getOverlap()"><!-- --></A><H3>getOverlap</H3><PRE>public <A HREF="../../../org/geotools/filter/Expression.html" title="interface in org.geotools.filter">Expression</A> <B>getOverlap</B>()</PRE><DL><DD>The OverlapBehavior element tells a system how to behave when multiple raster images in a layer overlap each other, for example with satellite-image scenes. LATEST_ON_TOP and EARLIEST_ON_TOP refer to the time the scene was captured. AVERAGE means to average multiple scenes together. This can produce blurry results if the source images are not perfectly aligned in their geo-referencing. RANDOM means to select an image (or piece thereof) randomly and place it on top. This can produce crisper results than AVERAGE potentially more efficiently than LATEST_ON_TOP or EARLIEST_ON_TOP. The default behaviour is system-dependent.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The expression which evaluates to LATEST_ON_TOP, EARLIEST_ON_TOP, AVERAGE or RANDOM</DL></DD></DL><HR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -