Hi,
We have a national (US Lower 48) 30m grid raster and wish to overlay a polygon and get the raster cell values included. We are having a terrible time getting anything to work. I think we know we need to use Spatial Analyst, which is fine, but does anyone have working sample Java code which does this? Ideally a few-liner that checks out the license, etc. The raster would either live in an SDE or file geodatabase. We're just getting a variety of unhelpful error messages whatever we try, e.g. 'Unspecified Error'.
On another note, providing our polygon is pretty small, should we expect reasonable performance? We will be hosting our app locally to the data, to avoid network latency.
Thanks very much in advance to anyone who can help.
Frank