operation Element operations Element

MapViewer Map Request XML API 3-47 location 35,35 location size 16,32 size north_arrow

3.2.14 operation Element

The operation element enables you to perform additional transformations on the original data during rendering. The operation element has the following definition: ELEMENT operation parameter+ ATTLIST parameter name CDATA REQUIRED Currently this element is used in GeoRaster themes described in Section 2.3.4 . You can perform some image processing operations on the original image, such as normalization, equalization, linear stretch, piecewise linear stretch, brightness and contrast adjustment, and threshold change. Example 3–21 specifies the normalization operation with a GeoRaster theme. Example 3–21 Normalization Operation with a GeoRaster Theme theme name=geor_theme jdbc_georaster_query jdbc_srid=0 datasource=mvdemo georaster_table=dem georaster_column=georaster asis=false select georaster from dem jdbc_georaster_query operations operation name=normalize operation operations theme The following code segment shows a manual linear stretch operation. For automatic linear stretch, include the operation element but no parameter elements. operation name=linearstretch parameter name=autostretch value=false parameter name=lowstretch value=50 parameter name=highstretch value=150 operation Table 3–1 lists the image processing operations, their operation element name keyword values, and where relevant associated parameter element values. Table 3–1 Image processing Options for GeoRaster Theme Operations Operation operation name value parameter values Normalization normalize Not applicable Equalization equalize Not applicable Linear stretch linearstretch name=autostretch automatic name=lowstretch low stretch name=highstretch high stretch 3-48 Oracle Fusion Middleware Users Guide for Oracle MapViewer

3.2.15 operations Element

The operations element specifies one or more operation elements described in Section 3.2.14 . The operations element has the following definition: ELEMENT operations oepration+ For a predefined GeoRaster theme, the operations element will be part of the styling rule definition. Example 3–21 shows the styling rules for a GeoRaster theme that uses the normalization operation. Example 3–22 Styling Rules with Normalization Operation in a GeoRaster Theme styling_rules theme_type=georaster raster_table=RDT_DEM raster_id=1 operations operation name=normalize operations styling_rules

3.2.16 parameter Element