Hello,
Given a mosaic dataset published as an ImageService to ArcGIS Server 10.1, how can I display a single image contained by it using a geoprocessing task? I've found some posts along these lines and am guessing, given what I've read so far, that this might not be possible but I thought I'd verify that before I gave up entirely.
Ultimately, I'm trying to do essentially the same as adding the ImageService to ArcMap's TOC and then adding a Definition Query to control the display. However, since I don't seem to be able to "assign" a Definition Query in arcpy, I am instead trying to make a layer and apply symbology from an existing lyr file to it.
I've figured out how to do all this when I have access to the GDB (using MakeMosaicLayer_management, MakeRasterLayer_management and ApplySymbologyFromLayer_management) but what if I only have access to the ImageService? There doesn't seem to be a way to apply a "where clause" as I can with MakeMosaicLayer_management. I've tried messing about with setting the Mosaic Method to "By Attribute" but got no where...I don't think it's meant to do what I was trying to do with it but can't say that I particularly understood this from what I read.
Anyone have any ideas on this?
Regards,
jtm