Difference between revisions of "Layer Symbology"

From GapWiki
Jump to: navigation, search
(Coverage Symbology)
 
Line 1: Line 1:
The Symbology tools/functions are based on supported styles by geoserver. Please consult with [http://docs.geoserver.org/latest/en/user/styling/sld-cookbook GeoServer User manual] for more information.
+
The Symbology functionality (from the My Layers window) is based on styles supported by GeoServer. Please see [http://docs.geoserver.org/latest/en/user/styling/sld-cookbook GeoServer User manual] for more information.
  
==Coverage Symbology==
+
==Point symbology==
  
[[File:Symbology_Raster.JPG|thumb|alt=Main Page|Main Page|800px|center|Figure 1: Symbology window for coverages/rasters]]
+
{| border="0" style="text-align: left;"
 +
|style="width: 50%;"|<b>Point Symbology:</b>
 +
You can '''Add''' or '''Remove''' a rule to the table.
 +
Click '''Graphic''' to modify the symbol and '''Filter''' to modify a filter.
 +
|style="padding:10px"|[[image:new_point_symbology2_80.png|center|style="padding:50px;"|Point Symbology]]
 +
|-
 +
|<b>Point Symbology Filter:</b>
 +
Select the property, condition and value. If there is more than one condition in the Filter window, select the appropriate logical operator (AND, OR, NOT) from the drop-down menu. Click the [[image:statistics_button_70.png]] button to view the statistics of a selected property.
 +
|style="padding:10px"|[[image:new_point_filter2_80.png|center|Point Symbology Filter]]
 +
|-
 +
|<b>Point Symbology Graphic:</b>
 +
Select the symbol, color and opacity.
 +
|style="padding:10px"|[[image:new_point_graphic_80.png|center|Point Symbology Graphic]]
 +
|-
 +
|}
  
You can '''Add''' or '''Remove''' a rule to the table. It is easier to decide on appropriate rules when you look at the '''Statistics''' first. You can then choose the visualization of your layer colors under '''Type'''.
+
==Raster symbology==
  
'''Example:'''
+
{| border="0" style="text-align: left;"
{| class="wikitable"
+
|style="width: 50%;"|<b>Raster Symbology:</b>
 +
You can '''Add''' or '''Remove''' a rule to the table. To decide how to set up appropriate rules, it is often helpful to first look at the '''Statistics'''. You can then choose the color scheme representation under '''Type'''. The default '''Type''' is interpolation (ramp), with the others being '''Intervals''' and '''Values'''. For help in selecting the appropriate type, please refer to [http://docs.geoserver.org/latest/en/user/styling/sld-reference/rastersymbolizer.html#syntax  ColorMap type]. If '''Intervals''' is selected, the first rule in the table should use the '''no data value''' of the coverage.
 +
 
 +
'''Statistics''' displays the cumulative distribution of the values of a raster dataset as well as its <b>mean</b>, <b>median</b> and <b>IQR</b> (interquartile range), which indicates the middle 50% of the dataset.
 +
 
 +
Click '''Apply''' to use the new rules.
 +
|style="padding:10px"|[[image:new_raster_symbology2_70.png|center|style="padding:50px;"|Raster Symbology]]
 
|-
 
|-
|[[image:RasterCumulativeDistribution.JPG|left|frame|Raster Cumulative Distribution]]
 
 
|}
 
|}
  '''X Axis''' are raster values
 
  '''Y Axis''' are cumulative distribution in percentage
 
  '''IQR''' refers to [http://en.wikipedia.org/wiki/Interquartile_range Interquartile range]
 
  
===Type===
+
==Polygon symbology==
  Default '''Type''' is Interpolation ("ramp"). To select the appropriate type please refer to [http://docs.geoserver.org/latest/en/user/styling/sld-reference/rastersymbolizer.html#syntax  ColorMap type].
 
  '''Note:''' If you select '''type''' intervals, the first rule in the table should refer to '''No Data Value''' of the coverage.
 
  
===Apply===
+
{| border="0" style="text-align: left;"
  To apply new rules press '''Apply''' button. If layer is already added to the map, it will be refreshed automatically.
+
|style="width: 50%;"|<b>Polygon Symbology:</b>
 +
You can '''Add''' or '''Remove''' a rule to the table. The '''Fill''' and '''Line''' of polygons can be edited, and '''Filters''' can be applied to these rules using the standard operators (<,>,=<,>=,=). Complete changes by clicking '''Apply'''.
  
===Modify Rule===
+
|style="padding:10px"|[[image:new_polygon_symbologoy_70.png|center|style="padding:50px;"|Raster Symbology]]
  '''Colour:''' To change the colour of certain rule, click on the colour cell.
+
|-
  '''Value:''' Insert a proper value in the corresponding cell.
+
|}
  '''Label:''' Enter the label in the label cell.
+
 
  '''Opacity:''' Opacity value can take any value between 0 and 100. Zero = completely transparent
+
==Symbology Import/Export==
 +
 
 +
{| border="0" style="text-align: left;"
 +
|style="width: 50%;"|<b>Polygon Symbology:</b>
 +
The Import/Export function allows you to save your symbology settings to use with another layer. Symbologies are saved separately for the three data types of point, raster and polygon. When importing a symbology, the variable name must be the same as that of the saved symbology.
 +
 
 +
To export the current symbology, click on <b>Import/Export</b> and then <b>Export</b>.
  
==Point Symbology==
+
To import a symbology, click on <b>Import/Export</b>, the saved symbology and then <b>Import</b>.
  
{| class="wikitable"
+
|style="padding:10px"|[[image:symbology_importExport_70.png|center|style="padding:50px;"|Import/Export Symbology]]
 
|-
 
|-
|[[image:Symbology_Point.JPG|left|frame|Symbology window for points]]
 
|[[image:PointSymbologyFilter.JPG|left|frame|Point Symbology Filter]]
 
|[[image:PointSymbologyGraphic.JPG|left|frame|Point Symbology Graphic]]
 
 
|}
 
|}
===Add Rule===
 
  Adds a default rule to the table.
 
===Remove Rule===
 
  Select a Rule (table row) and press remove button.
 
 
===Modify Rule===
 
  To modify rule, select the rule and change its Filter or graphic.
 
'''Modify Filter:'''
 
  To modify the filter press '''Filter''' button. In the Filter window, select the property, condition and value to be used.
 
  If there are more than one condition in a Filter window, they    must be connected by selecting a proper condition from the dropdown list in the toolbar.
 
  To see the statistics of selected property, use [[image:chart_column.png]] icon.
 
  '''Modify Graphic:'''
 
    In the Graphic window, select the marker, its color and its opacity.
 
===Apply===
 
  To apply new rules press '''Apply''' button. If layer is already added to the map, it will be refreshed automatically.
 
 
==Polygon Symbology==
 
'''To be Developed'''
 

Latest revision as of 23:02, 7 August 2018

The Symbology functionality (from the My Layers window) is based on styles supported by GeoServer. Please see GeoServer User manual for more information.

Point symbology

Point Symbology:

You can Add or Remove a rule to the table. Click Graphic to modify the symbol and Filter to modify a filter.

Point Symbology
Point Symbology Filter:

Select the property, condition and value. If there is more than one condition in the Filter window, select the appropriate logical operator (AND, OR, NOT) from the drop-down menu. Click the Statistics button 70.png button to view the statistics of a selected property.

Point Symbology Filter
Point Symbology Graphic:

Select the symbol, color and opacity.

Point Symbology Graphic

Raster symbology

Raster Symbology:

You can Add or Remove a rule to the table. To decide how to set up appropriate rules, it is often helpful to first look at the Statistics. You can then choose the color scheme representation under Type. The default Type is interpolation (ramp), with the others being Intervals and Values. For help in selecting the appropriate type, please refer to ColorMap type. If Intervals is selected, the first rule in the table should use the no data value of the coverage.

Statistics displays the cumulative distribution of the values of a raster dataset as well as its mean, median and IQR (interquartile range), which indicates the middle 50% of the dataset.

Click Apply to use the new rules.

Raster Symbology

Polygon symbology

Polygon Symbology:

You can Add or Remove a rule to the table. The Fill and Line of polygons can be edited, and Filters can be applied to these rules using the standard operators (<,>,=<,>=,=). Complete changes by clicking Apply.

Raster Symbology

Symbology Import/Export

Polygon Symbology:

The Import/Export function allows you to save your symbology settings to use with another layer. Symbologies are saved separately for the three data types of point, raster and polygon. When importing a symbology, the variable name must be the same as that of the saved symbology.

To export the current symbology, click on Import/Export and then Export.

To import a symbology, click on Import/Export, the saved symbology and then Import.

Import/Export Symbology