I'd like to reach that when I clicking on a feature point that displays me a raster dataset with the same name (along some kind of connection field I don't know). where should I do that and which way? Maybe in ArcMap before publish the mapservice at all? or Image Service good for it? or Should I create a GP tool? I tried many ways to do that with raster catalogs and mosaic datasets but I stucked with create a queryable relate. Pls help me with ideas. Thank you
Solved! Go to Solution.
What about using the HTML popup tool? Your point layer can have a field with the location of the image file. Then when you click on your point feature using the HTML popup tool, the image will be displayed in the popup content and you can drag and drop the image to your Data Frame.
There seems to be limitations on the file types that can be displayed in the HTML popup. In addition to having the file location as a field value, the popup also requires the content to be HTML formatted, so for a link to a raster image the field value would have to be <img alt="File" src="c:\imagery\image1.jpg" width="500" />. If the popup or info content contains the image location, you can select-drag-and-drop to the Data Fram TOC and the image will load.
It's almost easier to do in the JS API. Same principle as my previous suggestion of having an image ID attribute in your point feature layer. The images you can load in a raster mosaic and publish to an Image Service. Then from the point image ID in your web map layer, you can set a definition query on your Image Service mosaic layer to only show the image with the related ID.
I have made the model what can query rasters by the in memory points. I used the make a raster layer tool and it works nicely but the flex is not able to handle the raster datatype in a GP tool output. I was thinking of choose the make image server layer tool instead. Or what else kind of datatypes are supported for a GP service output for flex?
Unfortunately, my model can't query the image service it results the whole mosaic dataset. Any idea? This is my final trying if I can't do this way I am going to trying it in JS what is new for me
Hy again! I have just started in the last days with the wab. But I don't know how did you mean this answer. If I make a raster id in the point feature attributes how should I make a query trough it for the rasters in the imageservice. Or could you help me how can I use the imageserviceidentifytask? maybe with details? I'd be grateful for your help