2

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?

2 Answers 2

1

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

8
  • I thought about this, but do you not need additional licensing for Image services?
    – Hairy
    Apr 4, 2011 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. Apr 4, 2011 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, 2011 at 7:14
  • Unable to get raster data information 0x80041018 - Failed to open raster dataset in '"esriDataSourcesRaster.GdalRasterDataset"'
    – Hairy
    Apr 5, 2011 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, 2011 at 7:14
0

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.