This is an unmaintained course material, please see current material at:
Data models
Resources: ESRI virtual campus
Create the folder assign2 in your preferred workspace, in the instructions below we are using C:\Users\myname\arcdata\assign2.
Include resulting maps into your report (use your judgement to decide which results to include).
Find all used tools in Toolbox Window or use Search window.
Convert Data from Raster to Raster: change resolution
Compare resampling by nearest neighbor for discrete and continuous raster maps:
File > Add Data > Add Data... select ncrast.mdb/elev_ned select ncrast.mdb/landcl96 Select 'Data Management Tools->Raster->Raster Processing->Resample' Set 'Input Raster' to 'landcl96' Set 'Output raster' to 'C:\Users\myname\arcdata\assign2\landcl_10m' Set 'Output Cell Size' to 10 Set 'Resampling Technique' to 'NEAREST' Click 'OK' Select 'Data Management Tools->Raster->Raster Processing->Resample' Set 'Input Raster' to 'elev_ned' Set 'Output raster' to 'C:\Users\myname\arcdata\assign2\ned_10m_nn' Set 'Output Cell Size' to 10 Set 'Resampling Technique' to 'NEAREST' Click 'OK'
Check the resampled elevation surface using the aspect map:
Check out a Spatial Analysis Extension license: Customize Menu->Extensions Select 'Spatial Analyst Tools->Surface->Aspect' Set 'Input Surface' to 'ned_10m_nn' Set 'Output raster' to 'C:\Users\myname\arcdata\assign2\aspect_10m_nn' Click 'OK'
Reinterpolate DEMs (continuous raster data) using bilinear and bicubic interpolation:
Select 'Data Management Tools->Raster->Raster Processing->Resample' Set 'Input Raster' to 'elev_ned' Set 'Output raster' to 'C:\Users\myname\arcdata\assign2\ned_10m_bi' Set 'Output Cell Size' to 10 Set 'Resampling Technique' to 'BILINEAR' Click 'OK' Select 'Data Managemnt Tools->Raster->Raster Processing->Resample' Set 'Input Raster' to 'elev_ned' Set 'Output raster' to 'C:\Users\myname\arcdata\assign2\ned_10m_bc' Set 'Output Cell Size' to 10 Set 'Resampling Technique' to 'CUBIC' Click 'OK'
Check the interpolated elevation surface using aspect maps:
'Spatial Analyst Tools->Surface->Aspect' Set 'Input Surface' to 'ned_10m_bi' Set 'Output raster' to 'C:\Users\myname\arcdata\assign2\aspect_10m_bi' Click 'OK' 'Spatial Analyst Tools->Surface->Aspect' Set 'Input Surface' to 'ned_10m_bc' Set 'Output raster' to 'C:\Users\myname\arcdata\assign2\aspect_10m_bc' Click 'OK'
Resampling to lower resolution (downscaling) for continuous field data:
Select 'Spatial Analyst Tools->Neighborhood->Block Statistics' Set 'Input raster' to 'elev_ned' Set 'Output raster' to 'C:\Users\myname\arcdata\assign2\el_100m_mean' Set Neighborhood' to 'Rectangle' with Height = 3 and Width = 3 (90m cells) Set Statistics type' to 'MEAN' Click 'OK'
Resampling to lower resolution (downscaling) for discrete categories:
Select 'Spatial Analyst Tools->Neighborhood->Block Statistics' Set 'Input raster' to 'landcl96' Set 'Output raster' to 'C:\Users\myname\arcdata\assign2\landcl_mode' Set Neighborhood' to 'Rectangle' with Height = 3 and Width = 3 (90m cells) Set Statistics type' to 'MAJORITY' Click 'OK'
Convert Data from Vector to Raster using a working region
Convert SW Wake subarea of geology layer to 30m raster.Select 'File->Add Data->Add Data...' Select ./ncshape.mdb/geology Select 'Conversion Tools->To Raster->Polygon To Raster' Set Input Features to '.\ncshape.mdb\geology' Set Value Field to 'GEO_NAME' Set Output Raster Dataset to 'C:\Users\myname\arcdata\assign2\rast_geo' Set Cellsize to 30 Leave the remaining fields as their defaults Click 'OK'
Adjust the working region:
Click 'Environments...' button (bottom of dialog) Under 'Processing Extent' Set the 'Extent' to 'Same as layer .\ncshape.mdb\wake_30m'
note: vector layers .\ncshape.mdb\streams and .\ncshape.mdb\swwake_10m
have the desired extent so use those if you don't have wake_30m
Click 'OK' Click 'OK' Click 'OK'
Convert SW Wake subset of streets_wake layer to 30m raster representing speed limit:
Select 'File->Add Data->Add Data...' Select ./ncshape.mdb/streets_wake Select 'Conversion Tools->To Raster->PolyLine To Raster' Set Input Features to '.\ncshape.mdb\streets_wake' Set Value Field to 'SPEED' Set Output Raster Dataset to 'C:\Users\myname\arcdata\assign2\rast_spdroads' Set Cellsize to 30 Leave the remaining fields as their defaults
Adjust the working region:
Click 'Environmnents...' button (bottom of dialog) Under 'Processing Extent' Set the 'Extent' to 'Same as layer .\ncshape.mdb\swwake_10m' Click 'OK' Click 'OK' Click 'OK'
Convert point data to raster:
Select 'Conversion Tools->To Raster->Point To Raster' Set Input Features to .\ncshape.mdb\Schools_Wake Set Value Field to 'CORECAPACI' Set Output Raster Dataset to sw_rast Set Cellsize to 200 Click 'OK'
Convert Data from Raster to Vector
File->Add Data->Add Data... Select ./ncrast.mdb/bas_50k # if raster bas_50k is floating point, convert the values to integer (check RMC on bas_50k-->Properties) Select 'Spatial Analyst->Map Algebra Type in the expression Int("bas_50k") Set Output to bas_50kint Click 'OK' Select 'Conversion Tools->From Raster->Raster To Polygon' Set Input Raster to 'bas_50kint' Set Field to 'Value' Set 'Output Polygon Features' to 'C:\Users\myname\arcdata\assign2\bas_50Kpoly.shp' Click 'OK'
Export data to format readable by other software
Export vector data to shape file:From the Catalog Tab in ArcMap: Navigate to and open: ncshape.mdb RMC roadsmajor->Data->Export->To Shapefile (single) Set Output Location to C:\Users\myname\arcdata\assign2 Set output Feature Class to 'roads_shp' Click 'OK'
Export raster data to grid ascii:
Select 'Conversion Tools->From Raster->Raster to ASCII' Set Input Raster to ncrast.mdb\landcl96 Set output ASCII to: 'C:\Users\myname\arcdata\assign2\landcl96.asc Click 'OK' Navigate to 'C:\Users\myname\arcdata\assign2\ and open landcl96.asc in NotePad Examine the contents Close landcl96.asc