Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When publishing a bare earth DEM that has a VAT table, or value attribute table "A VAT is a table containing attributes for a grid, including user-defined attributes, the values assigned to cells in the grid, and a count of the cells with those values"

...The fields are empty in the REST service where there should be values. Anyone know how to consume the VAT table that resides inside the gdb.?

I want to be able to use the identify tool to depict elevation values.

share|improve this question
Have you considered using the Elevations SOE? – Kirk Kuykendall Jun 14 '11 at 3:49

I want to be able to use the identify tool to depict elevation values.

If Kirk's solution doesn't help, a workaround is to convert the grid to a polygon, and run the Identify task on the polygon layer.

The polygons wouldn't be displayed on the map, but would simply be used when clicking on the map.

share|improve this answer

Not sure about rasters in gdb's, but for GRID's you can use code to add the VAT to the map as a standalone table. Presumably you could then publish it as a mapservice and consume it via the REST api. Seems like there might be a similar back door for VAT's in gdb.

private void Test()
    var ws = OpenWS("esriDataSourcesFile.ArcInfoWorkspaceFactory", @"C:\projects\forums");

    var table = ((IFeatureWorkspace)ws).OpenTable("states1.VAT");

    var saTable = new StandaloneTableClass() as IStandaloneTable;
    saTable.Name = ((IDataset)table).Name;
    saTable.Table = table;

private IWorkspace OpenWS(string progID, string path)
    var t = Type.GetTypeFromProgID(progID);
    var wsf = Activator.CreateInstance(t) as IWorkspaceFactory;
    return wsf.OpenFromFile(path, 0);

enter image description here

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.