Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The options described above can be used for definitions of lowerValues that have colors that change gradually between a lowerColor and upperColor. The break option can be used instead for specifying a discrete lowerValue with an absolute color, symbolSize and opaquenessPercentage. Multiple entries may exist. 

 

Anchor
_Toc154574474
_Toc154574474
Anchor
_Toc95297307
_Toc95297307
Definition of background maps

...

This layer supports some extra shape layer elements. See the serverShapLayer serverShapeLayer for a description.


In this section the location of the background shape file can be defined.

  • id : Id of the background map
  • describtiondescription : optional name of the backgroundmap
  • file: path to the shape file
  • visible: whether the layer is visible (true or false)
  • tooltip : information that is displayed when the user is moving the mouse cursor over a shape. To see this information turn on the 'Information' button. 
  • lineColor : color of the line
  • fillColor : color of the area
  • opaquenessPercentage: percentage of opaqueness.
  • lineWidth : width of the line
  • pointSize or pointIconId: allow size adjustment of points in an ESRI shape-layer, resp. displays an icon (as defined in LocationIcons.xml) at the points in the ESRI shapelayer (Notice: add filename extension!)

An example of the various options, that can be completely mixed is shown in the below picture.

 

Since 2017.02 for esriShapeLayers containing points, class breaks are allowed to use icons instead of colors. If both class breaks containing icons and a pointIconId is specified, the pointIconId is used as a default when no class break applies. A config example is shown below. 

Code Block
titleExample config for using class breaks with icons for esriShapeLayer containing points
<esriShapeLayer id="myPointLayer" name="Some Points">
			<file>myPointLayer.shp</file>
			<pointIconId>default_icon.gif</pointIconId>
			<classBreaksAttributeName>ICON_ATTRIBUTE</classBreaksAttributeName>
			<classBreaks>
				<break lowerValue="0" label="low" icon="green_circle.gif"/>
				<break lowerValue="1000" label="high" icon="blue_square.gif"/>
			</classBreaks>
		</esriShapeLayer>
coverageTileArchiveLayer

Since 2013.01 FEWS enables using a compressed grid file for your DEM. The compression is done per scale and in tiles and archived in a zip file, pretty similar as openStreetMap works.
You can prepare a CTA (coverage tile archive) with the F12 menu in the explorer (F12 -> convert -> convert ascii grid to coverage tile archive).
As the resulting file should be in meters (see below why) you may need to specify a conversion factor from eg. centimeter to meter. You can also define an accuracy of the compressed values. Normally centimeter accuracy is more than enough, sometimes you can easily go to decimeters, which compresses much better of course. For synchronization reasons you may want to split the resulting file in parts of e.g. max 2 GB. Usually this is more than enough. The resulting compression is generally a factor of about 10-20. But the main reason is the much better performance of the GUI as per pixel is already determined which value should be plotted.

...