|
POST
|
I have an Image Service (Mosaic Dataset being served) that shows changes over time. I got the time slider working but I am not able to use the ImageServiceIdentifyTask to get the pixel value of only the currently visible raster in the dataset (the one that is visible at that point in time). I currently get values returned for ALL of the rasters in the catalog and don't know which is from the visible one. args.Results.CatalogItemVisibilities has only one raster set to 1.0, the others all 0.0... but it is always the one at index 0, so that doesn???t help me find the right value in args.Results.Properties["Values"]. I see a few things I could do but not sure exactly how: 1) Set a MosaicRule in the ImageServiceIdentifyParameters and set the FIDs list to only contain the FID of the currently visible raster... but how might I get this FID? 2) Set a MosaicRule in the ImageServiceIdentifyParameters and set the Where property to something like: "start_date_field >= map.TimeExtent.Start and end_date_field <= map.TimeExtent.End"... but how to I dynamically get the fields that are used for "x_date_field"? I like number 1 best, but not sure how to get info (namely FID) about what raster is currently visible based on the current time. Any ideas would be great! Thanks a lot!!!
... View more
01-06-2011
03:23 PM
|
0
|
3
|
1465
|
|
POST
|
Thanks for confirming and for the example Dominique! I use the same handling method for multiple image layers, so to make my life easier I just keep track of the last identified items layer name and in the method just use this. Thanks!
... View more
01-06-2011
11:31 AM
|
0
|
0
|
823
|
|
POST
|
Hmmm, for me the Name property contains the string "Pixel", which is not the Name/ID of the Layer... any ideas? Thanks for the reply Dominique!
... View more
01-06-2011
06:10 AM
|
0
|
0
|
823
|
|
POST
|
Well, I got the identify all working to get the pixel values and the time slider seems to be working with the mosaic too... but I realized there is another issue: I had a raster from the original raster catalog with its classified renderer next to a raster in the new mosaic dataset (which btw references the same catalog) and I noticed the colors are a bit different, close, but different. I triple checked the stretch function and the colormap file and it seems to all be correct as I would expect and as we discussed above. I have tried a number of changes to the mosaic settings without luck. Such as only allowing one raster to be draw, not allowing mosaicing... The output from the colormap function is 8-bit unsigned and I am using 32-bit RGB colors in the color map, ex. 211 255 190... Is this a problem? I tried changing the output of the colormap function to 32-bit unsigned, but that made everything all black. I don't think it is a problem with the bit depth though or any of the applied functions, because when I do an identify in ArcMap on an area that should be a certain color, it will show the RGB value which might be for green but there is actually red on the screen. And there are pixels nearby that are indeed this same green that they should be. Any ideas? Hoping it�??s a simple setting I missed? Thanks a lot!
... View more
01-05-2011
03:57 PM
|
0
|
0
|
1727
|
|
POST
|
The ImageServiceIdentifyResult class does not seem to have a LayerName property like IdentifyResult does... is there any way to get this info from either ImageServiceIdentifyEventArgs or ImageServiceIdentifyResult? Thanks a lot!
... View more
01-05-2011
02:22 PM
|
0
|
4
|
1171
|
|
POST
|
Wenxue, Thank you so much for all the help! I got the mosaic dataset setup and it looks good. I just gotta get it setup in my Silverlight app now and test it out there. But I assume it will work are you said. Thanks a lot!
... View more
12-23-2010
04:59 AM
|
0
|
0
|
3299
|
|
POST
|
Please see the attached screen shot. See how when showCaption="true" the drop down part of the ComboBox does not line up with the text box on the toolbar... any ideas on how to fix this? Thanks a lot!
... View more
12-21-2010
11:27 AM
|
0
|
0
|
2404
|
|
POST
|
1) Colormap doesn't support mapping a range of values. The workaround is to apply stretch function or arithmetic function (to stretch/squeeze to unsigned 8 bit) and then apply colormap function. This is what's applied to this temperature service: http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/World/Temperature/ImageServer 2) "Time Value Format" is applied when you use a string/number to represent date. You don't need to specify "Time Value Format" when it's a date field. Thanks a lot Wenxue! Still a bit confused with number 1. Could you please explain a little more? So I applied a stretch function, but the values in the raster go from -39 to 15... I tried using the strech to convert this to 0 to 255, but not real sure if that is what you are suggesting and how to properly do it if so. Also I'm not real sure how to then take this and map it into a color map. For example, -39 to - 30 range and map it into 0 - 255? Do I have to calculate a percentage of the range and then get that same percentage of 0 - 255, which would be something like 0 - 40? Not sure what to do with the Arithmetic approach either, again I assume I need to map -39 to 0 and 15 to 255... but not sure how, sorry. *EDIT* Also, after applying a color map, ArcMap only seems to show the RGB values with the identify tool... am I doing something wrong? Thanks for all the great help so far!!!
... View more
12-20-2010
08:20 AM
|
0
|
0
|
3299
|
|
POST
|
Ok, got a Mosaic dataset setup... but I think I have hit a road block: 1) Looking into making a color map (clr or act) file... it seems to want a color for EACH value and only supports 8-bit/256 integers. Our rasters in the catalog are 32-bit floating point, so there are THOUSANDS of values and this is unfeasible. That is why we have a classified renderer on it and not a unique value renderer in ArcMap. Can value "ranges" be specified in a color map? 2) I'm a little confused about time, we have a start and end time in a date field, but what do we choose for the "Time Value Format"? I'm used to putting dates in the format of MM/DD/YYYY but there are no options for that (they all have the year first)... and this is a date field, so it should know the format of it I would think... do I even need to set this? Thanks!
... View more
12-15-2010
01:03 PM
|
0
|
0
|
3299
|
|
POST
|
Wenxue, Thanks a LOT for that information... This sounds like it will work just fine for us. I will see what we can do! Thanks again!
... View more
12-15-2010
11:24 AM
|
0
|
0
|
3299
|
|
POST
|
At 10.0 Image Service supports Identify. Can this data be published as an image service? http://help.arcgis.com/en/arcgisserver/10.0/apis/rest/isidentify.html Thanks a lot for the reply Ravi! Here is the problem, we would ideally like to publish as an image service, but for the following reasons, we cannot: - Raster Catalogs cannot be published as an image service. - Mosaic Datasets can, and they can point to a Raster Catalog, but they do not support classified renderers, which we need... These are not just aerial photos but continuous rate of change data grids. Maybe I am mistaken here? - Mosaic Datasets seem a little funky with how they support date formats for time-aware content, but if I could work out the above issue I would look into this more. So, I guess my problem also could be, how do I apply a classified renderer to mosaic dataset (in my Silverlight application) Thanks again!
... View more
12-14-2010
08:03 AM
|
0
|
0
|
3299
|
|
POST
|
I never could understand why, but ArcMap has never been able to identify pixel values from rasters in a catalog, only stand alone raster datasets (there is a request for this at ideas.arcgis.com). This is the same functionality in ArcGIS Server and REST... I had posted this similar question in the Silverlight/WPF forums over a month ago, but didn't find a solution: http://forums.arcgis.com/threads/16335-Raster-Catalog-Identify-Image-s-Pixel-Value-(And-Legend-Not-Showing-)?p=51011#post51011 Our users really need this functionality and since it is more a limitation of the REST API, I thought I would ask here... - From what I can see there is no way in REST to get access to an individual raster in the catalog, is this true? - Is there no way to trick the REST API to treat the catalog layer as a standalone raster? I am assuming REST can do an identify for pixel values on a raster dataset, please correct me if I am wrong. - Is there no way to get access to the underlying connection info of the layer (SDE Feature Class)? Then I could perform some ArcObjects in my WPF application on it. - Any other ideas? Thanks a lot for any help!!!
... View more
12-06-2010
03:05 PM
|
0
|
17
|
10220
|
|
POST
|
I'm having this same issue too... had it with 9.3.1 and with 10 and with 10 SP1... Sorry, I don't have any solutions but was going to post the same thing.
... View more
12-06-2010
02:49 PM
|
0
|
0
|
2025
|
|
POST
|
First off, thanks for the Final 2.1 API, its very good stuff! Question 1, is there any way to treat ArcGISTiledMapServiceLayer as "Flat" legend items? In our maps we have ArcGISDynamicMapServiceLayers and ArcGISImageServiceLayers which are all hitting our own server, and we also have ArcGISTiledMapServiceLayers which are hitting several ESRI servers for Imagery, Topo and Street... The ESRI services need to be in the TOC but not expandable and no legend, I want them to look and feel like the ArcGISImageServiceLayers since they are imagery as well. Any way to do this? Question 2, not related to the topic and more a Server question... but is there any way to add "Copyright" text to an ArcGISImageServiceLayer at the service level (non-programatically)? Thanks a lot!
... View more
12-03-2010
09:09 AM
|
0
|
4
|
2891
|
|
POST
|
We're having the same issue, has anyone come up with a resolution? v10 sp1 ~Naomi Hi Naomi, I had gone back and forth with ESRI support for awhile and we did find a solution. Sorry, I had meant to post it here and forgot. While it is a bug for sure that these are not showing up, all we had to do was create pyramids for the rasters and then they would show up. For some reason server needs those pyramids there which I had not generated for this particular catalog. Also, another bug that was uncovered... If you serve a catalog with a classified renderer up as a MSD based service it produces a corrupt image each time the image is refreshed (NIM062763). Hope this helps!!!
... View more
11-23-2010
11:18 AM
|
0
|
0
|
794
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 10-24-2023 10:43 AM | |
| 1 | 10-02-2023 02:23 PM | |
| 1 | 11-16-2016 02:05 PM | |
| 1 | 07-05-2017 09:30 AM | |
| 15 | 11-19-2010 08:05 PM |
| Online Status |
Offline
|
| Date Last Visited |
05-01-2024
08:25 PM
|