GeoTIFF读者参数
Dataset Parameters
This parameter allows you to choose different naming schemes for a feature type, and the number of feature types generated for the reader.
The Feature Type Name changes, depending on the selection.
Value | Feature Type Name | Example |
---|---|---|
From Format Name |
|
FORMAT_NAME |
From File Name |
|
file |
From Subdataset Name |
|
subdataset |
From File Name and Subdataset Name |
|
file_subdataset |
Note: Some formats have an option forScientific Dataset Namein place of theSubdataset Name.Examples for these formats are shown in the following table:
Value | Feature Type Name |
Example |
---|---|---|
From Format Name |
|
HDF4_ASTER |
From File Name |
|
CURRENT_DHW |
From Scientific Dataset Name |
|
[331X720]_ SURFACE_FLAG__8_BIT_UNSIGNED_ INTEGER |
From File Name and Scientific Dataset Name |
|
CURRENT_DHW_ [331X720]_ SURFACE_FLAG__8_BIT_UNSIGNED_ INTEGER |
By default, the GCP information is preserved as properties on the raster geometry.
If you select this checkbox, the GCP information, including a GCP projection, will be read from the file and applied to the raster data as an affine transformation.
Specifies the interpolation method used to apply a GCP projection to the raster data.
- 最近的邻居:Applies a projection based on the value of the pixel closest to the GCP.This method is the least resource-intensive, but also produces the lowest resolution GCP.
- 双线性:Applies a projection by averaging the closest 2x2 neighborhood of pixel values surrounding the GCP.This method produces higher-quality results than Nearest Neighbor.
- Bicubic:Applies a projection by applying a weighted average of the closest 4x4 neighborhood of pixel values surrounding the GCP, with closer pixels weighted higher than farther pixels.Bicubic interpolation requires the most amount of processing time.
Schema Attributes
Use this parameter to exposeFormat Attributesin Workbench when you create a workspace:
- In adynamic scenario, it means these attributes can be passed to the output dataset at runtime.
- In a non-dynamic scenario, this parameter allows you to expose additional attributes on multiple feature types.Click the browse button to view the available format attributes (which are different for each format) for the reader.
Use Search Envelope
Using the minimum and maximum x and y parameters, define a bounding box that will be used to filter the input features.Only features that intersect with the bounding box are returned.
If all four coordinates of the search envelope are specified as 0, the search envelope will be disabled.
When selected, this parameter removes any portions of imported features being read that are outside the Search Envelope.
The example below illustrates the results of the Search Envelope whenClip to Search Envelopeis not selected (set to No) and when it is selected (set to Yes).
- No: Any features that cross the search envelope boundary will be read, including the portion that lies outside of the boundary.
- Yes: Any features that cross the search envelope boundary will be clipped at the boundary, and only the portion that lies inside the boundary will be read.The underlying function for theClip to Search Envelopefunction is an intersection;however, whenClip to Search Envelopeis selected, a clipping operation is also performed in addition to the intersection.
Advanced
A GeoTIFF file stores projection parameters in a set ofkeys.A key has an ID number ranging from 0 to 65535.
When a GeoTIFF file contains pyramids (reduced-resolution images), this parameter specifies the pyramid level to read.
Pyramid level 0 represents the original raster data.Values greater than 0 represent a reduced-resolution image.
Note that the GeoTIFF format does not guarantee that the levels are ordered.For example, pyramid level 2 may have more rows or columns than pyramid level 1, or vice versa.
- When the value is set toYesand the
ProjLinearUnitsInterpCorrectGeoKey
flag is present in the file, the coordinate system offsets will be assumed to be in the linear units of the projection. - When the value is set toNoor the
ProjLinearUnitsInterpCorrectGeoKey
flag is not present, theOffsets in Coordinate System Unitsparameter is used to determine the interpretation of the coordinate system offsets.
- Yes:The coordinate system offsets stored in the GeoTIFF file will be interpreted as being in the linear units of the projection;this is correct according to the GeoTIFF specification.
- No:The coordinate system offsets will be interpreted as being in meters;this is what is actually done in practice by many software packages.
Note:">Note:If the offsets are explicitly marked as being in the coordinate system units (via theProjLinearUnitsInterpCorrectGeoKey
flag in the GeoTIFF dataset), andPrefer File Coordinate System Unitsis set toYes, this option is ignored.
GeoTIFF contains a “raster type” key which specifies whether each pixel in the file represents an area (“PixelIsArea”) or a point (“PixelIsPoint”).
When reading PixelIsPoint data, by default, the raster extents is shifted up and left by half a pixel when transformed to the FME georeferencing model.Setting this value toYesprevents this adjustment from happening.