|
阅读:1403回复:2
ArcGIS栅格和矢量混合操作的问题。
我有一个栅格图层,怎么可以用一个矢量图层对它裁剪,矢量图范围在栅格图层之内,怎么将栅格图层和矢量图层的公共部分保留下来,急ing……………………………………
|
|
|
1楼#
发布于:2005-07-13 09:09
顶一个,盼回答!
|
|
|
2楼#
发布于:2005-07-13 17:11
<P 0pt? 0cm><FONT face="Times New Roman"></FONT></P>
<P 0pt? 0cm><FONT face="Times New Roman">Follow the steps below to clip a raster using a new shapefile:</FONT></P> <P 0pt? 0cm> <P><FONT face="Times New Roman"></FONT></P> <br> <P 0pt? 0cm> <P><FONT face="Times New Roman"></FONT></P> <p> <P 0pt? 0cm><FONT face="Times New Roman">First, create the shapefile that will provide the new extent of the raster: </FONT></P> <P 0pt? 0cm><FONT face="Times New Roman">1. Start ArcCatalog. </FONT></P> <P 0pt? 0cm><FONT face="Times New Roman">2. Right-click the folder where you want to create the shapefile and select New Shapefile.</FONT></P> <P 0pt? 0cm><FONT face="Times New Roman">3. Name your shapefile and specify: </FONT></P> <P 0pt? 0cm><FONT face="Times New Roman">Feature Type = Polygon </FONT></P> <P 0pt? 0cm><FONT face="Times New Roman">Spatial Reference (is optional) </FONT></P> <P 0pt? 0cm><FONT face="Times New Roman">4. Start ArcMap. </FONT></P> <P 0pt? 0cm><FONT face="Times New Roman">5. Add the new shapefile layer and raster layer. </FONT></P> <P 0pt? 0cm><FONT face="Times New Roman">6. Click Editor > Start Editing and specify: </FONT></P> <P 0pt? 0cm><FONT face="Times New Roman">Task = Create New Feature </FONT></P> <P 0pt? 0cm><FONT face="Times New Roman">Target = Shapefile </FONT></P> <P 0pt? 0cm><FONT face="Times New Roman">7. Select the Create New Feature tool.</FONT></P> <P 0pt? 0cm><FONT face="Times New Roman">8. Draw a polygon around the area of the raster you want to clip. 9. Stop editing and save your edits. </FONT></P> <P 0pt? 0cm> <P><FONT face="Times New Roman"></FONT></P> <p> <P 0pt? 0cm><FONT face="Times New Roman">Now clip your raster based on the shapefile:</FONT></P> <P 0pt? 0cm> <P><FONT face="Times New Roman"></FONT></P> <p> <P 0pt? 0cm><FONT face="Times New Roman">1. From the Spatial Analyst dropdown menu select Options from the General tab and specify Analysis Mask = Shapefile.</FONT></P> <P 0pt? 0cm><FONT face="Times New Roman">2. Click on the Extent tab and specify Analysis Extent = Shapefile. </FONT></P> <P 0pt? 0cm><FONT face="Times New Roman">3. From the Spatial Analyst dropdown menu select Raster Calculator.</FONT></P> <P 0pt? 0cm><FONT face="Times New Roman">4. Double-click your raster listed under Layers so it appears in the expression box. </FONT></P> <P 0pt? 0cm><FONT face="Times New Roman">5. Click on the Evaluate button. </FONT></P> <P 0pt? 0cm> <P><FONT face="Times New Roman"></FONT></P> <p> <P 0pt? 0cm><FONT face="Times New Roman">A new raster will appear in the table of contents with the same extent as the shapefile. You may need to turn off the other layers to see the new raster.</FONT></P> <P 0pt? 0cm> <P><FONT face="Times New Roman"></FONT></P> <p> <P 0pt? 0cm><FONT face="Times New Roman">You can also do this procedure with an existing shapefile. Instead of going through the above steps to create a new shapefile, simply use the existing shapefile in the "Now clip your raster based on the shapefile" steps.</FONT></P> <P 0pt? 0cm> <P><FONT face="Times New Roman"></FONT></P> <P>网上的,不知能否用上</P> [此贴子已经被作者于2005-7-13 17:13:33编辑过]
|
|