|
POST
|
Only ONE raster should be returned for a particular time instant. Each image has a start and end time, and the end time of one image is the beginning of the next. Each image's time range spans 24 days. There are about 30 of these images in the catalog, spanning over a period of about 2.5 years. The attached picture (in the above post) of the attribute table might help you to see the date structure. So simply put, only one raster should be returned for a particular time instant. 95% of the time I do NOT get even one raster back (when I should)... but 5% of the time I will get one (can be at any time interval, not necessarily the same one when it does show). Hope that makes sense! Thanks!!!
... View more
07-07-2010
08:34 AM
|
0
|
0
|
1896
|
|
POST
|
It does the same. It works just like with the instant... it will get about 1 out of the 30 rasters in the catalog as you change the time range around. I am eager to try it in 10 final... Was there a lot of fixes done between pre-release and final?
... View more
07-06-2010
04:29 PM
|
0
|
0
|
1896
|
|
POST
|
Yes, it is running on 10 prerelease (still waiting for our final auth keys). I tried the below time, and a few others in seconds, and still nothing 😞
... View more
07-06-2010
02:13 PM
|
0
|
0
|
1896
|
|
POST
|
The server itself is only on our intranet unfortunatly... but here are a few URL examples for you to inspect: http://bkweb03/ArcGIS/rest/services/Belridge/Test/MapServer/export?bbox=-121.079706883798,33.1304368972571,-117.906365726013,36.7929492216572&size=506,584&format=png24&transparent=true&layers=show:0&imageSR=4326&bboxSR=4326&time=1223987109677 http://bkweb03/ArcGIS/rest/services/Belridge/Test/MapServer/export?bbox=-121.079706883798,33.1304368972571,-117.906365726013,36.7929492216572&size=506,584&format=png24&transparent=true&layers=show:0&imageSR=4326&bboxSR=4326&time=1217318980645 Thanks again for all the time you are spending on this!!!
... View more
07-06-2010
12:29 PM
|
0
|
0
|
3061
|
|
POST
|
I have tried setting the timezome to "none" and "no daylight savings" and some other combinations and it didn't seem to matter. PST is only 8 hours off from UTC anyway, and the raster times span 24 days, so I was not worrying about that as an issue yet. The Epoch times I am trying are well in the middle of the images time range. Maybe I am missing something else? I can not query them by the same time extent either... I can query by name just fine, but not by the time.
... View more
07-06-2010
12:03 PM
|
0
|
0
|
3061
|
|
POST
|
Is the start/end time fields defined based on a field of type date? Even though ArcMap will allow defining start/end time fields based on non-date fields, REST only supports time defined based on a date field. Yep, both are date fields. They allow null values, none of them are null though... would this cause a problem? Also, there are just dates in the fields too, no times... the layers time format says <Date/ Time>... don't see this as being an issue though. I have attached two images, one of the Layers time settings, and one of the attribute table for the raster catalog. Thanks a lot for the help so far!
... View more
07-06-2010
09:52 AM
|
0
|
0
|
3061
|
|
POST
|
Thanks a lot for the idea Ravi... never thought to disable time on the map. Makes sense that would be the problem... but unfortunately it still is having the same problem. What I did: - Disabled time on the map (by clicking upper left button on time slider in ArcMap) - Saved the MXD - Restarted the map service - cleared the REST cache - restarted the map service again (just to make sure) - launched the REST endpoint front end and tried an "export" on a date that should work - Also launched my Silverlight map and tested the slider Thanks for the great idea... maybe something else I am doing wrong? *EDIT* Tried with MSD too, still same problem 😞 Also, FYI, now that the time is off on the map, I get a wireframe when no time is set because it is trying to show all the rasters... which is expected. So I think we are on the right track and fixed part of the probelm, still not sure why it isn't using the time extent
... View more
07-06-2010
08:37 AM
|
0
|
0
|
3061
|
|
POST
|
We have a raster catalog of about 30 images... each image has a start and end time attribute over a span of approximately 30 days (no time periods overlap). I have served these up on ArcGIS Server as a single layer in both a MSD and a MXD (since image server does not support catalogs). If I try and use the "Export Map" operation I have some issues. With no time specified, one of the images always shows up. But if I specify an Epoch time that I know for sure is associated to one of these images time spans, only about 2 out of the 30 images will show for their corresponding time. Any ideas why the images won't all show? It works fine with the time slider in ArcMap... some type of caching limitation with the REST API maybe? I want to use the time slider in Silverlight and it is producing the same results since the REST API is not sending an image over. Thanks a lot for any help!
... View more
07-06-2010
07:29 AM
|
0
|
22
|
8264
|
|
POST
|
So I have found, publish a MSD, nothing shows up, publish a MXD and the raster do show... but something is still wrong with the time-aware. It seems to be a problem with the REST API and not Silverlight though... I did some debugging with Fiddler and see that an empty image is being sent from the REST endpoint. I have approx 20 images in the Raster Catalog, and only 2 of them show as I move through the Silverlight time slider (all show fine in Desktop). So I went to the REST endpoint and was plugging in some Epoch times in the export function and it is only returning those same few rasters... can't figure out why though, the times I am plugging in clearly should return an image. Some sort of caching issue? Bug?
... View more
07-04-2010
07:25 AM
|
0
|
0
|
853
|
|
POST
|
Yeah, I have... and that is EXACTLY what I want to do! But I cannot get the rasters to show up in Silverlight (Time aware or not). I am not using image server though, just a MSD with a raster catalog in it... maybe I need to use it
... View more
07-01-2010
04:00 PM
|
0
|
0
|
853
|
|
POST
|
No ideas on this one? 😞 Can someone answer for sure that I "should be able to see rasters in a raster catalog" in Silverlight?
... View more
07-01-2010
02:16 PM
|
0
|
0
|
853
|
|
POST
|
I was referring to the custom rest endpoint in the sample. It's doing caching for the 10 mins, but you could just pull that code out of the sample. Oh, gotcha, thanks! That did the trick! This got me tinkering with your code a bit and learning about System.Web.Caching.Cache and from what I can tell, it was the fact that it is using a "Sliding Expiration" that it had this problem... I set it to use an "Absolute Expiration" (of 5 min just to make sure) and I think that should still allow some caching (for excessive hits) but not have this problem. Thanks a lot!
... View more
07-01-2010
02:14 PM
|
0
|
0
|
1748
|
|
POST
|
I just implemented this legend control (It's great, thanks a lot SharpGIS)... but I am having the EXACT same problem! -After 10 minutes (the MaxFileAge) the legend images go away, this is expected, but why doesn't the Legend.ashx trigger these to be re-created after they have been cleaned out? - As ciava.at mentioned, I see the Legend.ashx does something with caches at 15 min, but I am not sure what? Sorry, not real familiar with SOAP... - It is some random time after the images have been cleaned out until Legend.ashx will then trigger them to be re-created (one time it was about 20 min, once an hour)... not sure what triggers it. What happens if you disable caching in the REST endpoint? What do you mean by this? The ArcGIS Server service is not caching. The REST API cache is set to be cleared daily at 1:00 am. Are you saying to disable caching (aka cleaning) on the arcgisoutput directory? I see how this would work, but I ideally don't want to disable this for all the other services that are running just to fix this problem... I am fine with it for the legend images, but preferably not everything else. Maybe I can set the time up to like an hour. Or have the rest endpoint do caching of the images instead of just the URL to the images I see what you are saying here, but not sure how to do this, could you please elaborate a bit more? Thanks a lot for any help!
... View more
06-30-2010
09:48 AM
|
0
|
0
|
1748
|
|
POST
|
Cool, thanks for that tip Dave! Also, I did not know you could change the max amount of features returned from an ArcGIS service... I changed it from 500 to 50000 and it queries the data fairly fast. Better than grabbing 500 at a time and spinning through adding them to the collection. For anyone that wants to change this setting (and didn't know about it like me), open the Server Manager, Edit the service, and on the Parameters Tab is "Maximum Number of Records Returned by Server".
... View more
06-28-2010
07:37 AM
|
0
|
0
|
2365
|
|
POST
|
My end goal is to use a TimeSlider and cycle through a number of rasters in a catalog (raster of same area that changes over time)... but after much tinkering with the time aware settings, I realized my rasters in the catalog won???t show at all (using time or not). I have since removed the time settings from both the map and the Silverlight app and can't get the rasters to show. It DOES show up in the JavaScript API. Things I have tried: - Removed all time settings - Filtered out to one single raster - Changed symbology (was classified, now stretched) - Removed all other layers from the map - Published both MXD and MSD (I think one time, early on I got it to display the first raster from an MXD in the time series) - Create v10 Mosaic from the catalog, but I don't have the Image Server Extension for the 10 Pre-Release... plus I it looks like I would have to reformat all the dates to do a time aware if published as an Image Service (would prefer to just keep them in the catalog for now) Also, the raster catalog is in a File Geodatabase which the layer points to via a UNC path. Any help and ideas would be great! Thanks a lot! *EDIT* It seems that any service with a raster (even pointing to a file based sid) doesn't work... it actually seems to prevent the rest of the feature layers from drawing too. Is it running out of some temp cache space or something???
... View more
06-27-2010
07:41 AM
|
0
|
4
|
2904
|
| 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
|