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

One of the front end develoeprs here is having issues displaying, or working out how to display a single raster held in a raster catalog in ArcSDE using the Flex 2.2 API

the Raster Catalog holds about 30 images and he wants to search for one of these images, based on either the name of the raster, or some attribution tied to each raster, but can't figure out how.

Has anyone done this before?

share|improve this question

If you publish your raster catalog as an ImageService (not MapService) using ArcGIS Server 10, then you can query the raster catalog using the same Query/QueryTask that is used to query a layer inside a Map Service. (Note that in the case of a Map Service, you would point the QueryTask url to a layer within a MapService, but for an Image Service you use the url to the service itself.)

There is a sample that shows how to query the raster catalog of an Image Service layer:

The REST documentation on ImageService might also be helpful -

share|improve this answer
I thought about this, but do you not need additional licensing for Image services? – Hairy Apr 4 '11 at 8:14
@Hairy : I don't think you need special licensing to publish a basic Image Service (using ArcGIS Server 10.0 and later), but I'm not too familiar with the licensing aspect. – Bjorn Svensson Apr 4 '11 at 22:28
I may be nmaking the mistake that you cna actually display the contents of a rastercatalog in an image service, where the reality is, you cna only sue image services for tiled background rasters, and that to serve images up, per se, you need the image server and subsequent license. I say this, as whenever I try to publish from an MXD, I get this error: – Hairy Apr 5 '11 at 7:14
Unable to get raster data information 0x80041018 - Failed to open raster dataset in '"esriDataSourcesRaster.GdalRasterDataset"' – Hairy Apr 5 '11 at 7:14
and if I try to add them direct from teh database, they don't appear? I am a touch confused... – Hairy Apr 5 '11 at 7:14
up vote 0 down vote accepted

We did this by simply adding search parameters to the layerDefinitions of the dynamic map service holding the rasters and features in a search function called on load.

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.