Several methods and batch processing methods for grid clipping under ArcGIS

Source: Internet
Author: User

When analyzing a region in a large map, we only need the corresponding raster part, which requires grid clipping.

In general, the most common way to crop raster in ArcGIS is to have a vector layer first, then the vector into a raster, where the corresponding value assignment is 1 or 0, and then call the raster in spatial analyst Calculator The raster calculation with the original image that needs to be cropped. An example of this approach is to search for "ArcGIS grid clipping" on the web.

This method first turn the vector into a grid and then cut off a detour, in fact, we can use masks to cut (mask-in English is also called mask-photoshop). In ArcGIS, masking is clipped in two ways:

One is to use the settings in Spatial analyst Opinion-general-analysis mask to select the layers that need to be cropped, and then to do the raster calculator calculation without using the vector to go to the grid, If the graph that needs to be cropped is abc.img, the expression is [abc.img] or [abc.img*1] or [abc.img+0] and so on can be cropped. It is important to note that when setting up opinion, the general-analysis mask chosen must be the data after export or the data of the add data, not the same as 650) this.width=650; "Src=" http : Temporary data from//www.dsac.cn/file/attached/image/20141202/20141202120415_7997.jpg "width=" 201 "height="/> ", If you select temporary data, it will result in invalid settings.


Second, direct use of the Crop tool in ArcGIS, which is also the most convenient way to crop a single image (and then talk about the bulk method). is:acrtools-> Spatial Analyst tools, extraction-> Extract by Mask tool

650) this.width=650; "src=" http://www.dsac.cn/file/attached/image/20141202/20141202120453_4358.jpg "width=" 100 " height= "131"/>

, this tool simply chooses the layer and mask layer to be cut, which is the most convenient.

650) this.width=650; "src=" http://www.dsac.cn/file/attached/image/20141202/20141202120531_3140.jpg "width=" 188 " height= "122"/>


Here you might think, if I want to cut multiple images at the same time? Ha, Extract by mask tool directly double-click Open is not finished, we can right-click the tool

650) this.width=650; "src=" http://www.dsac.cn/file/attached/image/20141202/20141202120621_6369.jpg "width=" 200 " height= "151"/>

Find a batch option, this is the batch processing tool, this function can be 1, the same area of multiple images cropping (cropping the same area of different types of images); 2. Batch cropping of different regions of the same image (clipping a region by administrative boundaries). However, there are some areas to be aware of in this batch process.


1. Enter the same image to automatically "fill" the same layer name with the Fill option

  

650) this.width=650; "src=" http://www.dsac.cn/file/attached/image/20141202/20141202120722_4634.jpg "width=" 411 " Height= "/>"

  

650) this.width=650; "src=" http://www.dsac.cn/file/attached/image/20141202/20141202120740_9834.jpg "width=" 315 " height= "109" alt= "20141202120740_9834.jpg"/>


2. For clipping raster plots by administrative boundaries, Input raster is the same layer can be used fill, and the selection of multiple area masks can not be directly double-click (so that only one of the layers or files can be selected) and should be right-click Browse

650) this.width=650; "src=" http://www.dsac.cn/file/attached/image/20141202/20141202120807_7239.jpg "width=" 200 " height= "113"/>

To choose More. By the way, vector segmentation of administrative boundaries can be done in batch vector segmentation in acrtools-> analysis Tools---extraction->split.


  Summarize:

Grid clipping methods three kinds:

1. Raster computing with vector-to-raster

2. Setting the opinion mask

3. The most convenient method, also can be batch processing method----Acrtools->spatial Analyst Tools->extraction->extract by Mask

The 4.Arctools tool can also right-click to select the corresponding batch processing function in addition to double-clicking open.

As for the ENVI, Erdas in the cut temporarily, and then continue to explore.

More relevant land use, ecological environment and other spatial geographic information data products please consult the geographic conditions monitoring cloud platform . Tel: 010-84896208 turn 898,qq:2863548516. Geographical conditions Monitoring Cloud Platform official DLGQJC, to provide you with 3S industry knowledge and daily Provincial PM2.5 index situation.


Several methods and batch processing methods for grid clipping under ArcGIS

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.