In some cases it might be necessary to replace a source image in an Image Server service (.ISDef) and then to rebuild the overviews for the affected area. This might be in situations where new imagery has become available or where there were problems with an original. This blog details the steps required for doing this (without having to rebuild the service from scratch):
– First make a back up of your image service (.ISDef).
– Using the ArcMap selection tools, select the source image to replace (this should select all associated overviews at the same time). You might need to zoom to the source image to achieve this.
– Remove the selected images from the service: Image Service > Advanced > Remove Raster Dataset. In the dialogue box that comes up, tick ‘Remove raster data set’, ‘Delete raster process definition files’ (as long as the selected files are not being used by another service) and ‘Delete derived images’.
– Once the images are removed, build the service: Image Service > Advanced > Build. In the dialogue box, tick on the ‘Compute pixel size’ and ‘Create service boundary tick’ options.
– On completion of the build, add in the replacement source image: Image Service > Advanced > Add Raster Data Set.
– Build the overviews once more: Image Service > Advanced > Build. Again tick on the ‘Compute pixel size’ and ‘Create service boundary tick’ options.
– Next define the overviews: Image Service > Advanced > Optimise > Service Overviews > Define (accept default options)
– Make sure the overviews look correct and then build overviews a final time: Image Service > Advanced > Build. This time in the dialogue box, tick on the ‘Generate derived image’ and ‘Compile service’ options.
– Your image service is now updated