Adding GeoTIFF rasters using the Advanced workflow

The following is a typical workflow to add rasters to an image service definition. The dialog boxes that appear when adding other raster data may change depending on the type of raster being added.

步骤:
  1. Click the Image Service drop-down menu on the Image Service Definition Editor toolbar and click Advanced > Add Raster Dataset.

    This opens the Select Raster Type dialog box.

  2. Double-click the Georeferenced Imagery folder.
  3. Scroll down the list and click TIFF—Tagged Image File Format.
  4. Click OK.

    The Add TIFF Rasters dialog box is displayed.

  5. Choose to select either a single file or multiple files.
    • The Select File option can be used to select a single raster file.
    • The Select Folder option can be used to select a folder containing multiple raster files.
      • Filters are used to identify the extensions that are searched in the selected folder.
      • The Search folders recursively option enables you to search for rasters in folders contained within the selected folder.
  6. Click OK.

    The TIFF Parameters dialog box is displayed. By default, the General Parameters tab is selected.

  7. Optionally, check Use TIFF world file to have the program read the information for world files. This overrides any coordinate information that may be in a GeoTIFF.
  8. Optionally, check Include internal overviews to have the program read any overview files that may be present within the TIFF file.
  9. Click the Spatial reference drop-down arrow or click the browse button to choose a spatial reference file.
  10. Optionally, check Force default spatial reference to force the spatial reference of the raster to the value that you select in the Default spatial reference field.

    This option should also be checked if you do not specify the value in the spatial reference system field so that the spatial reference system of the image service definition is used.

    If this option is unchecked, the spatial reference system of the raster is used (if it exists). Otherwise, it uses the value mentioned in the Default Spatial reference field and not the spatial reference of the image service definition.

  11. Optionally, click the Enhancement tab. The following options enable you to apply histogram stretching enhancements if no enhancement has been applied to your raster datasets:

    Stretch method

    Defines the type of stretching enhancement that needs to be applied to the raster datasets.

    • None—When selected, no stretching is performed.
    • Min-Max—Minimum and maximum values of stretching.
    • Standard Deviation—The lower and upper input values computed using standard deviation of pixel values of the raster. Uses standard deviation factor.
    • Percentile—Range used to compute lower and upper input values used in the stretching process.
    • Fixed Values—Fixed values for the lower input and upper input values.

    Standard deviation factor

    The value that defines how far away from the mean value the lower and upper input bin values are set.

    Lower = Mean - (StdDevFactor * RasterStdDev)Upper = Mean + (StdDevFactor * RasterStdDev)

    Percentile

    The percentile range that will be used to compute lower and upper bin values to be used in the stretching process.

    Lower bin value

    The lower input bin value for the stretching process. Used only when the stretch method selected is Fixed Values. The value should be a floating point between 0.0 and 255.0 and is scaled internally to the correct value based on the raster's bit depth.

    By default, all pixels between lower and upper bin values will be scaled to the full radiometric range.

    Upper bin value

    The upper input bin value used for the stretching process. This value is used only when Fixed Values is selected for the stretch method. The value should be a floating point between 0.0 and 255.0 and is internally scaled to the correct value based on the raster's bit depth.

    By default, all pixels between lower and upper bin values will be scaled to the full radiometric range.

    Gamma method

    Defines how the gamma correction value is computed.

    • None—No gamma correction is used.
    • Fixed value—User-specified value is directly used. When selected, the gamma value must be specified.
    • Target color—Indicates that the gamma is computed based on the present average color of the raster and user-specified target color.

    Gamma

    Specifies the gamma value applied between the lower and upper input bin values. This property is used only when Fixed Value is selected as the gamma method.

    Target color

    Defines the target color used for gamma computation. This property is used only when Target Color is selected as the gamma method.

    注注:

    Specifying a stretch method (other than None) can substantially increase the time to add the data, because histograms of the images need to be created to determine the enhancement parameters.

  12. Click OK.

    The rasters are added to the service, and the footprints are displayed.

相关主题


7/10/2012