Mosaic Dataset Issues

6325
17
10-28-2013 10:31 AM
BryanFeger
New Contributor
Hello All:

This is my first post on this forum and I would like to apologize in advance for it being a lengthy one. I also would like to apologize for the fact that my knowledge of GIS is not too vast. So, please bear with me.

Anyways, I am working on a project that requires an extensive amount of GIS work. Basically, the company I work for has been provided GIS data from a couple of different companies and have been asked to do a land impact analysis using their data. One piece of the data that was sent to us was imagery. One of the companies had aerial photography flown in Feb. 2013 of the project site. There is a massive amount of data, as it covers a large landbase. There was so much data that they had to send our company an external hard-drive that contained the information. We then placed the information on our network and sent the hard-drive back to them.

Within the main folder, there are four other folders. Two of the folders appear to contain the individual aerial photos in a .tif format. However, there seems to be other file types within these folders; such as .tif.aux.xml, .tif.xml, .tif.ovr, .rrd, and .aux. The third folder is a geodatabase folder and the final folder is an Overviews folder.

So, my work partner and I compiled all of the information that was provided into a .mxd project using ArcMap 10.2. When we brought the geodatabase file containing the imagery into the .mxd, the only thing we would see is a checkerboard pattern. So, we tried removing it from the .mxd and then brought it back in with no luck; the checkerboard pattern was still there. So, doing what any person does when they need answers to a problem, I googled "checkerboard pattern in ArcMap". I then began to learn about mosaic datasets and determined this is what I am dealing with. So, I have tried following advice in a couple of posts I have seen where people had similar issues. Mostly, I have tried to "repair mosaic dataset paths". I also ran the "analyze mosaic dataset", had some warnings and errors reported, and tried to fix them with no luck at all. Some of the Errors and Warnings that ArcMap shows are pixel type of the raster are outside the allowable range, the footprint of the mosaic dataset contains too many vertices, the overview raster dataset referenced has not been completely processed, and the mosic dataset item references files that are inaccessible.

One thing that I notice about my problem compared to similar problems I have read about is no matter what scale I am at in ArcMap, I cannot see the images. Some people said if they were at a large scale they could see the images, but not at a small scale; and some people had the opposite problem. I cannot see the images at all; just checkerboards. I should say, if I turn on the footprints and boundaries layers I can see those. Just no image. So, this indicates (to my understanding) that the mosaic dataset within the geodatabase file is not referencing the overviews nor the individual images. Am I understanding this correctly? It seems that I need to repair the paths that the data is being read from, but my attempts to do this have failed. So, when I run the "repair mosaic dataset paths" what file am I suppose to reference?

Again, I would like to apologize in advance for the length of this post. This is the first time I have dealt with mosaic datasets, I am quite confused about how they work/how to get them to work, and my bosses are counting on me to get this to work correctly. So, if anyone has any suggestions about how to fix my issue I am all ears and would greatly appreciate your input.

Thank you very much,

Bryan
0 Kudos
17 Replies
NeilAyres
MVP Alum
Bryan,
I would start by browsing through your data using ArcCatalog, just to get a feel for what is where.
The extra files along with the tiffs are the geoereferencing, pyramids (rrd) and such like stuff. Shouldn't have to worry about it.
A Mosaic dataset has an icon like the jpeg attached. And if you right click on it you can get the properties page which identifies it as a Mosaic.
There are quite a lot of possibilities with Mosaics. But, as far as I am concerned, the mosaic imagery should draw at any scale. That's what the overviews are for, reduced resolution images to draw at smaller scales.
If you click on the mosaic in ArcCatalog, it opens the data table and you can see names of the images included in the mosaic, column "Name".

Just remembered, what version of Arc are you using? A mosaic created with 10.1, is not viewable (I think) by someone using 10.

Unfortunately, the "Repair paths" tool is a little confusing. And if your data provider has indeed created a mosaic with hard coded paths in it, like "Z:/DataStore/TiffFiles/Project1/" and now the data resides on your system in "M:/ProjectName/Tiffs/", but that's the sort of thing it is looking for.

If you can't come right, you might consider just recreating the mosaic. It is actually not that hard. Create a new mosaic, add imagery into it, build overviews. It gets a little more complex if you have overlapping imagery of different vintages, resolutions.

Good luck,
Neil
0 Kudos
GeospatialTechnology
Occasional Contributor
Have you tried building statistics?
0 Kudos
BryanFeger
New Contributor
Thank you for your replies, I appreciated the quick responses.

yppmark - I tried to build statistics, or at least I believe I did. I went to the "Mosaic Dataset Properties", under the "General" tab I scrolled to statistics, clicked on the "options" dropdown menu to the right of "Statistics", and clicked on "Calculate Statistics". It took quite some time for it to do so, and unfortunately did not solve my problem. Does it sound like I did this correctly?

Neil - To start with, I am using ArcMap 10.2, and I honestly don't know what version of ArcMap the mosaic dataset was created with. That information was not shared with us (or at least me). I believe I have read that a mosaic dataset created with ArcMap 10.1 cannot be used with ArcMap 10. Is it possible that it works the other way around? Meaning, if the mosaic dataset was created using ArcMap 10 and I am trying to use it with ArcMap 10.2, could that be causing the issue? Any thoughts on that?

As far as the "Repair Mosaic Dataset Paths" tool, what folder or file is it supposed to be referencing? Does that path need to reference the folder that contains the .tif files used to build the mosaic dataset, the geodatabase file that contains the mosaic dataset, or the overviews folder that contains the overview files? I guess my confusion is based upon what is suppose to be referencing what. The reading I have done on the internet has led me to believe that the geodatabase file contains the mosaic dataset, which references both the individual images that make up the mosaic dataset and the overviews. In these readings, people make the statement "Check to make sure the files are accessible and that the paths are correct." So, it seems like there are multiple paths that I am suppose to set; however, when I do the "repair mosaic dataset paths" tool it seems like I can only set one path to one folder. So, is there somewhere else I am suppose to be setting file paths? Or am I misunderstanding what I have read?

It seems like it is getting to the point where it may just be easier for me to build a mosaic dataset of our own rather than try to use the one that was provided to us. And, I may end up doing that (even though it is not within our scope of work). The imagery that I have was flown at the same time and (as far as I can tell) with the same equipment, so that should make it a little easier. I guess one thing I will ask, how long do you think it would take for someone that has never made a mosaic dataset before make a new mosaic dataset, add imagery, build overviews, and set the coordinate system so it properly overlays the other data? Is it something a person making a first attempt could do in half a day, a full day, a couple days?

Something else I wanted to ask about is transferring mosaic datasets from one hard-drive to another hard-drive or to a server. The person that taught me how to use ArcGIS informed me that files associated with ArcGIS can be sensitive to being transferred. He told me that "drag and drop" or "copy and paste" can cause headaches if care is not taken. When the data was sent to us, it was on an external hard-drive. My coworker connected the external hard-drive to his computer and then "dragged and dropped" the main folder containing all the information onto our companies network drive. Is it possible that could be part of the problem? If so, is there any way that I can look into that further to determine if that is an issue?

Again, I really appreciate your quick responses and help with this issue.

Bryan
0 Kudos
MichaelVolz
Esteemed Contributor
Bryan:

When trying to repair the existing broken mosaic dataset, you could legitimately have multiple paths.  You could have one path to a folder containing the raw tif images and you could have another path to a file geodatabase containing the overviews for the mosaic dataset.  This is how the mosaic datasets are setup at my organization.  Hopefully, you can determine the location of these two paths (if this scenario applies) and repair your mosaic dataset using both paths.

You can try fixing one path at a time and after the fix is complete, just check for broken links (There should be a checkbox for this in the upper left corner of the Repair Mosaic Dataset dialog box).

I hope this information helps you out.
0 Kudos
GeospatialTechnology
Occasional Contributor
It's probably easier to create a new mosaic dataset from scratch:

http://resources.arcgis.com/en/help/main/10.2/index.html#//009t0000003p000000
0 Kudos
MichaelVolz
Esteemed Contributor
Bryan:

Do you have other smaller imagery sets that you could use as a pilot to learn the ins and outs of mosaic datasets before you try to tackle the larger task of recreating this specific mosaic dataset?
0 Kudos
BryanFeger
New Contributor
mvolz47 - Unfortunately I do not have a smaller set of data to learn with. Also (unfortunately as well) we need to have this imagery available to us very soon. It is quite a situation I am in, that is for sure. In your earlier post, you confirmed my suspicion that there are multiple paths that need to be set. So, does a person set the paths to the .tif files and the overview files from the "repair mosaic dataset paths" tool?

Thanks,

Bryan
0 Kudos
NeilAyres
MVP Alum
The repair paths tool just needs to know the old paths to the data (the original tiff files) vs the new path. Then I would simply rebuild the overviews.
Backward compatibility from 10.2 backwards, shouldn't be a problem.

As regards starting again, depending on how many Gb of data there is, is shouldn't take too long. The lengthiest part will be to build those overview. Give it a shot on just some of the data (select individual tiffs instead of the whole directory structure) first. You will find that it is not too difficult.
Good luck,
N
0 Kudos
MichaelVolz
Esteemed Contributor
Bryan:

I would try repairing the tif images first.  After pointing the mosaic dataset to the correct location for the tif images on your network, I would run the repair again only checking for broken links which should just be the overviews if you supplied the correct path to the tif images.  I would then preview the mosaic dataset in ArcCatalog.  You will not see the images when zoomed to full-scale (this is where the overviews are used), but you will see the images if you zoom in to a scale where only 1 image is in the extent.  Once you have the images pathed correctly, I would then work on repointing the overviews.  If you cannot get the overviews to work, I would recreate them (This might take some time, but it should not be difficult).
0 Kudos