Select to view content in your preferred language

Newbie creating image service for a DEM - 18 hours later nothing...?

2613
3
12-22-2011 03:35 AM
TimothieBiggs
Deactivated User
Hello again -

I am creating an image service using standalone Image Server 9.3 for the first time and the process has been at "step 5 of 8 - adding raster datasets to the image service" for over 18 hours now - has it stalled/crashed?

I am working with a DEM:
- 13 GB
- read only (just noticed this - is it relevant?)
- in ESRI GRID format created in ArcMap 10 (will this work with 9.3 Image server? how do I know if this is an ASCII or Binary format?)

****
SOMETIME LATER....
OK I ended the process and started fresh - I think I specified the format incorrectly the first time. Now the process runs all the way through real quickly...and fails! I have copied the error message below.

Thanks
Tim


[ServiceEditor] Performing step 6 of 8 : Building the image service[ServiceEditorCore] ***********************************************
[ServiceEditorCore] Build process started...
[ServiceEditorCore] ***********************************************
[ServiceEditorCore] -----------------------------------------------
[ServiceEditorCore] Validating the service...
[ServiceEditorCore] WARNING: Seamline shapefile is not available.
[ServiceEditorCore] Process done successfully.
[ServiceEditorCore] -----------------------------------------------
[ServiceEditorCore] Computing maximum pixel size...
[ServiceEditorCore] Computing minimum pixel size...
[ServiceEditorCore] Process done successfully.
[ServiceEditorCore] Time taken for computing pixel sizes: 0.4 s
[ServiceEditorCore] -----------------------------------------------
[ServiceEditorCore] Generating service boundary...
[ServiceEditorCore] Creating boundary; 1 raster datasets done...
[ServiceEditorCore] Weeding the boundary shape...
[ServiceEditorCore] Updating the boundary shape...
[ServiceEditorCore] Process done successfully.
[ServiceEditorCore] Time taken for generating service boundary: 0.8 s
[ServiceEditorCore] -----------------------------------------------
[ServiceEditorCore] Extracting metadata fields...
[ServiceEditorCore] Process done successfully.
[ServiceEditorCore] Time taken for extracting metadata: 0.0 s
[ServiceEditorCore] -----------------------------------------------
[ServiceEditorCore] Computing default average image spacing...
[ServiceEditorCore] Process done successfully.
[ServiceEditorCore] Time taken for computing default average image spacing: 0.1 s
[ServiceEditorCore] -----------------------------------------------
[ServiceEditorCore] Computing output properties using Raster: 11122209021968000000.
[FormatCore : 010029] Error: (CPL:1) - Illegal block requested.
[FormatCore : 010000] Error: [PATH REMOVED]\hdr.adf: Failed to allocate memory ( location=FormatCore.dll:imagereader.cpp:ESRI::ImageServer::RasterBase::ImageReader::createBuffer:205;lasterror=0;cerr=22;thread=1610 )

[ServiceEditorCore] Computing output properties...[RPDefGenerator.Validator.Validate : FFFFFFFFFFFFFFCA] Error: Raster source validation failed. Could not initialize raster item at position 1.
[RasterCore.RasterProcessChain.InitProcesses : 00350B] Error: Could not set window
[RasterCore.RasterProcess.SampleRaster.SetWindow : 005003] Error: MIL::WarpedImage::setWindow() Failed in Sample Raster.
[RasterCore.MIL.WarpedImage.SetWindow : 001F0A] Error: Set Window failed on Input Image.
[ServiceEditorCore] Process failed.[ServiceEditorCore] Time taken for computing output properties: 0.1 s
[ServiceEditorCore] -----------------------------------------------
[ServiceEditorCore] Computing histogram...
[ServiceEditorCore] WARNING: Unable to generate histogram for the current service. Optimize the service by generating overviews and try computing output properties again.
[ServiceEditorCore] ***********************************************
[ServiceEditorCore] Build completed with 1 errors.
[ServiceEditorCore] ***********************************************
[ServiceEditor] Execution failed...
[ServiceEditor] Performing clean up...
[ServiceEditor] Process failed.
0 Kudos
3 Replies
PeterBecker
Esri Regular Contributor
After the data has been added, the system attempts to get information about resulting #band/bit depth by making a request to one of the images. In this case the one referenced in 11122209021968000000.RPDef. It seams that the system can not open the file. It should not need write access, but it is possibly trying to create a lock file and being denied. I would recommend:
1 -Check opening the file in ArcMap to see that there is an issue with that fie
2- Copy some of these files locally and try to see if that works. If it does then its probably some locking issue.
Note that the ISDef that was created may still be valid even if this state failed. The issue may be that some stats are incorrect. Try opening the ISDef created and doing a build.

The real recommendation though would be to use Mosaic Datasets in Version 10 instead. Especially with elevation data you will find the workflows much easier and more efficient.
As an example of what can be created have a look at the World Elevation Services See http://www.esri.com/worldelevation. Details of how to build such services are also provided inhttp://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Part_1_About_elevation_data/009t000002...
0 Kudos
TimothieBiggs
Deactivated User
Thanks for your reply. Yes everyone is saying go to 10 - which I'm sure will cure all my problems (!) - but.....I don't have 10 yet!

As per your suggestions we have accessed the file without any issues in ArcMap so the source file seems to be fine. I copied the grid to the C drive to ensure there were no locks - I get the same error message. I added the definition file to ArcMap and do get a boundary/footprint but the image is black/ all 'no data' - I couldn't see an option to do a 'build' in ArcMap and ArcCatlog? I'm about ready to go to take this up with customer support now....but one last question...

****If anyone can answer this question I'd be most grateful****
Can a GRID created in 10 can be worked with in 9.3 Image Server?

Thanks
Tim
0 Kudos
AbhijitDoshi
Esri Contributor
If you are going to use existing service
When you build the service turn off compute output pixel properties in the build option dialog box
ImageService --> Advance --> Build

-----------------------------------

In your case you are building the service again use the following steps

1. create a service ( elevation) use advance option ot create the service
2. from advance use add raster ( elevation -- if you have .adf file use binary grid or if you have .asc file use ascii option)
3. Build the service ( check on these option - compute pixel size ranges, build boundary, load preview)
0 Kudos