Difference between revisions of "Main Page/Research/Fragstats"

From phurvitz
Jump to: navigation, search
(New page: __TOC__ =Making a raster from parcels= # Make a table from land use code 102 # Assign each 102 land use a general classification type ("luclass") and unique number ("lunum") # Create a sha...)
 
Line 9: Line 9:
 
# Calculate luclass="water" where MINOR="HYDR"
 
# Calculate luclass="water" where MINOR="HYDR"
 
# Calculate lunum=100 where MINOR="HYDR"
 
# Calculate lunum=100 where MINOR="HYDR"
# Convert polygon to raster, name = parcel_10m
+
# Calculate lunum=200 where lunum is null
 +
# Convert polygon to raster, name = parcel_grid_0 (intermediate)
 
#: 10 m cell = 32.808 ft
 
#: 10 m cell = 32.808 ft
 
#: field = lunum
 
#: field = lunum
# Calculate raster, make null values = 101
+
# Calculate raster, make null values = 300
#: <tt>con(isnull([parcel_10m]), 101, [parcel_10m])
+
#: <tt>con(isnull([parcel_10m]), 300, [parcel_10m])
 +
# Make permanent, "parcel_10m"

Revision as of 05:00, 3 May 2010

Making a raster from parcels

  1. Make a table from land use code 102
  2. Assign each 102 land use a general classification type ("luclass") and unique number ("lunum")
  3. Create a shape table of parcels with PIN
  4. Create a PARCEL_EXTR table with PIN and PRESENTUSE
  5. Join to create a table with fields
    shape, PIN, presentuse, luclass, lunum
  6. Calculate luclass="water" where MINOR="HYDR"
  7. Calculate lunum=100 where MINOR="HYDR"
  8. Calculate lunum=200 where lunum is null
  9. Convert polygon to raster, name = parcel_grid_0 (intermediate)
    10 m cell = 32.808 ft
    field = lunum
  10. Calculate raster, make null values = 300
    con(isnull([parcel_10m]), 300, [parcel_10m])
  11. Make permanent, "parcel_10m"