1. Preface
The customer has some cropped irregular polygon image data (as shown in this example) and wants to obtain the boundary information of the image in batches, that is, the corresponding surface information and border information of the image. Here we provide a way to obtain the surface and boundary information by using the footprint layer of the embedded dataset.
2. Basic concepts and terms
Basic Concepts
Mosaic dataset is a new technology for managing raster data from ArcGIS 10. It is a hybrid technology that combines raster data sets and raster directories to manage raster data in a way consistent with that of a non-hosted raster directory. Therefore, you can index the dataset and query the set. It is stored in a similar way as a raster directory and is used in the same way as a common raster dataset. Embedded datasets are used to manage and publish massive multi-resolution, multi-sensor images, and provide dynamic mosaic and real-time processing functions for raster data. Its biggest advantage is its advanced raster query and real-time processing functions, which can be used as a source to provide image services.
Type
You can add all types of raster data and modify the attributes and functions applied to individual raster or mosaic data sets. This mosaic data set has no restrictions. Another mosaic dataset references only other mosaic datasets or raster directories. This mosaic dataset is created using the reference existing data creation mosaic dataset tool. The behavior of the referenced embedded dataset is similar to that of the conventional embedded dataset. However, it is a read-only embedded dataset. For example, you cannot add other grids to the embedded dataset or build a pyramid for it, the pixel size range cannot be calculated. It is used to provide a regular grid directory or an embedded dataset that contains functions of different built-in dataset levels.
Composition
An embedded dataset consists of the following parts: a source directory that provides grid pixels and outlines-A element class that defines boundaries ---------- here is the information we want to obtain-a group mosaic rules-a set of attributes used to control mosaic and any image extraction-A table used to record logs during data loading and other operations-a side element class for Edge Mosaic (optional) part) -- A color correction table used to define the color ing of each grid in the grid directory (optional) 3. Data and Environment
Data: After cropping, the projection defines several image data frames.
Software: ArcMap 10.2.2 (ArcGIS 10 or above, supports Mosaic)
4. Procedure
4.1 create a grid Dataset
Open ArcMap and create a new file Geodatabase. GDB in catalog.
Create an embedded dataset mosaic dataset in new file Geodatabase. GDB
In the pop-up box, set the mosaic dataset name to mosaic, and the coordinate system to the coordinate system of the image. Click OK.
4.2 Add image data to the raster Dataset
Right-click the mosaic dataset mosaic and select Add raster in the pop-up box to add all the image data to the mosaic dataset.
In the pop-up box, set input data, data type to dataset, and data to all image data. Click OK to wait for data loading.
As shown in figure after the data is loaded successfully, the data and border display are messy, displaying the entire image, including the black value of nodata. For nodata, we only need to set the display to no color. Here, we only need to obtain the non-null boundary information of the image data. The process is not described here.
4.3. Obtain the image surface information
In the toolbox, choose data management tools> raster> mosaic dataset> build footprints. In the pop-up box, select the mosaic dataset and click OK.
After the calculation is complete, we can see the obtained boundary information. The boundary here is the surface. Right-click footprint and choose export dataset.
4.4 obtain the border information of the image
We have obtained the surface information in the previous step. here we can use the data management tools --> features --> feature to line tool to obtain the border information.
The result is shown in.
5. References
Http://baike.baidu.com/view/8062109.htm? Fr = Aladdin
Extracting image data boundaries In ArcMap