This document is archived and information here might be outdated. Recommended version. |
Extracts cell values from point features overlayed on a raster.
[Visual Basic .NET] Public Function ExtractValuesToPoints ( _ ByVal pointDataset As IGeoDataset, _ ByVal valueRaster As IGeoDataset, _ [ByVal interpolateValues As Boolean], _ [ByVal allAttributes As Boolean] _ ) As IGeoDataset
[C#] public IGeoDataset ExtractValuesToPoints ( IGeoDataset pointDataset, IGeoDataset valueRaster, bool interpolateValues, bool allAttributes );
[C++]
HRESULT ExtractValuesToPoints(
IGeoDataset* pointDataset,
IGeoDataset* valueRaster,
VARIANT_BOOL interpolateValues,
VARIANT_BOOL allAttributes
);
[C++]
Parameters pointDataset [in]
pointDataset is a parameter of type IGeoDataset* valueRaster [in]
valueRaster is a parameter of type IGeoDataset* interpolateValues [in, optional, defaultvalue()]
interpolateValues is a parameter of type bool allAttributes [in, optional, defaultvalue()]
allAttributes is a parameter of type bool
pointDataset |
an input point featureclass or feature class descriptor containing the points of interests to identify cell values from the input raster. |
valueRaster |
an input Raster, RasterDataset, RasterBand, or RasterDescriptor. The geoDataset contains the cell values which determine the output RASTERVALU attribute of the output point geoDataset. |
[interpolateValues] |
a boolean specifying if the value of the RASTERVALU attribute will be interpolated between neighboring cells or given the value of the cell in which it is found to occur. If TRUE, then the attribute value will be determined by the bilinear interpolation method. If FALSE, then the attribute value will be determined by the cell value from the input raster. This is the default option. |
[allAttributes] |
a boolean specifying if the all attributes from the input value raster are to be included in the output geoDatatset. If TRUE, all attributes of the input raster are included in the output. If FALSE, attributes from the input raster are not included. This is the default option. |