AnsweredAssumed Answered

use ArcObjects to access TiFF in a remote server

Question asked by spring1990 on Feb 13, 2017
Latest reply on Feb 13, 2017 by tornadotianya

My raster datasets is in another server, which can be accessed through URL, for example,


My question is how to use ArcObjects .Net to read this raster dataset? I tried the same way like opening a dataset in the local ocmputer (as shown below), but it did not work.....


IWorkspaceFactory2 workspaceFactory = new RasterWorkspaceFactory() as IWorkspaceFactory2;
IRasterWorkspace lRasterWorkspace = workspaceFactory.OpenFromFile(url, 0) as IRasterWorkspace;
inRasterWS = (IWorkspace)lRasterWorkspace;

_rasterDataset = (inRasterWS as IRasterWorkspace).OpenRasterDataset(datasetName);


Does someone know how to read datasets located on a remote server using ArcObjects?