msbsmith

Trying to get Raster Attribute image in a feature layer.

Discussion created by msbsmith on Jan 8, 2013
Latest reply on Jan 10, 2013 by kmorefield
Hello,

I have a point layer loaded into my SQL SDE database and one of the fields is a Raster type.  I have created a couple of points in this layer and edited the attributes using ArcEditor including uploading a picture to each point into this Raster field.

What I'd like to do now is programmatically get to the image so I can display it on-screen in my JavaScript API and do other stuff with it when it comes to printing.  The problem is I can't seem to find any information on how to retrieve the actual image which must be stored somewhere in SDE.

Using the Identify Task I can get to the other attributes fine, but I just get a value of <raster> back for the field containing the image.

Can anyone please show me where to find out how to do this, or please explain it?  Some JavaScript method is preferable, but I'll settle for dot net if that's the only way (e.g. by using the objectid to get the image from SDE server-side).

Hope that's clear?  Thanks, Mark.

Outcomes