Dim pClipDataset As IGeoDataset = Nothing Dim pTransOp As ITransformationOp = New RasterTransformationOp Dim pEnv as IEnvelope = New Envelope pEnv.PutCoords(pUTM_xmin, pUTM_ymin, pUTM_xmax, pUTM_ymax) 'variable values set earlier pClipDataset = pTransOp.Clip(CType(pSelectedRaster.Raster, IGeoDataset), pEnv) 'pSelectedRaster is an IRasterLayer object defined earlier
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.