Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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?

Thansk in advance.

share|improve this question
add comment

2 Answers 2

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: http://help.arcgis.com/en/webapi/flex/samples/index.html?sample=QueryImageService

The REST documentation on ImageService might also be helpful - http://help.arcgis.com/en/arcgisserver/10.0/apis/rest/index.html?imageserver.html

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
show 3 more comments
up vote 0 down vote accepted

Ok,

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.

Thanks for the advice.

share|improve this answer
add comment

Your Answer

 
discard

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.